How to Disable the Administrator Account in Windows 10
In this article
To disable the built-in Administrator account in Windows 10, sign in with an account that has administrator rights, open Computer Management, go to Local Users and Groups > Users, right-click Administrator, choose Properties, tick Account is disabled, and click OK. You can also do it from an elevated Command Prompt with net user Administrator /active:no. The built-in Administrator is hidden and disabled by default; this guide is for turning it off again after it was enabled, or for locking it down on a shared PC.
Disabling the account reduces the attack surface: the built-in Administrator has full control and is a common target, so leaving it enabled with a weak or blank password is risky. Before you start, make sure you have another working administrator account on the PC, because once the built-in Administrator is disabled you need one to manage the machine. Also note that menu labels can differ slightly between Windows 10 editions and versions; Windows 10 Home does not include Local Users and Groups, so use the Command Prompt method there.
What You'll Need
- A Windows 10 PC you can sign in to with an account that is a member of the Administrators group.
- Another administrator account that you know the password for (so you are not locked out after disabling the built-in one).
- For the graphical method: Windows 10 Pro, Enterprise, or Education (Local Users and Groups is not in Home).
- For the command-line method: any Windows 10 edition, run as administrator.
Step-by-Step
- Confirm you have another admin account. Open Settings > Accounts > Family & other users and check that your day-to-day account is listed as Administrator. If it is a Standard user, change it to Administrator before continuing, or create a new admin account. This is the step that prevents lockouts.
- Open Computer Management (Pro/Enterprise/Education). Right-click the Start button and choose Computer Management. In the left pane, expand System Tools > Local Users and Groups > Users.
- Open the Administrator account properties. In the middle pane, right-click Administrator and choose Properties. (If you do not see the account, it may already be disabled or hidden; skip to the command-line method to check.)
- Disable the account. On the General tab, tick the box labelled Account is disabled, then click OK. The icon on the Administrator entry should now show a small down-arrow, indicating it is disabled.
- Alternative: use Command Prompt. Right-click Start, choose Windows PowerShell (Admin) or Command Prompt (Admin), and approve the User Account Control prompt. Type
net user Administrator /active:noand press Enter. You should see “The command completed successfully.” This works on all editions, including Home. - Verify. Sign out and check the sign-in screen: the Administrator account should no longer appear as a choice. You can also run
net user Administratorin an elevated prompt and look for “Account active No”. - Restart to confirm. Reboot the PC and sign in with your normal admin account to make sure everything still works and you are not locked out.
Common Mistakes
- Disabling the only admin account. If the built-in Administrator is the only account with admin rights, disabling it leaves the PC with no way to elevate. Always confirm a second admin exists first.
- Confusing the built-in Administrator with an account named “Administrator” that you created. The built-in account is hidden by default and has a specific security identifier. Disabling a user-created account with the same name is a different action.
- Using Local Users and Groups on Windows 10 Home. That snap-in is not available there; use the
net usercommand instead. - Forgetting the password for the other admin account. Disabling the built-in account is easy; recovering access without another admin is not. Test the other account’s password before you disable anything.
- Expecting the account to be deleted. Disabling keeps the account and its profile; it simply cannot be used to sign in. Re-enable it later with
net user Administrator /active:yesif needed.
Tips
- Use a standard user account for daily work and keep admin accounts for installations and system changes. This limits the damage from malware and accidental changes.
- If you must keep the built-in Administrator enabled for recovery, set a strong password on it and do not use it for everyday browsing.
- Record the change: note which account you disabled and how, so a future you (or a family member) can reverse it.
- On a shared or family PC, disabling the built-in Administrator is one of several basic hardening steps; also review which accounts are administrators in Settings > Accounts.
- Group Policy and some management tools can re-enable or manage local accounts; if the setting reverts, check whether the PC is joined to a domain or managed by an organisation.
Troubleshooting
The Administrator entry is missing from Local Users and Groups. It may already be disabled, or the account may be hidden. Run net user Administrator in an elevated prompt to see its status. If it says the account does not exist, the built-in account has been renamed; check with wmic useraccount where sid='S-1-5-21-...-500' get name only if you are comfortable with SIDs, or use Computer Management to review all accounts.
“Access is denied” when running the command. The prompt is not elevated. Right-click Start and choose Command Prompt (Admin) or Windows PowerShell (Admin), then approve the UAC prompt.
You disabled the account and now cannot sign in. At the sign-in screen, use another administrator account. If none exists, boot into Safe Mode (hold Shift while choosing Restart from the power menu) and use the built-in Administrator if it is still enabled, or use Windows Recovery options. As a last resort, a Windows installation USB can be used to access repair tools; back up data first where possible.
The account re-enables itself after a restart. The PC may be managed by an organisation, or a script or policy may be re-enabling it. Check with your IT administrator if it is a work machine. On a personal PC, review startup scripts and scheduled tasks you did not create.
You need the account back temporarily. Re-enable it with net user Administrator /active:yes in an elevated prompt, use it, then disable it again.
Frequently Asked Questions
Is the built-in Administrator account enabled by default in Windows 10?
No. It is hidden and disabled by default. It is usually enabled manually for troubleshooting, or by some setup and recovery tools.
Will disabling the Administrator account delete files or the user profile?
No. Disabling only blocks sign-in. The profile and its files remain on disk and are available again if you re-enable the account.
Can I disable it on Windows 10 Home?
Yes, but not with Local Users and Groups, which Home does not include. Use an elevated Command Prompt and run net user Administrator /active:no.
What happens if I disable the only administrator account on the PC?
You lose the ability to make admin-level changes and may be unable to sign in with admin rights. Always keep a second administrator account available before disabling the built-in one.
How do I turn the Administrator account back on?
Run net user Administrator /active:yes in an elevated Command Prompt, or clear the Account is disabled checkbox in Computer Management.
Does disabling the Administrator account improve security?
It removes a well-known, high-privilege target from the sign-in screen and from remote access attempts, which is a sensible basic hardening step, especially on shared PCs.