Solved

Vmware 2.0 Free - Automatic Power on when system start

Posted on 2009-04-06
7
747 Views
Last Modified: 2012-05-06
Hi guys,

I install 2 Virtual Machines on Vmware Server 2.0 Free on Windows 2003, but i need turn on the vm's when system startup or shutdown when power off.

Please help :)
0
Comment
Question by:Gonzalo Becerra
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
7 Comments
 
LVL 14

Expert Comment

by:igor-1965
ID: 24077443
It is being set in individual VM - check out power options.
0
 
LVL 16

Expert Comment

by:Bryan Butler
ID: 24077495
I guess you're going to need a startup script that you put in your "windows startup".  I have one that waits till there are at least 26 processes running to start running tests this way....

& "C:\Program Files\VMware\VMware Workstation\vmrun"  -gu Tester -gp drmsncsu start "C:\Users\Bryan.DRMS\Documents\Virtual Machines\XP_Base_D2\Windows XP Professional.vmx"  

Start-Sleep 25
do {
    $numProcesses=& "C:\Program Files\VMware\VMware Workstation\vmrun" -gu Tester -gp drmsncsu ListProcessesInGuest "C:\Users\Bryan.DRMS\Documents\Virtual Machines\XP_Base_D2\Windows XP Professional.vmx" | measure-object -line

$numProcesses.Lines

    Start-Sleep 10
} until ($numProcesses.Lines -gt 26)


As far as shutting down, this might help:  http://communities.vmware.com/message/949876#949876
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 24077761
Sorry, can tell me any example? i have the Virtual Machine on D:\Virtual Machines\Win2k3.vmx and user Administrator
0
Don't Miss ATEN at InfoComm 2017!

Visit booth #2167 to see the  new ATEN VM3200 32 x 32 Modular Matrix Switch. Other highlights include the VE8950 4K HDMI Over IP Extender, VS1912 12-Port DP Video Wall Media Player  and VK2100 ATEN Control System. Register now with Free Pass Code ATEN288!

 
LVL 16

Expert Comment

by:Bryan Butler
ID: 24082513
So, to start it with powershell:

& "C:\Program Files\VMware\VMware Workstation\vmrun"  -gu <userid>-gp <password> start "D:\Virtual Machines\Win2k3.vmx"

And I guess DOS would work without the "&".  This assume you installed to the default location.  You supply your userid and pw.  Does that work for you?
0
 
LVL 1

Author Comment

by:Gonzalo Becerra
ID: 24082802
Thanks, but i have a problem when i test startup the virtual machine.
The version of Vmware is Vmware Server 2.0


Thanks for help! :=)

vmware.JPG
0
 
LVL 16

Accepted Solution

by:
Bryan Butler earned 500 total points
ID: 24131896
You can check out some samples here: http://www.vmware.com/pdf/vix160_vmrun_command.pdf
I think for server, it would be:

vmrun -T server -h <url - ex. https://www.test.com:5555/sdk -u user -p paswrd start "<file name>.vmx"

0

Featured Post

Free NetCrunch network monitor licenses!

Only on Experts-Exchange: Sign-up for a free-trial and we'll send you your permanent license!

Here is what you get: 30 Nodes | Unlimited Sensors | No Time Restrictions | Absolutely FREE!

Act now. This offer ends July 14, 2017.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this step by step tutorial with screenshots, we will show you HOW TO: Enable SSH Remote Access on a VMware vSphere Hypervisor 6.5 (ESXi 6.5). This is important if you need to enable SSH remote access for additional troubleshooting of the ESXi hos…
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
Teach the user how to install ESXi 5.5 and configure the management network System Requirements: ESXi Installation:  Management Network Configuration: Management Network Testing:
Teach the user how to install and configure the vCenter Orchestrator virtual appliance Open vSphere Web Client: Deploy vCenter Orchestrator virtual appliance OVA file: Verify vCenter Orchestrator virtual appliance boots successfully: Connect to the …

724 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question