| Windows 7: Automatically Start Virtual PC on Logon |
24 Sep 2009
|
#1 | | |
Automatically Start Virtual PC on Logon Hello all. Great site. I am kinda addicted to it for the last few day
I a machine with Win 7 (Utlimate) with several users (lets call them A,BC..) .
I have installed MS Virtual PC on it and have 3 Virtual Machines (all Win 7s - lets call them X,Y and Z).
I want to know is it possible that if User A logons on, VPC X gets fired automatically, if User B logons, VPC Z gets fired?
Thank You | My System Specs |
| |
24 Sep 2009
|
#2 | | Windows 7 x86/x64, Server 2008r2, Web Server 2008 |
For a setup like your wanting I will have to recommend one of two thing, adding it to the users start up folder, or using vmware server (its free too). With vmware server there is a setting for launch on startup. | My System Specs | | System Manufacturer/Model Number SMN-Productions OS Windows 7 x86/x64, Server 2008r2, Web Server 2008 CPU i7 v2 3930K Steping stone 2 Motherboard ASUS Rampage IV Extreme Memory G.SKILL Ripjaws Z Series 32GB Graphics Card AMD HD 5770 Monitor(s) Displays Acer 21" and Samsung 20" Keyboard Black Widow Ultimate PSU 1000 Watt Case HAF-X Cooling 4 Fans Hard Drives Patriot Pyro 80GB |
30 Jan 2010
|
#3 | | |
I'm looking for something similar. I want to have a VM running at all times and not have to log in after a reboot to kick it off. Something I was able to do in Vista.
I now have a vbscript that launches the VM headless. The scripts runs fine when launched manually.
I've tried running the VBscript from a windows service, but get a security error about dcom Local activation permissions. I would fix this in component services, but vpc settings are grayed out.
I thought going to 7 would make life easier.
Does vmware run Windows Virtual Machines? | My System Specs | | |
30 Jan 2010
|
#4 | | W7 X-64 RTM,SUSE 11.1, XP PRO SP3 as a VM, VMware ESXi Hafnarfjörður IS |
Hi there
The BEST way for running VM's (Please note here I'm not talking about XP MODE HERE) is to use something like VMWARE server (FREE).
You can then have the VM's start automatically in the Background at boot (and shutdown).
The nice thing about this is that a USER can log directly on to a VM WITHOUT having to have an account on the HOST machine. (Needs an account on the VM of course). -- This is a great way of say running a Webserver - on the Virtual machine.
What's even better if your VM's are SEVERS as well then your users can log directly on to the application (for example ORACLE / SAP (etc etc) without even needing an account on the VM either.
If there's enough people who are interested I'll try and make a tutorial on how to set this up.
Cheers
jimbo | My System Specs | | System Manufacturer/Model Number Custom built OS W7 X-64 RTM,SUSE 11.1, XP PRO SP3 as a VM, VMware ESXi CPU Q9400 QUAD Motherboard P5QL-CM Memory 8GB Graphics Card On Motherborad Sound Card Realtek HD audio Monitor(s) Displays Apple Cinema display Mouse Toshiba wireless laser Hard Drives 4 X 1TB SATA Internet Speed > 20MB up |
30 Jan 2010
|
#5 | | |
Will VMWARE run WVPC VMs? Or will i have to go through the entire install and configuration process for a new VM.. cause that would be a deal breaker for me now.
Here's where I'm at. I have a Windows Service set to start automatic delayed that now runs my VM if I kick it off the service or I happen to be on when the Service is run (playing with delays etc.)
But If I reboot the desktop and don't log on, the service and vbscript never get passed the Startup step. No event log errors (service reports it started), just never completes the script. Where might I find any logs on WVPC. Looking into error handling/reporting in VBS now. Suspect the Script just hangs trying to find the VM.
Does this make any sense?
On my Vista Machine and the prior release of MS Virtual PC I had a web service starting the VM from a command line script that never gave me problems. BTW, in that environment the VM would load in the background (headless) and I would only access it with RDP, from the host box or external client.
I've now pumped about 6 hours into this interesting change of events.
I'm running Windows 7 x64 pro.
Thank you. | My System Specs | | |
08 Feb 2010
|
#6 | | Windows 7 x86/x64, Server 2008r2, Web Server 2008 |
WVPC???
I have to ask what does that stand for?
Google pulls up a church.
If your asking if it will run VM's created in Virtual PC yes. May take a little reconfiguration but it will run them. (To the best of my knowledge it will at least) | My System Specs | | System Manufacturer/Model Number SMN-Productions OS Windows 7 x86/x64, Server 2008r2, Web Server 2008 CPU i7 v2 3930K Steping stone 2 Motherboard ASUS Rampage IV Extreme Memory G.SKILL Ripjaws Z Series 32GB Graphics Card AMD HD 5770 Monitor(s) Displays Acer 21" and Samsung 20" Keyboard Black Widow Ultimate PSU 1000 Watt Case HAF-X Cooling 4 Fans Hard Drives Patriot Pyro 80GB |
10 Sep 2010
|
#7 | | |

Quote: Originally Posted by jimbo45 Hi there
The BEST way for running VM's (Please note here I'm not talking about XP MODE HERE) is to use something like VMWARE server (FREE).
You can then have the VM's start automatically in the Background at boot (and shutdown).
The nice thing about this is that a USER can log directly on to a VM WITHOUT having to have an account on the HOST machine. (Needs an account on the VM of course). -- This is a great way of say running a Webserver - on the Virtual machine.
What's even better if your VM's are SEVERS as well then your users can log directly on to the application (for example ORACLE / SAP (etc etc) without even needing an account on the VM either.
If there's enough people who are interested I'll try and make a tutorial on how to set this up.
Cheers
jimbo I know this topic is quite a few months old, but i've been searching for a while and can't find how to log into a guest virtual machine before logging into the host machine. How do you log directly into a VM without having an account on the host machine?
Basically what I want to do is have vmware server start at boot up and have a user log directly into a virtual machine without ever having to log into the host. Is this possible and how do I do this. I've seen where you can mount a vhd at boot up so you boot directly to that, but that's not exactly what i'm looking for.
Any help would be much appreciated, thanks. : ) | My System Specs | | OS Windows 7 ultimate x64 |
10 Sep 2010
|
#8 | | Windows 7 Ultimate x64 SP1 |
What you could do is within the Virtual Machine, set it up to login automatically to Windows. You can go to Start --> Run (within the Virtual Machine's guest OS) and type in "control userpasswords2" and click "OK". After that, uncheck the box that says "Users must enter a user name and password to use this computer" and then click OK again and it will have you enter an account name and password to use for automatic logon to that Virtual Machine.
With that set, just set VMware Server to start-up automatically and the VM should be logged in automatically. | My System Specs | | OS Windows 7 Ultimate x64 SP1 CPU Intel Core i3 530 2.93 Ghz Clarkdale Motherboard ASRock P55 PRO/USB3 LGA 1156 Memory 4 GB OCZ DDR3 1600 (PC12800) Low Voltage Desktop Memory Graphics Card Nvidia GeForce GTX 550 Ti with 1 GB of RAM Sound Card Realtek HD ALC892 Monitor(s) Displays 20'' eMachines E202HDbmd Glare Panel Widescreen Screen Resolution 1600 x 900 Keyboard Microsoft Wireless Optical Desktop Elite Mouse Microsoft Wireless Optical Desktop Elite PSU Rosewill Xtreme Series RX750-D-B ATX12V v2.2 & EPS12V (750W) Case Cooler Master Centurion 534 RC-534-KKN2-GP Mid-Tower Cooling Standard Case Fans and Stock CPU Heatsink Hard Drives Western Digital 1 TB Caviar Black Edition (7200 RPM) SATA
Hitachi Deskstar 500 GB (7200 RPM) SATA
Samsung SpinPoint 400 GB (7200 RPM) SATA Internet Speed 7.1 Mbps Verizon DSL |
29 Oct 2011
|
#9 | | Win 7 Home Premium x64 Tampa |

Quote: Originally Posted by cyberpine I'm looking for something similar. I want to have a VM running at all times and not have to log in after a reboot to kick it off. Something I was able to do in Vista.
I now have a vbscript that launches the VM headless. The scripts runs fine when launched manually.
I've tried running the VBscript from a windows service, but get a security error about dcom Local activation permissions. I would fix this in component services, but vpc settings are grayed out.
I thought going to 7 would make life easier.
Does vmware run Windows Virtual Machines?
cyberpine, the only two best options to run a VM automatically and in the background is through using VMWare Server or Microsoft Hyper-V. There are others, but those two are the two most widely used products. I recommend Hyper-V, but it is not currently available to install on a Windows client OS. Hyper-V will be made available to Windows 8 when it releases sometime next year, so if you wanted to sit tight with 7 and VMWare, I'd recommend it. If you ever decide to purchase a Windows 8 upgrade for the specific edition that supports allowing Hyper-V to be installed - which will most likely be Professional, Ultimate, or Business only (however they choose to name the editions, if any), I recommend using something like CloneZilla to clone the VM to a file, and then restore to a new VM in Hyper-V. | My System Specs | | System Manufacturer/Model Number Whitebox OS Win 7 Home Premium x64 CPU Intel Core i5 750 Motherboard Gigabyte P55-UD3L Memory G.Skill DDR3 2 GB Graphics Card XFX Nvidia GeForce 9800 GT Sound Card Soundblaster Audigy SE Monitor(s) Displays HANNS-G HW191D Screen Resolution 1440x900 Keyboard Logitech Internet Keyboard Mouse Logitech LX7; Logitech Marble Mouse PSU Thermaltake 430w PSU Case NZXT Beta Cooling Arctic Cooling Freezer 7 Pro Hard Drives WDC Black 1TB Internet Speed Brighthouse - 10M down, 1M up. |
22 Dec 2011
|
#10 | | |
VM server Jimbo45 did you ever start a tutorial on how to set up the VM Server you mentioned? | My System Specs | | Automatically Start Virtual PC on Logon problems? All times are GMT -5. The time now is 09:04 PM. | |