Skip to content

Instantly share code, notes, and snippets.

@sinewalker
Last active September 17, 2018 03:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sinewalker/6ad84c1c5371bebc2eb7ab35b8b72aee to your computer and use it in GitHub Desktop.
Save sinewalker/6ad84c1c5371bebc2eb7ab35b8b72aee to your computer and use it in GitHub Desktop.
Disable password expiry in Windows 7
  1. Start menu > Run
  2. wmic
  3. right-click; Run as Administrator
  4. UserAccount where PasswordExpires=TRUE set PasswordExpires=FALSE
  5. press Y for each account confirmation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment