Like its predecessors, Windows 11 has a built-in administrator account. But, by
default it is disabled or hidden. By enabling this account, you can use this account to troubleshoot problems that would normally higher administrative privileges. Fortunately, you can easily turn it on by just using one simple command in the Windows Terminal. Here's how to do it.
Note: Use this account with caution. Enabling this unnecessarily is risky.
Step 1
Right-click the Start button.
Step 2
Select Windows Terminal (Admin) from the menu.
Step 3
Type the following command to enable the hidden admin account and hit Enter on your keyboard
net user administrator /active:yes
Step 4
Type the following command to disable the hidden admin account:
net user administrator /active:no