Server 2012核心(无GUI)自动login

我正尝试在Windows Server 2012 Core(无GUI)中启用自动login。 我遵循了多年来一直遵循的说明,在此Microsoft支持知识库中有详细说明,但是自动login不起作用。

它适用于带有GUI的Server 2012,但不适用于Core。

对于好奇心:我启用自动login,这节省了我的时间,这是我的实验室,并孤立,所以我不必担心安全。

您可以随时使用命令行并添加以下registry项:

HKLM\Software\Microsoft\Windows NT\CurrentVersion\winlogon 

创build以下按键:

 AutoAdminLogon = 1 DefaultUsername = currentUserName DefaultPassword = currentPassword 

您可以使用Sysinternals的Autologon工具http://technet.microsoft.com/en-us/sysinternals/bb963905 – 或直接链接: http : //live.sysinternals.com/Autologon.exe

testingHyper-V服务器核心2012 R2(RTM)

打开cmd或PowerShell并input: control userpasswords2

selectpipe理员密码,就是这样。