2.0

Table Of Contents
VMware Server User’s Guide
100 VMware, Inc.
3Associateeachcustomscriptwithitsparticularpoweroperation:
aOntheScriptstaboftheVMwareToolscontrolpanel,selecttheappropriate
scriptevent.
b SelecttheUseScriptcheckbox,selectCustomscript,andusetheBrowse
buttontopointtothescriptthatyouwanttouse.
cClickOK.
Whenyou
reinstallVMwareToolsafteryouupdatetheVMwareServersoftware,any
changesthatyoumadetothedefaultscriptsareoverwritten.Anycustomscriptsthat
youcreatedremainuntouched,butdonotbenefitfromanyunderlyingchangesthat
enhancethedefaultscripts.
Running or Disabling a Script
Ifyouare creatingacustomscript,runthescriptbeforeassociatingitwithapower
operation.
To run or disable a script
1OntheScriptstaboftheVMwareToolscontrolpanel,selecttheappropriatescript
event.
2Dooneofthefollowing:
Todisablethescript,cleartheUseScriptcheckboxandclickOK.
Defaultscriptsforsuspendingandresumingworktogether.Ifyoudisablethe
scriptofoneoftheseactions,disablethescriptfortheotheractionaswell.
Torunascriptimmediately,clickRunNow.
YoucansuccessfullyrunascriptbyclickingtheRunNowbuttoninthe
VMwareToolscontrolpanel,butthissamescriptcanfailwhenrunaspartof
aVMwareServerpoweroperation.ThisisbecausescriptsrunbyclickingRun
Now
arerunastheloggedinuserandhaveadifferentworkingdirectorythan
whenscriptsarerunbytheVMwareToolsdaemon duringapoweroperation.