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:
net user administrator /active:yes
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.
We strongly recommend that you disable the default administrator account when you are done.
To do this using Windows PowerShell:
net user administrator /active:no
This will immediately disable the built-in administrator account. It will no longer appear on the login screen for you to use.
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:
#If you have followed the steps above, the administrator account is active and accessible from the login screen.
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:
# 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!