Skip to content

Instantly share code, notes, and snippets.

@NickCraver
Created August 3, 2015 02:46
Show Gist options
  • Star 13 You must be signed in to star a gist
  • Fork 4 You must be signed in to fork a gist
  • Save NickCraver/fd5a5f853e6258e1bc42 to your computer and use it in GitHub Desktop.
Save NickCraver/fd5a5f853e6258e1bc42 to your computer and use it in GitHub Desktop.
Disable the lock screen (the one before the password prompt) in Windows 10 for faster login and not dropping the first password character.
# Disable the Lock Screen (the one before password prompt - to prevent dropping the first character)
If (-Not (Test-Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization)) {
New-Item -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows -Name Personalization | Out-Null
}
Set-ItemProperty -Path HKLM:\SOFTWARE\Policies\Microsoft\Windows\Personalization -Name NoLockScreen -Type DWord -Value 1 -Force
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment