Auto-logon in a Hyper-V virtual machine doesn’t work

automationhyper-vwindows-xp

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.

Best Answer

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: http://support.microsoft.com/kb/315231