Software & OS

How to Change the Administrator Account on Windows 11

To change the administrator account on Windows 11, open Settings, go to Accounts > Other users, pick the account, select Change account type and choose Administrator or Standard user. You can do this only while signed in to an account that is already an administrator.

"Change the administrator account" can mean four different jobs: make another person an administrator, take administrator rights away, rename the administrator, or switch which account you sign in with. Each has its own section below. Settings covers most cases, and PowerShell covers the rest.

Make another account an administrator (Settings)

Sign in with an existing administrator account, then follow Microsoft's steps:

  1. Open Settings and go to Accounts > Other users. The shortcut ms-settings:otherusers opens the same page if you paste it into Win+R.
  2. Under "Other users", open the menu for the account you want to change.
  3. Next to "Account options", select Change account type.
  4. Open the dropdown, choose Administrator, and select OK.

Microsoft's page carries a warning worth taking seriously: limit the number of administrators on your Windows device.

Remove administrator rights from an account

This is the same dialog with the opposite choice. Use Accounts > Other users, open the account, select Change account type, and pick the standard user option from the dropdown. Microsoft's page does not spell out the label of that option, so read the dropdown list on your PC.

One limit applies here. The Other users list shows accounts other than the one you are signed in with. If you want to demote your own account, first make sure a second administrator exists, sign in to it, and then change the first account from there. That order also keeps you from ending up with no administrator at all.

Make an account an administrator with PowerShell

Open Windows Terminal or PowerShell as administrator (right-click it, then Run as administrator). The Add-LocalGroupMember cmdlet adds a user to the local Administrators group:

Add-LocalGroupMember -Group "Administrators" -Member "alex"

Replace alex with the account name. Microsoft's example for this cmdlet shows the other forms of -Member you may need: a local user (Admin02), a Microsoft account (MicrosoftAccount\[email protected]) and a Microsoft Entra account (AzureAD\[email protected]). The cmdlet returns no output when it works. Microsoft's description notes that members of the Administrators group have Full Control permissions on the computer, and it advises limiting the number of users in that group.

The module behind this cmdlet, Microsoft.PowerShell.LocalAccounts, is not available in 32-bit PowerShell on a 64-bit system, so use the normal 64-bit terminal.

Create a new administrator account

If the old account is the problem, make a new one instead. In Settings, go to Accounts > Other users, select Add account under "Add other user", and finish the prompts. To create an account without a Microsoft account, choose Add a user without a Microsoft account. Microsoft recommends a Microsoft account over a local account for signing in to Windows, so this is a choice for you to make.

A new account starts as a standard user. Promote it with the steps above.

From an elevated Command Prompt, net user can do the same job:

net user alex * /add

The * makes the command ask for the password instead of putting it on the command line, and the typed password is not shown. Microsoft's net user reference says the password must meet the minimum length set with net accounts /minpwlen, and can be up to 127 characters. After creating the account, add it to the Administrators group with Add-LocalGroupMember or through Settings.

Rename the administrator account

For a local account, Rename-LocalUser changes the name:

Rename-LocalUser -Name "Admin02" -NewName "AdminContoso02"

That is the example from Microsoft's documentation, with its sample names. Run it in an elevated PowerShell. It renames a local user account only. It does not touch a Microsoft account, whose name is set on your Microsoft account page online.

Microsoft documents the built-in Administrator account as an account that can't be deleted or locked out, but can be renamed or disabled. Microsoft's guidance there is that renaming or disabling it makes it harder for malicious users to try to gain access to it. That page describes Active Directory domain controllers, so treat it as general background and not as a step-by-step guide for a home PC.

Turn the built-in Administrator account on or off

This is a different account from the one you normally use. On a typical Windows 11 PC you do not need it. If you have a specific reason, net user has an /active switch that enables or disables an account. In an elevated Command Prompt:

net user administrator /active:yes

Set it back with /active:no when you are done. Microsoft's reference says that if an account isn't active, the user can't access resources on the computer. Give the account a strong password before enabling it, and do not leave it on for daily use.

Switch which administrator account you use

If you only want to sign in with a different account, you do not need to change anything. Select the Start button, select your account picture, and pick the other account, or sign out and choose it on the sign-in screen. Use an administrator account only when a change needs it. For everyday browsing and email, a standard account limits the damage if something goes wrong. If an account has no password, or you want to change it, see the guide on setting or removing a sign-in password.

If it still fails

  • "Change account type" is missing or greyed out. You are probably signed in to a standard account. Sign in to an administrator account and try again.
  • The account you want is not in the list. Settings lists other accounts, not the one you are signed in with. Sign in to a different administrator first.
  • Access denied in PowerShell or Command Prompt. The window is not elevated. Close it and reopen with Run as administrator.
  • The cmdlet is not recognised. You may be in 32-bit PowerShell on a 64-bit system, where the LocalAccounts module is not available. Open the 64-bit terminal.
  • Nothing works and no administrator can sign in. Starting Windows in a recovery mode may help you reach a working account. See how to boot into Safe Mode in Windows 11 for the ways in. This article does not cover password reset or account recovery.

Frequently asked questions

Can I change the administrator account without being an administrator?
No. Changing an account type, adding someone to the Administrators group or renaming a local account all need an account that already has administrator rights. If you have no working administrator account, you need another way in, such as a Microsoft account recovery or a reinstall, which this article does not cover.
How many administrator accounts should a Windows 11 PC have?
As few as you can manage. Microsoft's own instructions say you should limit the number of administrators on your Windows device. A common setup is one administrator account for changes and a standard account for daily use.
Can I delete the built-in Administrator account?
No. Microsoft documents the built-in Administrator account as one that can't be deleted or locked out, but it can be renamed or disabled.
Does renaming an account change my Microsoft account email?
No. Rename-LocalUser renames a local user account. A Microsoft account is managed online, so its name and email are changed on your Microsoft account page, not with this cmdlet.

Sources