Add Admin rights using notepad

December 2016




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 

Related :

This document entitled « Add Admin rights using notepad » from CCM (ccm.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the license, as this note appears clearly.