自定义登录疑难解答Troubleshooting Custom Logon

本部分重点介绍使用自定义登录时可能遇到的一些常见问题。This section highlights some common issues that you may encounter when using Custom Logon.

当启用自动登录时,设备会在从睡眠状态或休眠状态恢复时要求输入密码When automatic sign-in is enabled, the device asks for a password when resuming from sleep or hibernate

当你的设备配置为在从睡眠状态唤醒时需要密码时,会发生这种情况。This can occur when your device is configured to require a password when waking up from a sleep state.

在唤醒时禁用密码保护To disable password protection on wake up

  1. 如果在设备上启用了写入筛选器,请执行以下步骤以禁用这些筛选器,以便可以保存设置更改:If you have write filters enabled on your device, perform the following steps to disable them so that you can save setting changes:

    1. 在管理员命令提示符下,键入以下命令:At an administrator command prompt, type the following command:

      uwfmgr.exe filter disable
      
    2. 若要重新启动设备,请键入以下命令:To restart the device, type the following command:

      uwfmgr.exe restart
      
  2. Contol 面板中,搜索 "电源选项",然后单击 "电源选项" 标题。In Contol Panel, search for Power Options , and then click the Power Options heading.

  3. 在 "电源选项" 标题下,单击 "唤醒时需要密码"。Under the Power Options heading, click Require a password on wakeup.

  4. 在 "定义电源按钮并打开密码保护" 页面上,在 "唤醒时的密码保护" 下,选择 "不需要密码"。On the Define power buttons and turn on password protection page, under Password protection on wakeup, select Don’t require a password.

  5. 如果你禁用了写入筛选器,请执行以下步骤以再次启用它们:If you disabled write filters, perform the following steps to enable them again:

    1. 在管理员命令提示符下,键入以下命令:At an administrator command prompt, type the following command:

      uwfmgr.exe filter enable
      
    2. 若要重新启动设备,请键入以下命令:To restart the device, type the following command:

      uwfmgr.exe restart
      

设备在安装过程中显示黑屏The device displays a black screen during setup

HideAutoLogonUIAnimationDisabled设置设置为0 (零)。Set the HideAutoLogonUI and AnimationDisabled settings to 0 (zero). 然后,设备会在安装过程中显示默认屏幕。The device will then display a default screen during setup.

按下 Ctrl + Alt + Del 键时,设备会显示黑屏The device displays a black screen when Ctrl+Alt+Del is pressed

结合使用时, HideAutoLogonUIForceAutoLogon具有已知问题。HideAutoLogonUI andForceAutoLogon have known issues when used together. 若要避免显示黑屏,建议使用键盘筛选器来阻止此组合键。To avoid a black screen, we recommend you use Keyboard Filter to block this key combination.

当 Windows key + L 用于锁定设备时,设备将显示黑屏The device displays a black screen when Windows key + L is used to lock the device

结合使用时, HideAutoLogonUIForceAutoLogon具有已知问题。HideAutoLogonUI and ForceAutoLogon have known issues when used together. 若要避免显示黑屏,建议使用键盘筛选器来阻止此组合键。To avoid a black screen, we recommend you use Keyboard Filter to block this key combination.

打开记事本时,设备会显示黑屏、已键入任何字符和当前用户注销,或者设备已重启或设备关闭The device displays a black screen when Notepad is opened, any characters are typed and the current user signs out, or the device is rebooted, or the device is shut down

结合使用时, HideAutoLogonUIForceAutoLogon具有已知问题。HideAutoLogonUI and ForceAutoLogon have known issues when used together. 若要避免显示黑屏,建议禁用阻止关机解析器屏幕(BSDR)。To avoid a black screen, we recommend you disable the Blocked Shutdown Resolver Screen (BSDR).

警告

禁用 BSDR 屏幕后,重新启动或关闭设备会导致操作系统立即强行关闭任何正在阻止系统关闭的已打开的应用程序。When the BSDR screen is disabled, restarting or shutting down the device causes the OS to immediately force close any open applications that are blocking system shutdown. 不显示 UI,并且不向用户提供取消关闭过程的机会。No UI is displayed, and users are not given a chance to cancel the shutdown process. 如果任何打开的应用程序都有未保存的数据,这可能会导致数据丢失。This can result in lost data if any open applications have unsaved data.

设备挂起后恢复后,设备会显示黑屏The device displays a black screen when the device is suspended and then resumed

结合使用时, HideAutoLogonUIForceAutoLogon具有已知问题。HideAutoLogonUI and ForceAutoLogon have known issues when used together. 若要避免显示黑屏,建议你在唤醒时禁用密码保护。To avoid a black screen, we recommend you disable the password protection on wakeup.

在唤醒上禁用密码保护To disable password protection on wakeup

  1. 控制面板中,单击 "电源选项"。In Control Panel, click Power Options.

  2. 在 "电源选项" 项中,单击 "唤醒时需要密码"。In the Power Options item, click Require a password on wakeup.

  3. 在 "定义电源按钮并打开密码保护" 页面上,在 "唤醒时的密码保护" 下,选择 "不需要密码"。On the Define power buttons and turn on password protection page, under Password protection on wakeup, select Don’t require a password.

显示 "密码到期" 屏幕时,设备会显示黑屏The device displays a black screen when a password expiration screen is displayed

HideAutoLogonUI有一个已知问题。HideAutoLogonUI has a known issue. 若要避免黑屏,建议将密码设置为永不过期。To avoid a black screen, we recommend you set the password to never expire.

将密码设置为在单个用户帐户上永不过期To set a password to never expire on an individual user account

  1. 在设备上,使用管理员权限打开命令提示符。On your device, open a command prompt with administrator privileges.

  2. 键入以下项,将 <accountname> 替换为要从中删除密码过期的帐户的名称。Type the following, replacing <accountname> with the name of the account you want to remove the password expiration from.

    net accounts <accountname> /expires:never
    

将密码设置为在所有用户帐户上永不过期To set passwords to never expire on all user accounts

  1. 在设备上,使用管理员权限打开命令提示符。On your device, open a command prompt with administrator privileges.

  2. 键入以下Type the following

    net accounts /MaxPWAge:unlimited
    

自定义登录Custom Logon

自定义登录补充功能Complementary features to Custom Logon