September 2012

Table Of Contents
On Windows guest operating systems, the default scripts are located in the Program Files\VMware\VMware
Tools folder.
IMPORTANT You cannot run scripts on Windows NT, Me, Windows 98, and Windows 95 guest operating
systems.
n
On most Linux, Mac OS X, Solaris, and FreeBSD guest operating systems, the default script that runs when
you suspend a virtual machine stops networking for the virtual machine. The default script that runs when
you resume a virtual machine starts networking for the virtual machine. Scripts cannot be run on NetWare
guest operating systems.
On Linux, Solaris, and FreeBSD guest operating systems, the default scripts are located in the /etc/vmware-
tools directory. On Mac OS X operating systems the default scripts are located in
the /Library/Application Support/VMware Tools directory.
Table 4-1. Default VMware Tools Scripts
Script Name Description
poweroff-vm-default
This script runs when the virtual machine is being powered
off or reset.
This script has no effect on networking for the virtual
machine.
poweron-vm-default
This script runs when the virtual machine is being powered
on rather than resumed.
This script also runs after virtual machine restarts.
This script has no effect on networking for the virtual
machine.
resume-vm-default
This script runs when the virtual machine is resumed after it
was suspended.
On Windows guest operating systems, if the virtual machine
is configured to use DHCP, this script renews the IP address
of the virtual machine.
On Linux, Mac OS X, Solaris, and FreeBSD guest operating
systems, this script starts networking for the virtual machine.
suspend-vm-default
This script runs when the virtual machine is being
suspended.
On Windows guest operating systems, if the virtual machine
is configured to use DHCP, this script releases the IP address
of the virtual machine.
On Linux, Mac OS X, Solaris, and FreeBSD , this script stops
networking for the virtual machine.
For information about how to configure various power operations, see the documentation for the specific
VMware product you are using.
Disable a VMware Tools Script
Default scripts for suspending and resuming a virtual machine are written to work together. If you disable the
script for one of these actions, you must disable the script for the other action as well.
IMPORTANT You cannot run scripts on Windows NT, Me, Windows 98, and Windows 95 guest operating
systems.
Prerequisites
On Linux, Solaris, and FreeBSD guest operating systems, to test, edit, or disable the running of a script, log in
as root.
Chapter 4 Using the VMware Tools Configuration Utility
VMware, Inc. 39