5.0

Table Of Contents
VMware, Inc. 27
Chapter 2 Capturing Applications
3Usethisstringasthevirtualmachineconfigurationfilepath.
ForWorkstation,specifytheentirefilepathonthehostonwhichtheVMXconfigurationfileresides.For
example,C:\MyVMs\Windows XP\WindowsXP.vmx.Donotplacethepathinquotationmarks,evenifthepath
containsaspace.
UserName
Avalidusernamefor
thevirtualmachineguestoperatingsystem.Theusermusthaveadministrator
privilegesforthevirtualmachineguestoperatingsystem.
YoucanuseUPNformatwhenyouspecifyausername.Forexample,user@domain.com.
PasswordorPasswordBase64
Avalidpasswordforthevirtualmachineguestoperatingsystem.Youhavethefollowingoptionswhen
you
specifypasswords:
Youcanentercleartext.
Youcanspecifyabase64encodedpasswordforthePasswordBase64parameter.
Specifyinganencodedpassworddoesnotincreasesecuritystrength.YouneedtoprotecttheactualINI
file.
Allpasswordsarehandledinthesameway.
IfthePasswordsettingisnotused,thepasswordfortheguestisassumedtobe
blank.MostWindowsvirtual
machinesdonotsupportautomationwithemptypasswords,soyoushouldspecifyaguestpassword.
PasswordPrompt
Specifiesthattheuserbepromptedtoenterapassword.
Ifyoudonotwanttostorethevirtualmachinepasswordintheconfigurationfile,specifythevalueastrue.
Whenset
totrue,apromptalwaysappears,evenifapasswordisspecifiedintheconfigurationfile.
Examples
FollowingisanexampleforanESXserverbasedenvironment.Apasswordhasbeenspecifiedand,as
PasswordPromptissettofalse,theuserwillnotbepromptedtoenterapassword.
[VirtualMachine1]
VmxPath=[Storage] WinXP_Converter/WinXP_Converter.vmx
UserName=administrator
Password=secret
PasswordPrompt=false
FollowingisanexampleforaVMwareWorkstationbasedvirtualmachine.Onvirtualmachine1,
PasswordPrompthasbeensettotrue.Theuserwillbepromptedforapasswordeventhoughapasswordhas
beenspecifiedintheconfiguration.
[VirtualMachine1]
VmxPath=C:\MyVMs\Windows XP\Windows XP.vmx
UserName=administrator
Password=secret
PasswordPrompt=true
[VirtualMachine2]
VmxPath=C:\MyVMs\Windows 7\Windows 7.vmx
UserName=adminuser@mydomain.com
Password=
PasswordPrompt=true
NOTEDonotplacethepathinquotationmarks,evenifthepathcontainsaspace.