The default scripts for suspending and resuming a virtual machine are interdependent. If you disable the script for one of these actions, you must also disable the script for the other action.

Prerequisites

Log in as root on Linux, Solaris, and FreeBSD guest operating systems, to test, edit, or disable a script.
Note: You cannot run scripts on NetWare, Windows NT, Me, Windows 98, and Windows 95 guest operating systems.

Procedure

  1. Open a command prompt or terminal in the guest operating system.
  2. 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
  3. Type 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.
    utility-name On MAC OS Use vmware-tools-cli.
    script-name Use power, resume, suspend, or shutdown.
  4. (Optional) If you disabled the script for suspending a virtual machine, repeat this procedure for resuming the virtual machine.
  5. (Optional) If you disabled the script for resuming a virtual machine, also disable the script for suspending the virtual machine.