Guidelines
Are you having HotKey issues? Click here for tips and tricks.
Check out our WINDOWS 11 Support Center info about: OPTIMIZATION, KNOWN ISSUES, FAQs, VIDEOS AND MORE.
HP Recommended
HP 15 Laptop PC 15-e3000 (4X377AV)
Microsoft Windows 11

Hello helpers. I am recently facing a very serious issue in my windows 11 OS. That's it, whenever I wanna update/install/run cmd as administrator, this kind of pop up is showing up Every time. Since, it's a little bit hard to explain that why I have dropped a picture down with my question. As far as I remember, one day I had login with my Microsoft account in this OS for a specific reason then again back to my local account and while did not give any additional password. They had asked me to give my screen lock password for verifying me. Now, how can I resolve this issue? Please anybody help me😥

 

Saybal_0-1747204345882.png

 

1 REPLY 1
HP Recommended

@Saybal, Welcome to HP Support Community. 

 

Thank you for posting your query, I will be glad to help you. 

You're seeing a User Account Control (UAC) prompt asking for the Administrator password, but it doesn't give you an option to enter a different account, it just asks for a password for the built-in Administrator account, which seems password protected. This usually happens if:

Your current user is not an administrator.

The only admin account is password-protected, and you're not logged into it.

You converted your Microsoft account to a local one and possibly lost admin privileges in the process.

How to Fix It

Since you cannot make any admin-level changes, you will need to restore admin access. Here are multiple ways to fix it:

Method 1: Safe Mode with Command Prompt (Enable Hidden Administrator Account)

  • Force Restart your laptop 3 times when it's on the login screen or starting Windows to trigger Windows Recovery Environment (WinRE).
  • Choose: 
     TroubleshootAdvanced OptionsStartup SettingsRestart
  • After restart, press F6 for Safe Mode with Command Prompt.
  • In Command Prompt, type: 
    net user administrator /active:yes
  • Reboot your PC. You’ll now see a new "Administrator" account on the login screen.

Log into the Administrator Account

Once you're logged into the built-in Administrator account:

  • Go to SettingsAccountsYour Info
  • Change your current account back to Administrator:
  • Go to Control PanelUser AccountsManage another account → Select your local account → Change account type → Select Administrator
  • Optionally, disable the built-in Administrator account again (for security): 
    net user administrator /active:no

Alternative: Use Windows Installation Media (if Safe Mode doesn't work)

  1. Create a bootable USB with Windows 11 installer using Microsoft’s Media Creation Tool.
  2. Boot from the USB.
  3. Press Shift + F10 at the language selection screen to open Command Prompt.
  4. Follow these steps to enable the hidden admin:

regedit

  • In Registry Editor:
  • Select HKEY_LOCAL_MACHINE
  • Click File > Load Hive
  • Browse to:
    C:\Windows\System32\config\SAM
  • Name it: OfflineSAM

    Then go to:

HKEY_LOCAL_MACHINE\OfflineSAM\SAM\Domains\Account\Users\000001F4
 

  • Double-click F entry, find offset 0038, change 11 to 10 to enable the built-in Administrator.
  • Unload the hive: File > Unload Hive.
  • Reboot and log in as Administrator.

 

Once fixed:

Always keep at least one local administrator account.

Use a strong password for admin and avoid disabling your only admin account.

 

I hope this helps. 

 

Take care and have a good day. 

 

Please click “Accepted Solution” if you feel my post solved your issue, it will help others find the solution. Select "Yes" on the bottom left to say “Thanks” for helping! 

 

Max3Aj

HP Support 

† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.