Created
July 22, 2021 11:33
-
-
Save codenathan/211068a9433765857e90b7af261457be to your computer and use it in GitHub Desktop.
Create an Admin User Account Using CMD Prompt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Create The User | |
net user /add [*username] [password] | |
#e.g. net user /add codenathan | |
# Add User To Administrator Group | |
net localgroup administrators [username] /add | |
#e.g. localgroup administrators codenathan /add |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment