Contents

Setting Preferences for VMware Tools

Setting Preferences for VMware Tools in a Windows Guest Operating System

To open the VMware Tools control panel, double-click the VMware Tools icon in the system tray.

If the VMware Tools icon is not displayed in the system tray, choose Start > Settings > Control Panel > VMware Tools.

Setting Options with VMware Tools

The Options tab shows miscellaneous options.

Connecting Devices with VMware Tools

The Devices tab allows you to enable or disable removable devices. Removable devices include the floppy and CD-ROM drives and the virtual network interface card.

To connect a device, check the check box next to the device. To disconnect the device, uncheck the check box next to the device.

Note: You can also set these options from the Devices menu in the virtual machine window.

Choosing Scripts for VMware Tools to Run During Power State Changes

Through VMware Tools, you can run scripts that execute when you power on, power off, suspend, resume or reset the virtual machine.

Note: The Scripts tab does not appear in a Windows 95 guest operating system, as scripts cannot be run in a Windows 95 guest operating system.

A default script for each power state is included in VMware Tools. These scripts are located in the guest operating system in C:\Program Files\VMware.

When You … This Default Script Runs
Suspend the guest operating system suspend-vm-default.bat
Resume the guest operating system resume-vm-default.bat
Power off the guest operating system poweroff-vm-default.bat
Power on the guest operating system poweron-vm-default.bat

For each power state, you can use the default script or you can substitute a script you created. In addition, you can test a script or disable the running of a script. Complete the following steps.

  1. In the Script Event list, select the power operation with which to associate the script.

  2. Do one of the following:

  3. Click Apply to save your settings.

Shrinking Virtual Disks with VMware Tools

The Shrink tab gives you access to the controls you need if you wish to shrink virtual disks to reclaim unused space in a virtual disk.

Viewing Information About VMware Tools

For general information about VMware Tools, click the About tab.

This tab contains the following information:

Setting Preferences for VMware Tools in a Linux or FreeBSD Guest Operating System

To open the VMware Tools control panel, at a command prompt, type:
vmware-toolbox &

You may run VMware Tools as root or as a normal user. To shrink virtual disks, you should run VMware Tools as root (su -).

Connecting Devices with VMware Tools

The Devices tab allows you to enable or disable removable devices. Removable devices include the floppy and CD-ROM drives and the virtual network interface card.

To connect a device, check the check box next to the device. To disconnect the device, uncheck the check box next to the device.

Note: You can also set these options from the Devices menu in the virtual machine window.

Choosing Scripts for VMware Tools to Run During Power State Changes

Through VMware Tools, you can run scripts that execute when you power on, power off, suspend, resume or reset the virtual machine.

A default script for each power operation is included in VMware Tools. These scripts are located in the guest operating system in /etc/vmware-tools.

When You … This Default Script Runs
Suspend the guest operating system suspend-vm-default
Resume the guest operating system resume-vm-default
Power off the guest operating system poweroff-vm-default
Power on the guest operating system poweron-vm-default

For each power state, you can use the default script or you can substitute a script you created. In addition, you can test a script or disable the running of a script. Complete the following steps.

  1. Select the appropriate power operation. Uncheck Use default script to suspend guest operating system, Use default script to resume guest operating system, Use default script to shut down guest operating system or Use default script to power on guest operating system.

  2. Do one of the following:

  3. Click Apply to save your settings.

Setting Options with VMware Tools

The Options tab shows one miscellaneous option.

Shrinking Virtual Disks with VMware Tools

The Shrink tab gives you access to the controls you need if you wish to shrink virtual disks to reclaim unused space in a virtual disk.

To shrink virtual disks, you should run VMware Tools as the root user (su -). This way, you ensure the whole virtual disk is shrunk. Otherwise, if you shrink the virtual disk as a non-root user, you cannot shrink the parts of the virtual disk that require root-level permissions.

Back to top

© 2001-2002 VMware, Inc. All rights reserved.