TechBuzzPro

Enable Hidden Administrator Account in Windows

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can enable the built-in Administrator account in Windows by running a single command in an elevated Command Prompt or PowerShell window: net user administrator /active:yes. This unlocks a hidden, full-privilege account that exists on every Windows installation but is disabled by default. It is useful for troubleshooting when your normal admin account is corrupted or when you need a clean profile with no inherited settings. You will need administrator rights on the PC and a few minutes to run the command and verify the result.

What You'll Need

  • A Windows PC (Windows 10 or Windows 11; the steps are nearly identical).
  • An account that is already a member of the local Administrators group.
  • Access to Command Prompt or PowerShell with elevation (Run as administrator).
  • Optionally, a password you want to set for the hidden account.

Step-by-Step

  1. Open an elevated Command Prompt. Click Start, type cmd, right-click Command Prompt, and choose Run as administrator. If User Account Control asks for permission, click Yes. On Windows 11 you can also right-click the Start button and choose Terminal (Admin) or Windows PowerShell (Admin). Menu labels can differ slightly by version and region.
  2. Check the current state. Type net user administrator and press Enter. Look at the line Account active. If it says Yes, the account is already enabled and you can skip to step 4. If it says No, continue.
  3. Enable the account. Type net user administrator /active:yes and press Enter. You should see The command completed successfully.
  4. Set a password (recommended). The built-in Administrator often has no password, which is a security risk. Type net user administrator * and press Enter, then type the new password twice. The asterisk hides what you type. If you prefer to set it later, you can do so from Settings > Accounts after signing in.
  5. Sign out and sign in. Press Ctrl+Alt+Delete and choose Sign out, or open the Start menu and click your user icon > Sign out. On the sign-in screen, the Administrator account should now appear. Select it and sign in. If it does not appear, restart the PC once.
  6. Verify it works. Once signed in, open Settings > Accounts and confirm the account name is Administrator. You can also open an elevated Command Prompt and run whoami; it should return computername\administrator.
  7. Disable it when finished. When you no longer need the account, sign back into your normal account, open an elevated Command Prompt, and run net user administrator /active:no. This hides the account again without deleting it.

Common Mistakes

  • Running the command without elevation. A standard Command Prompt returns Access is denied. Always use Run as administrator.
  • Leaving the account without a password. The built-in Administrator has full control and is a common target. Set a strong password before you sign in, or disable the account when you are done.
  • Confusing it with your normal admin account. The built-in Administrator is a separate profile with its own desktop and settings. Files saved there are not visible from your usual account.
  • Typing the username wrong. The command uses the account name administrator, not your display name. If your Windows is in another language, the built-in account may still be named Administrator internally; check with net user to list accounts.
  • Forgetting to disable it. Leaving it active long-term widens the attack surface. Disable it as soon as troubleshooting is complete.

Tips

  • Use the built-in Administrator only for repair tasks. For everyday work, a normal account in the Administrators group is safer because User Account Control still prompts for approval.
  • If you need the account only to reset a forgotten password on another account, you can sign in as Administrator, open Control Panel > User Accounts, and reset the other account's password from there.
  • You can also enable the account from Computer Management > Local Users and Groups > Users on Windows Pro editions: right-click Administrator, choose Properties, and clear Account is disabled. Windows Home does not include Local Users and Groups, so use the command method there.
  • Keep a note of the password in a safe place. If you forget it and no other admin account exists, recovery becomes much harder.

Troubleshooting

“Access is denied” or “System error 5.” You are not running the command elevated. Close the window, reopen Command Prompt with Run as administrator, and try again.

“The user name could not be found.” The account name may differ on your system. Run net user to list local accounts and use the exact name shown, for example net user Administrator /active:yes with the correct capitalization if it differs.

The account does not appear on the sign-in screen. Restart the PC. If it still does not show, sign in to your normal account, open Settings > Accounts > Other users, and confirm the Administrator account is listed. Some domain-joined or managed PCs hide local accounts by policy; in that case contact your IT administrator.

The command succeeds but you cannot sign in. The account may have no password and be blocked by policy, or it may be locked out. Try setting a password with net user administrator * from an elevated prompt, then sign in again.

You want to undo everything. Run net user administrator /active:no from an elevated prompt. This disables the account without deleting its profile or files.

Frequently Asked Questions

Is the built-in Administrator account safe to use?

It is safe for short troubleshooting sessions, but it runs with full privileges and bypasses some User Account Control prompts. Set a password and disable it when you are done.

Does enabling it delete my existing account or files?

No. Enabling the built-in Administrator only activates a separate account. Your existing accounts and files are untouched.

Can I enable it on Windows Home?

Yes. The net user administrator /active:yes command works on Windows Home as well as Pro. The Local Users and Groups graphical tool is not available on Home, so use the command method.

Why does the account have no password by default?

Windows ships the account disabled and without a password so it cannot be used until an administrator deliberately turns it on. Always set a password when you enable it.

Will this work on a work or school PC?

Possibly not. Organizations often manage local accounts through policy and may block or hide the built-in Administrator. If the command fails with a policy error, contact your IT department.

How do I hide the account again?

Sign in to any administrator account, open an elevated Command Prompt, and run net user administrator /active:no. The account disappears from the sign-in screen but its profile remains.