Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We have Windows XP (all updates) virtual machine installed on a Windows 2008 Hyper-V server. Autologon for the virtual machine was set with TweakUI.

When the virtual machine is rebooted (in a clean manner), the autologon doesn't work. Virtual machine just stands at the user/password prompt.

Does anybody have any idea why this should be happening? In my past, I've never run into any problems with the automatic logon.

The virtual machine is not in a domain (although the Win2008 is) and has remote desktop access enabled (I don't know if that matters or not).

EDIT: I should mention before that autologon settings are correctly stored in the registry.

EDIT: The autologon user is a local (admin) user. There are not logon-related events in the event log.

EDIT: Grub put me on the right track. This is definitely not connected to the Hyper-V but just to a specific VM installation.

share|improve this question
up vote 2 down vote accepted

When you enable autologon in TweakUI the tool only changes a few registry keys. The first thing you should do is to check the registry keys

You can find a Microsoft Knowledge base article about the automatic logon here:

share|improve this answer
Agreed. Hyper-V will not have any effect on the Windows XP logon process as it only controls the running of the VM. It does sound like the automatic login settings corrupted somehow. – BinaryMisfit Feb 19 '10 at 10:22
Sorry, forgot to mention that - all autologon settings in the registry are correctly set. – gabr Feb 19 '10 at 11:56
Hmmm Do you have any entries in the system and security event log which are caused by the autologon? Are you trying to autologon with a domain user or a local user? – grub Feb 19 '10 at 12:34
No such events. Local user with administrator rights. IOW, something that I've done at least ten times before and it always worked. – gabr Feb 19 '10 at 13:26
Do you have any other windows vm on the hyper V server where you can try to activate the autologon? are there any useful error message from the hyper v server? (normally it doesnt matter if you're using a physical machine or a vm on hyper v or vmware but who knows...) – grub Feb 19 '10 at 14:13


I run "control userpasswords2" and checked "User must enter a user named and password to use this computer."


Run tweakup and set autologon.


The VM logged on automatically.

Obviously some setting was wrong but control applet managed to reset that to normal when I enabled passwords.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.