Why you might disable an administrator account

Disabling an administrator account is different from deleting it — the account stays on your computer but nobody can log in with it. You might do this to prevent someone from using that account, to reduce security risk if you have multiple admin accounts, or to force yourself and others to use a standard user account for daily work.

On both Windows and Mac, you can disable an administrator account without losing the files stored in it. The account remains recoverable if you need it later. However, you should have at least one other administrator account active before you disable one, or you may lock yourself out of system-level changes.

Key Takeaways

  • Keep at least one active administrator account on your computer before disabling another one, or you will not be able to make system changes later.
  • On Windows, you disable an administrator account through Settings > Accounts > Other people, or through Local Users and Groups if you have Windows Pro or higher.
  • On Mac, you disable an administrator account through System Settings > General > Login Items & Extensions, then manage accounts in the Users & Groups pane.
  • Disabling an account is reversible — you can turn it back on later using another administrator account.
  • Files stored in a disabled account remain on your computer and can be accessed by other administrator accounts.

How to disable an administrator account on Windows

The simplest method on Windows 10 and Windows 11 is through Settings. Open Settings, go to Accounts, then select Other people. Find the administrator account you want to disable, click it, then click Remove. This removes the account from the login screen but does not delete it from your computer.

If you need more control, use Local Users and Groups instead. This tool is available on Windows Pro, Enterprise, and Education editions, but not on Windows Home. Press the Windows key and type lusrmgr.msc, then press Enter. Find the account under the Users folder, right-click it, and select Properties. Check the box that says Account is disabled, then click Apply and OK. This prevents anyone from logging in with that account while keeping all its files intact.

If you use Windows Home edition and need to disable an account without removing it, you can also use Command Prompt as an administrator. Type net user [accountname] /active:no and press Enter, replacing [accountname] with the actual account name. This disables the account without removing it from your system.

How to disable an administrator account on Mac

On Mac, open System Settings and go to General. Click Login Items & Extensions on the left side. At the bottom of the window, you will see a lock icon — click it and enter your administrator password to unlock the settings.

Once unlocked, look for the account you want to disable. Click the minus button (−) below the list of accounts. This removes the account from the login screen. The account and its files remain on your Mac, but nobody can log in with it. If you want to re-enable it later, click the plus button (+) and select the account from the list.

Alternatively, you can use the command line. Open Terminal, which is in Applications > Utilities. Type dscl . -create /Users/[username] UserShell /usr/bin/false, replacing [username] with the account name. This disables login for that account. To reverse it later, type dscl . -create /Users/[username] UserShell /bin/bash.

What happens when you disable an account

When an account is disabled, that account no longer appears on the login screen. Nobody can log in with that username and password. However, the account folder and all files in it remain on your computer and take up the same amount of storage space.

Other administrator accounts can still access the files in a disabled account's folder. On Windows, you may need to change folder permissions to do so. On Mac, you can usually access the files directly through Finder if you have administrator privileges. The disabled account itself cannot access anything — it is locked out completely.

How to re-enable a disabled administrator account

On Windows, if you removed the account through Settings, you can add it back by going to Settings > Accounts > Other people and clicking Add account. If you disabled it through Local Users and Groups, open that tool again, find the account, right-click it, select Properties, and uncheck the box that says Account is disabled.

On Mac, open System Settings > General > Login Items & Extensions, click the lock icon to unlock it, and click the plus button (+) to add the account back to the login screen. If you used Terminal, type dscl . -create /Users/[username] UserShell /bin/bash to restore login access.

Important things to check before disabling an account

Before you disable an administrator account, make sure you have at least one other administrator account that you can log into. If you disable all administrator accounts, you will not be able to make system changes, install software, or change settings that require administrator permission. You may need to restart your computer in Safe Mode or use recovery tools to regain access.

Check whether any programs or services are set to run under the account you are disabling. On Windows, open Task Scheduler and search for tasks associated with that account. On Mac, check System Settings > General > Login Items to see what runs at startup. If important tasks are tied to that account, you may need to reassign them to another account first.

If the account has encrypted files or uses FileVault on Mac, disabling the account does not decrypt those files. You will need the account password to access encrypted content later, even from another administrator account.

Frequently Asked Questions

Can I disable the only administrator account on my computer?

Technically yes, but you should not. If you disable your only admin account, you will lock yourself out of system settings and software installation. You would need to use recovery mode or reinstall your operating system to regain access. Always keep at least one active administrator account.

Will disabling an account delete the files in it?

No. Disabling an account only prevents login. All files, folders, and data in that account remain on your computer and take up storage space. Other administrator accounts can access these files if they have permission to do so.

Can I disable an account if I forgot the password?

On Windows, you can disable an account through Local Users and Groups or Command Prompt without knowing the password, as long as you have another administrator account logged in. On Mac, you need administrator credentials to make changes to accounts through System Settings.

What is the difference between disabling and deleting an account?

Disabling prevents login but keeps the account and its files on your computer. Deleting removes the account entirely, though the files may remain depending on your settings. Disabling is reversible; deleting is permanent and harder to undo.

Do I need to back up files before disabling an account?

Not for the disabling itself — the files stay on your computer. However, it is a good idea to back up important files before making any account changes, just in case something goes wrong or you need to access them from another device.