Windows prompts you whenever you perform an action that requires administrator access. However, you can bypass these prompts by logging in with administrator privileges on Windows.
Windows restricts access to certain files and commands using administrator privileges. These files and commands can often cause problems if misused. Therefore, Windows displays a warning whenever you try to perform an action that requires administrator access. However, you can bypass these prompts by logging in with administrator privileges on Windows.
How to activate an Administrator account using Command Prompt
Step 1:
Type "command prompt" into the search bar on your computer and select "Run as administrator" to launch it.
Step 2:
In the new interface, enter the command `net user administrator /active:yes` to enable administrator login on the computer.
Once your account is activated, simply switch to an Admin account to access it.
How to activate an administrator account using PowerShell
Step 1:
Type "powershell" in the search bar and then select "Run as administrator" to launch it.
Step 2:
In the command prompt, enter net user administrator /active:yes and then press Enter.
When successfully activated, we will see the message "The command completed successfully."
How to add a password to the Admin account
If you frequently use the administrator account, you should set a password, especially if you don't intend to disable the account.
First, you need to launch Command Prompt or PowerShell as an administrator , then enter the command `net user administrator ExamplePassword` , replacing ExamplePassword with any password you want.
How to disable the Administrator account on Windows
You simply need to enter the command `net user administrator /active:no` into the Command Prompt or PowerShell interface while running with administrator privileges.