Holding Shift key while shutting down or logging off may not disable automatic logon
This article helps resolve an issue where you can't disable automatic logon by holding the Shift key while shutting down or logging off from a computer.
Applies to: Windows 10 – all editions
Original KB number: 2840544
Consider the following scenario:
- You connect a USB keyboard to a computer that is running Windows.
- Automatic logon is enabled.
To enable automatic logon, set the AutoAdminLogon registry value to 1 by using Registry Editor. For more information, see the More information section at the end of this KB article.
- You log off from the computer to log on with a different user account, holding down the Shift key on the USB keyboard after logging off to override the automatic logon setting.
In this scenario, the Secure Attention Sequence (logon) dialog box doesn't appear.
To resolve this issue, be sure to hold down the Shift key before choosing to log off or restart the system. Alternatively, you can try pressing the Shift key multiple times.
For more information about how to enable automatic logon in Windows, click the following article number to view the article in the Microsoft Knowledge Base:
310584 How to enable automatic logon in Windows