• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3633
  • Last Modified:

Ability to run VMware Player automatically at bootup

Hello -
I have a Windows 7 computer and I have installed VMware Player v3.01 that is running XP.  I have a couple of applications installed in XP that work great when I enter unity.  What I would like to do is when I boot up Windows 7 to automatically start the VMware player along with the XP virtual computer and enter unity all at the same time without any interaction from the user.  Can this be done with a script or a batch file or any other way?  Thank you!
0
MO_ITSD
Asked:
MO_ITSD
  • 5
  • 5
  • 2
  • +3
2 Solutions
 
alexbumbaceaCommented:
this is not possible with the player. I advise you to try vmware server or esxi(for the last one you need a dedicated machine).

BTW: both solutions are free. Also ESXi have a payed version -> ESX
0
 
Bryan ButlerCommented:
I'm not sure what "enter unity" means.  Starting a VM at boot can be done by putting this command in somewhere at startup.  VMRUN is the command.

& "C:\Program Files\VMware\VMware Workstation\vmrun"  -gu <userid> -gp <password> start "C:\Users\Windows XP Professional.vmx"  
0
 
Bryan ButlerCommented:
And to start a program:

& "C:\Program Files\VMware\VMware Workstation\vmrun" -gu Tester -gp drmsncsu runProgramInGuest "C:\Users\Bryan.DRMS\Documents\Virtual Machines\VM177VistaBizBase\Windows Vista.vmx" C:\PCDART\herdmgr.exe

& "C:\Program Files\VMware\VMware Workstation\vmrun"  -gu <userid> -gp <password> runProgramInGuest "C:\Users\Windows XP Professional.vmx"  <program to run>
0
[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

 
TauranceCommented:
You can place the vmx file in your start up folder and this will auto open it I am still looking into the auto unity mode for you.
0
 
MO_ITSDAuthor Commented:
Thank you everyone.  I have to leave for the day and I will check these out tomorrom
0
 
Gary CaseRetiredCommented:
r.e. "...  start the VMware player along with the XP virtual computer  ...  ==>  If the the "XP virtual computer" you mean Windows 7's XP Mode, then you most likely can't do this.    Unless you have VMWare configured to NOT use hardware virtualization, you cannot run both XP Mode and VMWare Player at the same time.    You could run either one ... but not both.

If, however, you're simply referring to the XP virtual computer within VMWare, then yes, you can simply add the VMWare Player to your Startup folder; set it to run maximized; and it will automatically load on boot.

0
 
senadCommented:
Use scheduler ...
0
 
MO_ITSDAuthor Commented:
All of these are helpful but none of them show me how to start Unity automatically when the VM starts up.  
0
 
Gary CaseRetiredCommented:
You simply have to put Unity in the Startup folder for the virtual machine.

i.e. add VMWare player to the Startup folder of the HOST operating system;  and within that virtual machine add Unity to the Startup folder.
0
 
MO_ITSDAuthor Commented:
Garycase - Is there a file that links to unity?  The only option that I see is to open the VM and start Unity from there by clicking on it.  
0
 
Gary CaseRetiredCommented:
When you "... start Unity from there by clicking on it ..." you're clicking on a shorcut.

Copy that shortcut to your Startup folder in the VM  => i.e. in the VM go to Start - All Programs - Startup  ... right-click and select "Explore".


Then drag the Unity shortcut to that folder.

... Unity should now start automatically when you "boot" the virtual machine.
0
 
MO_ITSDAuthor Commented:
GaryCase - TO Enter into Unity I have to go to a menu and then click on it to enable it.  There is no shortcut.  I went to the program folder and could not locate any file that would enter the VM into unity.
0
 
Gary CaseRetiredCommented:
When you refer to Unity are you referring to the Unity 3D development tool (which is easy to invoke via Start->Programs->Unity & can easily be used as a shortcut in the Startup folder);   the Microsoft unity application container (which would likely require you to register an XML extension to automatically invoke it -- something I can't help you with);  or something else (if so, please provide a link to the product)?


0
 
MO_ITSDAuthor Commented:
Here is the VMWare Player that I am referring to.  Thanks!

http://www.vmware.com/products/player/ 
0
 
Gary CaseRetiredCommented:
Is the issue that you can't get the VM to start automatically ... or that it's not entering Unity mode after it's started?

Have you set unity mode in the VMWare settings for the virtual machine in question?
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 5
  • 2
  • +3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now