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.

About this task


You cannot run scripts on Windows NT, Me, Windows 98, and Windows 95 guest operating systems.


On Linux, Solaris, and FreeBSD guest operating systems, to test, edit, or disable the running of a script, log in as root.


  1. Open a command prompt or terminal in the guest operating system.
  2. Change to the VMware Tools installation directory.

    Operating System

    Default Path


    C:\Program Files\VMware\VMware Tools

    Linux and Solaris




    Mac OS X

    /Library/Application Support/VMware Tools

  3. Enter the command to disable the script.
    utility-name script script-name disable



    utility-name (On Windows)

    Use VMwareToolboxCmd.exe.

    utility-name (On Linux, Solaris, and FreeBSD)

    Use vmware-toolbox-cmd.


    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.