Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Logging on VM via command line

Status
Not open for further replies.

LikwidKirpans

Programmer
Oct 13, 2003
4
US
Hello,

Any idea how to pass a username/password to a guest os virtual machine?

This is what I am running via command line:

"C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" revertToSnapshot "C:\Virtual Machines\XP\English\VM_XP_EN.vmx" LogOnOff
"C:\Program Files (x86)\VMware\VMware Workstation\vmrun.exe" -gu Administrator -gp XX start "C:\Virtual Machines\XP\English\VM_XP_EN.vmx"

However, I still get prompted for a username and password on windows.

Thanks.
 
That would have to be setup within Windows OS. You can set it up to auto logon by editing the registry.


________________________________________
Achieving a perception of high intelligence level can only be limited by your manipulation skills of the Google algorithm!
 
Thanks Techy, I ended up implementing the auto login yesterday. I guess the username/password parameters are for running commands between the host and guest os.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top