Open the Command Prompt
For Windows 8 or later – Use the Win+X shortcut and select Command Prompt (Admin)For Windows 7 – Open Start menu and type cmd in the search box, then right-click the Command Prompt and select Run as Administrator
Enable administrator account
To enable, execute the following command: net user administrator /active:yes
Disable administrator account
Note: You must be signed out from the administrator account in order to disable it.
Execute the following command: net user administrator /active:no
Tip: To avoid typos, simply copy the command, then right-click inside the Command Prompt and select Paste, then press Enter.