Home  >  Article  >  How to enable an administrator account on Windows 11

How to enable an administrator account on Windows 11

WBOY
WBOYforward
2023-04-15 19:46:014229browse

How to enable or disable an administrator account on Windows 11 using PowerShell

One of the quickest ways to enable an administrator account on Windows 11 is to use PowerShell. You can also use the newer Windows Terminal or, if you prefer, the older Command Prompt (cmd) tool.

You need to make sure you run these commands from a user account that already has administrator rights. If you are using a standard user account, you will need to switch to another user account to run this tool.

To enable an administrator account using PowerShell on Windows 11:

  1. Open Start by clicking the Start button or pressing the Windows key menu.
  2. When the Start menu opens, type powershell, right-click the top result, and select Run as administrator from the menu. Alternatively, hover over the Windows PowerShell result and select Run as administrator from the options on the right.

How to enable an administrator account on Windows 11

  1. When PowerShell starts, type the following command and press Enter:
net user administrator /active:yes

How to enable an administrator account on Windows 11

Switching to an administrator account on Windows 11

Running the net user command will immediately activate the built-in administrator account. The account will be available on the login screen.

You can double-check now by pressing Alt F4 on your keyboard, then select Switch user from the pop-up shutdown menu.

How to enable an administrator account on Windows 11

Disable the administrator account using PowerShell

We strongly recommend that you disable the default administrator account when you are done.

To do this using Windows PowerShell:

  1. Open the Start menu.
  2. Type powershell, right-click, and select Run as administrator.
  3. In the PowerShell window, type the following to disable the account:
net user administrator /active:no

How to enable an administrator account on Windows 11

This will immediately disable the built-in administrator account. It will no longer appear on the login screen for you to use.

How to enable or disable an administrator account on Windows 11 using Computer Management

The fastest way to enable an administrator account on Windows 11 is through PowerShell or the Windows Terminal using net user Order. However, if you prefer to use a GUI tool to enable it, you can use Computer Management. This is a built-in, somewhat hidden configuration tool that allows you to change various Windows settings.

To enable an administrator account using Computer Management on Windows 11:

  1. Press the Start button or the Windows key to open the Start menu.
  2. Enter Computer Management and select the top result to open the application.

How to enable an administrator account on Windows 11

  1. In Computer Management, expand Local Users and Groups on the left and select Users Folder.

How to enable an administrator account on Windows 11

  1. Right-click on the Administrator account and select the Properties option.

How to enable an administrator account on Windows 11

  1. When the Administrator Properties window appears, uncheck the Account is Disabled option.
  2. Press Apply and OK to save your selection.

How to enable an administrator account on Windows 11

#If you have followed the steps above, the administrator account is active and accessible from the login screen.

Disable the administrator account using Computer Management

As we suggested above, you should disable your Windows 11 administrator account when you are finished using it. You can easily do this by repeating the above steps in Computer Management.

To disable the administrator account using Computer Management:

  1. Open the Start menu.
  2. Type Computer Management and select it from the search option in the Start menu.
  3. Open Local Users and Groups > Users on the left.
  4. Right-click on the Administrator account and select Properties.
  5. In "Properties", select the "Account is disabled" option and click "OK".

How to enable an administrator account on Windows 11

# After that, the administrator account has been closed and can no longer be accessed.

If you want to make further changes to your Windows 11 user account, you may want to consider changing your account name. If you are tired of UAC prompts on your administrator account, you can disable User Account Control. Otherwise, you can always add a local user account to Windows 11 and completely restrict administrator rights.

The above is the detailed content of How to enable an administrator account on Windows 11. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:yundongfang.com. If there is any infringement, please contact admin@php.cn delete