VMware Communities
vugar17
Contributor
Contributor

vmrun.exe start “Error: Unknown Error” while windows startup

I have server with several virtual servers in it. My virtual servers are installed in VMWare Workstation 10. I want to add a startup script that automatically starts-up the virtual machines as well. Please see the script below. The script works properly when I have logged on to server Host machine. However during windows-server (windows server 2008) startup (not logged on)it gives error of "Error: Unknown error". Please do not pay attention to the DHCP server restart section, it is specific to my server.

Please help.

Thank you very much.

@echo off >"C:\users\inzibatci-task\desktop\autostart_virtual_machines.txt" ( 
timeout /t 15
net stop "DHCP Server"
timeout /t 5
net start "DHCP Server"
timeout /t 5
"C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" -T ws start "E:\Virtual Machines\server-proxy-2\server-proxy-2.vmx" nogui
"C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" -T ws start "C:\Virtual Machines\server-exchange-2\Windows Server 2008 R2 x64.vmx" nogui
"C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" -T ws start "D:\Virtual Machines\server-database\Server-Database.vmx" nogui
"C:\Program Files (x86)\VMware\VMware VIX\vmrun.exe" -T ws start "E:\Virtual Machines\server-web\Server-web.vmx" nogui timeout /t 5
)
0 Kudos
0 Replies