2.0

Table Of Contents
VMware, Inc. 95
Chapter 5 Installing and Using VMware Tools
Forexample,ifyouusethevirtualmachineconfigurationsettings(clickConfigureVM
intheCommandssectionofthevirtualmachineworkspace,andclickthePowertab)
andsetthePowerOffcontroltouseShutDownGuest,thenthe
poweroff-vm-defaultscriptrunswhenyouclickthePowerOffbutton
inthetoolbar.
Thisscriptcausestheguestoperatingsystemtoshutdowngracefully.Adescriptionof
eachscriptisprovidedlaterinthissection,in“HowVMwareToolsScriptsAffectPower
States”onpage 97.
Forinformationaboutcreatingacustomscript,see“CreatingScriptstoOverride
DefaultVMwareToolsScripts”
onpage 99.
Shared Folders Tab
VMwareServerdoesnotsupportthisfeature.
Shrink Tab
TheShrinktaboftheVMwareToolscontrolpanelprovidesoptionsforreclaiming
unusedspaceinavirtualdisk.Ifyourvirtualmachinecannotbeshrunk,thistab
displaysinformationexplainingwhyyoucannotshrinkyourvirtualdisks.
Shrinkingadiskisatwostepprocess:apreparationstepandthe
shrinkstep.Inthefirst
step,VMwareToolsreclaimsallunusedportionsofdiskpartitions(suchasdeleted
files)andpreparesthemforshrinking.Thissteptakesplaceintheguestoperating
system.
Theshrinkprocessisthesecondstep,andittakesplaceoutsidethevirtualmachine.
TheVMwareapplication
reducesthesizeofthediskbasedonthediskspacereclaimed
duringthepreparationstep.Ifthediskhasemptyspace,thisprocessreducesthe
amountofspacethevirtualdiskoccupiesonthehostdrive.See“ShrinkingVirtual
Disks”onpage 147.
OnUNIXguests,runVMwareToolsasthe
rootuser(su)toshrinkvirtualdisks.Ifyou
shrinkthevirtualdiskasanonrootuser,youcannotpreparetoshrinkthepartsofthe
virtualdiskthatrequirerootlevelpermissions.
About Tab
TheAbouttabdisplaysversion(buildnumber)andcopyrightinformation.In
Windowsguests,thistabalsoshowsthestatusoftheVMwareToolsservice.