


Just hit Windows key + L to lock your PC and hit Enter or swipe up for the login screen.

You don’t need to log out or restart your system for it to take effect. You’ll need to create a new key and name it shutdownwithoutlogon and set the Value to 1 if you want the button to display or 0 if you don’t want it on the login screen. Then head to the following path: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System Hit the Windows key and type: regedit and hit Enter. Before making any changes to the Registry, make sure to do a full system backup or create a System Restore Point at the very least.

Locate the Manage auditing and security log policy and double-click it. On the right, double-click the User Rights Assignment policy.
