如何在 Windows Server 2003 上禁用登录窗口
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/4526723/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to disable login window on Windows server 2003
提问by eomeroff
How to disable login window on Windows Serve 2003 startup?
如何在 Windows Server 2003 启动时禁用登录窗口?
Although there is no password required I still have to press OK or enter every time on login.
虽然不需要密码,但每次登录时我仍然必须按确定或输入。
Thanks.
谢谢。
回答by Cody Gray
To set Windows Server 2003 to automatically log on, perform the following steps:
要将 Windows Server 2003 设置为自动登录,请执行以下步骤:
Ensure that you are logged in with administrative privileges.
Open the Registry Editor (Start -> Run -> "regedt32.exe")
Navigate to the following subkey:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
Double-click on the
DefaultUserName
entry, type your user name, and click OK. (If relevant for your network configuration, make sure that you set theDefaultDomain
entry as well.)Double-click on the
DefaultPassword
entry, type your password, and click OK. (If theDefaultPassword
value does not exist, you need to create it in order for this to work.)Add a new
REG_SZ
value (Edit -> New -> String Value).Type
AutoAdminLogon
and press EnterDouble-click on the
AutoAdminLogon
value that you just added.In the "Edit String" dialog box, type
1
and click OK.Quit the Registry Editor.
Restart your computer. You should now be logged on automatically to the account that you specified.
确保您使用管理权限登录。
打开注册表编辑器(开始 -> 运行 -> “regedt32.exe”)
导航到以下子项:
HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
双击该
DefaultUserName
条目,键入您的用户名,然后单击“确定”。(如果与您的网络配置相关,请确保您也设置了该DefaultDomain
条目。)双击该
DefaultPassword
条目,键入您的密码,然后单击“确定”。(如果该DefaultPassword
值不存在,您需要创建它才能使其工作。)添加一个新
REG_SZ
值(编辑 -> 新建 -> 字符串值)。输入
AutoAdminLogon
并按下Enter双击
AutoAdminLogon
您刚刚添加的值。在“编辑字符串”对话框中,键入
1
并单击“确定”。退出注册表编辑器。
重启你的电脑。您现在应该会自动登录到您指定的帐户。
If for whatever reason you need to bypass this automatic log-on and log in as a different user, you can hold down the Shiftkey as you log off.
如果出于某种原因需要绕过此自动登录并以其他用户身份登录,则可以在Shift注销时按住该键。