Skip to content

Instantly share code, notes, and snippets.

@wormeyman
Last active August 29, 2015 14:07
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 wormeyman/d4fff00ccf57713fabbc to your computer and use it in GitHub Desktop.
Save wormeyman/d4fff00ccf57713fabbc to your computer and use it in GitHub Desktop.
Enable Local Administrator account on Vista/7/8/10
# Run this command in an elevated (PowerShell) prompt.
# You may have to run the commands in reverse order.
# The first command activates the admin account
net user administrator /active:yes
# The second command gives it the password of "pass" without the quotes
net user administrator pass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment