VMware

This Question is Not Answered

1 "correct" answer available (10 pts) 2 "helpful" answers available (6 pts)
3 Replies Last post: Nov 9, 2009 10:37 PM by michal zobec  

"Invalid user name or password for the guest OS" error in vmrun runProgramInGuest Operation posted: Nov 7, 2009 6:32 PM

Click to view michal zobec's profile Novice 8 posts since
Mar 17, 2005

Hi all,

i have this script

"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws revertToSnapshot "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" "testovani instalace 3"
"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws start "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx"
"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws -gu user -gp aaaa copyFileFromHostToGuest "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" E:\lgo\software\tes4-oblivion-isles\_actual\Output\lgooblivionshiveringislesczech100.exe c:\temp\lgooblivionshiveringislesczech100.exe
"%ProgramFiles(x86)%\vmware\VMware VIX\vmrun.exe" -T ws -gu user -gp aaaa runProgramInGuest "C:\_virtual-machines\vmware virtual machines\windows xp hry\windows xp hry.vmx" -activeWindow -interactive c:\temp\lgooblivionshiveringislesczech100.exe /silent

all operations is ok but last operation is write this error message: Invalid user name or password for the guest OS

i am not understand this. if you see for console output:

E:\lgo\software\tes4-oblivion-isles\_actual>"C:\Program Files (x86)\vmware\VMware VIX\vmrun.exe" -T ws
+ -gu user -gp aaaa copyFileFromHostToGuest "C:\_virtual-machines\vmware virtual machines\windows+
+ xp hry\windows xp hry.vmx" E:\lgo\software\tes4-oblivion-isles\_actual\Output\lgooblivionshiveringisl+
esczech100.exe c:\temp\lgooblivionshiveringislesczech100.exe

E:\lgo\software\tes4-oblivion-isles\_actual>"C:\Program Files (x86)\vmware\VMware VIX\vmrun.exe" -T ws
+ -gu user -gp aaaa runProgramInGuest "C:\_virtual-machines\vmware virtual machines\windows xp hr+
y\windows xp hry.vmx" -activeWindow -interactive c:\temp\lgooblivionshiveringislesczech100.exe /silent

Error: Invalid user name or password for the guest OS

first guest operation is run ok and second with same username and password not run for username and password problems :(

host: windows vista ultimate english x64 sp2
guest: windows xp professional sp3
vmproduct: vmware workstation 7 rtm

Any idea for this problem?
thanks for any help

michal zobec

Click to view rkreitz's profile Novice 19 posts since
Feb 21, 2006

Michal,

I run into this fairly frequently. As a workaround, I reboot the guest when I detect the error string and then resubmit the run request.

Thanks,

-Randy

Click to view mattrich's profile Expert 510 posts since
Nov 29, 2006
Please make sure you have that latest version of Tools installed in this guest. You may want to do a full un-install and re-install to confirm this.

Doing a 'runProgramInGuest' with the interactive flag send the command to a different process in the guest than other commands normally use. This functionality was added more recently (Workstation 6.5) than the normal approach (without the interactive flag), and partial updates to the Tools can result in sub-optimal errors to be reported.

Also, have you tried running the program without the "interactive" flag? This is usually only needed with Vista or later guests.

Developer Social Media

Communities