Add Admin rights using notepad

October 2017




Issue


How can i add admin powers to an user account using a notepad?

Solution

  • Open up Notepad
  • Type in:

Code:
command.com
  • Go to File->Save As->CMD.bat

Save as All Files to Desktop
  • Open CMD on your desktop
  • Type in:

Code:
net localgroup administrators <name of acc> /add

and hit enter
Example:
net localgroup administrators dssmith /add 
Published by aakai1056. Latest update on June 11, 2010 at 08:58 AM by aakai1056.
This document, titled "Add Admin rights using notepad," is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).