如何在 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

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 15:51:04  来源:igfitidea点击:

How to disable login window on Windows server 2003

windowswindows-server-2003administration

提问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 设置为自动登录,请执行以下步骤:

  1. Ensure that you are logged in with administrative privileges.

  2. Open the Registry Editor (Start -> Run -> "regedt32.exe")

  3. Navigate to the following subkey:

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    
  4. Double-click on the DefaultUserNameentry, type your user name, and click OK. (If relevant for your network configuration, make sure that you set the DefaultDomainentry as well.)

  5. Double-click on the DefaultPasswordentry, type your password, and click OK. (If the DefaultPasswordvalue does not exist, you need to create it in order for this to work.)

  6. Add a new REG_SZvalue (Edit -> New -> String Value).

  7. Type AutoAdminLogonand press Enter

  8. Double-click on the AutoAdminLogonvalue that you just added.

  9. In the "Edit String" dialog box, type 1and click OK.

  10. Quit the Registry Editor.

  11. Restart your computer. You should now be logged on automatically to the account that you specified.

  1. 确保您使用管理权限登录。

  2. 打开注册表编辑器(开始 -> 运行 -> “regedt32.exe”)

  3. 导航到以下子项:

    HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon
    
  4. 双击该DefaultUserName条目,键入您的用户名,然后单击“确定”。(如果与您的网络配置相关,请确保您也设置了该DefaultDomain条目。)

  5. 双击该DefaultPassword条目,键入您的密码,然后单击“确定”。(如果该DefaultPassword值不存在,您需要创建它才能使其工作。)

  6. 添加一个新REG_SZ值(编辑 -> 新建 -> 字符串值)。

  7. 输入AutoAdminLogon并按下Enter

  8. 双击AutoAdminLogon您刚刚添加的值。

  9. 在“编辑字符串”对话框中,键入1并单击“确定”。

  10. 退出注册表编辑器。

  11. 重启你的电脑。您现在应该会自动登录到您指定的帐户。

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注销时按住该键。