?
Solved

Vmware 2.0 Free - Automatic Power on when system start

Posted on 2009-04-06
7
Medium Priority
?
749 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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 1500 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

Limited time offer using promo code EXPERTS30

Designed with a wealth of functionality and convenience, ATEN's new Thunderbolt™ 2 Sharing Switch takes your Thunderbolt setup to the next level. Now through September 15, 2017, Experts Exchange members get 30% off the US7220 on the ATEN USA eShop using promo code EXPERTS30.

Question has a verified solution.

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

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I show you step by step with screenshots to assist you - HOW TO: Deploy and Install the VMware vCenter Server Appliance 6.5 (VCSA 6.5), with some helpful tips along the way.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…
Suggested Courses

765 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