Need to create a local administrator account? Mayhaps you need to install or configure software, troubleshoot issues on a local machine, bypass restrictions, or perform maintenance tasks… Whatever your needs, we got the script for you! 

The script uses the net user and net localgroup commands to create a new user and add it to the local administrator group. 

Net user is a command-line tool which can be used to create, delete or modify user accounts. It creates a user, “username” and password, “password”. Replace the username and password with the username or password of your choice. 

Net localgroup is a command-line tool which can be used to create, delete or modify computer groups. It adds the user, “username” in the local group called “Administrators”.