Windows 7 Forums

Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Automatically Start Virtual PC on Logon

24 Sep 2009   #1
zzingy

Win 7
 
 
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 SpecsSystem Spec
.
24 Sep 2009   #2
mckillwashere

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 SpecsSystem Spec
30 Jan 2010   #3
cyberpine

Windows 7
 
 

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 SpecsSystem Spec
.

30 Jan 2010   #4
jimbo45

Linux CENTOS 7 / various Windows OS'es and servers
 
 

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 SpecsSystem Spec
30 Jan 2010   #5
cyberpine

Windows 7
 
 

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 SpecsSystem Spec
08 Feb 2010   #6
mckillwashere

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 SpecsSystem Spec
10 Sep 2010   #7
Psycs

Windows 7 ultimate x64
 
 

Quote   Quote: Originally Posted by jimbo45 View Post
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 SpecsSystem Spec
10 Sep 2010   #8
Darician

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 SpecsSystem Spec
29 Oct 2011   #9
jcaum

Win 7 Home Premium x64
 
 

Quote   Quote: Originally Posted by cyberpine View Post
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 SpecsSystem Spec
22 Dec 2011   #10
jcast1008

windowx xp
 
 
VM server

Jimbo45 did you ever start a tutorial on how to set up the VM Server you mentioned?
My System SpecsSystem Spec
Reply

 Automatically Start Virtual PC on Logon




Thread Tools




Similar help and support threads
Thread Forum
Windows 7 sometimes logon the user automatically - Spyware
I have a windows 7 that sometimes logon the user automatically. I checked the registry and also the settings that require the user to: Must Enter A User Name And Password To Use This Computer check box (is checked). the computer is win 7 pro 64 and the user is in the admin group. is this a...
General Discussion
Logon Wallpaper - automatically change w/ every logon
My method for automatically changing the Windows 7 logon/logoff wallpaper with every logon. Step 1: Use one of the many guides on the web to enable custom/oem logon wallpaper, such as Brink's: http://www.sevenforums.com/tutorials/5382-log-screen-change.html Step 2: Copy whatever JPEG...
Customization
Can I force a user to log off automatically through a logon script?
Hi there I've trying to invoke a fix on the fly and have got a mixed windows workstation environment on my network. For particular reasons, I don't want my windows XP users to use a Windows 7 machine and equally I don't want a Windows 7 user to use a Windows XP machine. Silly I know but there...
Network & Sharing
Can I retrieve files on virtual machine even if cannot start Virtual
I installed Windows XP mode on my PC 14 months ago. Everything was working fine . One dayabout 6 months ago, I could not start my virtual machine. I stupidly reinstalled XP mode. Result I lost all my files of the programs running in XP (autosketch). My installation allowed me to reinstall...
Virtualization
how to start a service automatically on windows 7 Logoff then Logon
Hi all, I have created a service for my application, which is running on Windows7 and windows xp. Problem:- When ever I logoff my system and Logon again the service is automatic starting in windows XP but it is not automatically start on windows 7.What it's root cause.I am not getting...
Software
Cant start virtual machine in Virtual PC..
Hi!! This is my first post on this forum so I hope someone will help me with this issue I have. It seems that I cant/dont know how to start virtual machine.I always get this error : http://i36.tinypic.com/27yyiis.jpg I created VM in a sme way as tutorial on this forum says to the...
Virtualization


Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd

All times are GMT -5. The time now is 17:55.

Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App