Activate administrator account in Windows 8 via cmd that is hidden / disabled

1. On the Desktop, press the Windows Hot Key + R to initiate Run and type in CMD and hit Enter on your keyboard to launch the command prompt.

2. When the command prompt opens up, right click on its tab and further right click on the CMD Icon and select Run as an administrator to run CMD with elevated admin privileges.

3. You would see a new CMD prompt titledĀ Administrator:Command Prompt. Type net user administrator /active:yes. This command would activate the admin user account. If successful, you get the messageĀ The command prompt completed successfully.

4. If you press the Windows Hot Key and click on your username in the top right, you would notice the Administrator option is now visible. Click it to switch to the Admin account.