Try this command in recovery mode Command Prompt:
net user Administrator /active:yes
This should enable built-in admin. You can activate your own admin account using it and then turn off built-in admin account.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I cannot sign in as an administrator, and when I try to sign in as an administrator, Windows 11 kicks me out of CMD
Try this command in recovery mode Command Prompt:
net user Administrator /active:yes
This should enable built-in admin. You can activate your own admin account using it and then turn off built-in admin account.
Hello,
This situation usually indicates an issue with the administrator account itself or a corrupted user profile.
We suggest you open Settings >> Accounts >> Other accounts >> Add account. In the pop-up window, click "I don't have this person's sign-in information," then click "Add a user without a Microsoft account." Enter the new account name and password and create it.
Log in to the new account, then open Control Panel >> User Accounts >> Manage other accounts >> Select the current account >> Change account type, and set the current account to Administrator.
Then see if this resolves the issue.
Use the built-in troubleshooting steps for Windows sign-in and, if needed, enable the built-in Administrator account so an admin session is available again.
services.msc, restart, and try signing in again. After resolving the issue, set them back to Automatic.If none of the above restores a working admin sign-in, continue with the guidance under Troubleshoot Problems Signing In to Windows (password/PIN reset, account recovery) and, if necessary, back up data and perform a repair or reset of Windows.
References: