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.
- Open a command prompt or terminal in the guest operating system.
- Change to the VMware Tools installation directory.
Operating System Default Path Windows C:\Program Files\VMware\VMware Tools Linux and Solaris /usr/sbin FreeBSD /usr/local/sbin Mac OS X /Library/Application Support/VMware Tools
- Enter the command to disable the script.
utility-name script script-name disable
Option Action utility-name (On Windows) Use VMwareToolboxCmd.exe. utility-name (On Linux, Solaris, and FreeBSD) Use vmware-toolbox-cmd. script-name Use power, resume, suspend, or shutdown.
What to do next
If you disabled the script for suspending a virtual machine, repeat this procedure to disable the script for resuming, or if you disabled the script for resuming, also disable the script for suspending.