Share via

I can't sign in as an administrator

Andrew Williams 0 Reputation points
2026-04-01T14:12:55.9+00:00

I cannot sign in as an administrator, and when I try to sign in as an administrator, Windows 11 kicks me out of CMD

Windows for home | Windows 11 | Security and privacy
0 comments No comments

3 answers

Sort by: Most helpful
  1. Kapil Arya 37,571 Reputation points Volunteer Moderator
    2026-04-02T08:40:16.1066667+00:00

    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.

    0 comments No comments

  2. TaoLi 73,395 Reputation points Independent Advisor
    2026-04-01T15:05:19.0366667+00:00

    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.

    0 comments No comments

  3. Q&A Assist
    2026-04-01T14:13:17.2333333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    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.

    1. First, rule out a temporary profile issue
    • If Windows shows messages like "We can't sign in to your account" or "You’ve been signed in with a temporary profile", follow these steps:
      1. Restart the device in Safe mode and sign in with the original profile. Check if files and settings are back.
      2. Restart again in normal mode and sign in with the same profile. You may need to restart more than once.
      3. Temporarily disable any third‑party antivirus or security software that might interfere with sign-in.
      4. If the issue persists, temporarily set Windows Defender Advanced Threat Protection and Microsoft Defender Antivirus services to Disabled in services.msc, restart, and try signing in again. After resolving the issue, set them back to Automatic.
    1. If the profile is corrupted and admin sign-in still fails
    • If sign-in continues to fail or CMD closes immediately when trying to elevate, create a new local administrator account and move data:
      1. Use the steps under Troubleshoot Problems Signing In to Windows to get to the Fix a corrupted user profile guidance.
      2. Create a new local administrator account.
      3. Sign in with the new admin account and copy personal data from the old profile to the new one.
    1. Enable the built-in Administrator account (if needed) If no working admin account is available, enable the built-in Administrator account so an admin session is available:
    • On Windows client devices, the built-in Administrator account can be enabled from Computer Management if there is any account that can still sign in:
      1. In the search box, type Computer Management and open the desktop app.
      2. In the left pane, select Local Users and Groups > Users.
      3. If the user named Administrator has a down arrow on its icon, it is disabled.
      4. Double‑click Administrator, clear Account is disabled, then select Apply.
      5. Sign out and then sign in again using the Administrator account.
    • On devices that have not yet completed OOBE or in manufacturing scenarios, the built-in Administrator account can also be enabled via an answer file or by logging on in audit mode, but for a home Windows 11 system the Computer Management method is the primary supported approach.
    1. After regaining an admin session
    • Once an admin session is available (via a new admin account or the built-in Administrator), use it to:
      • Check for and repair a corrupted profile (per Fix a corrupted user profile).
      • Remove or reconfigure any third‑party security software that may be closing CMD or blocking elevation.
      • Verify that the original admin account is still a member of the Administrators group and not disabled.

    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:

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.