Specifications
Administration Guide
162 VMware, Inc.
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,!or!resume!the!virtual!machine.!
Figure 4-6. VMware Tools Properties: Scripts tab
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.
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.!
To configure which scripts run
1In!the!Script!Event!list,!select!the!power!operation!with!which!to!associate!the!
script.
2Do!one!of!the!following:
! To!select!a!different!script,!click!Custom!Script!and!click!Browse!to!select!the!
new!script.
Table 4-1. Power state default scripts
When You … This Default Script Runs
Suspend!the!guest !operating!system suspend‐vm‐default.bat
Resume!the!guest!operating!system resume‐vm‐default.bat
Shut!down!the!guest!operating!system poweroff‐vm‐default.bat
Power!on!the!guest!operating!system poweron‐vm‐default.bat