-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
-
1
×InformationNeed Windows 11 help?Check documents on compatibility, FAQs, upgrade information and available fixes.
Windows 11 Support Center. -
- HP Community
- Notebooks
- Notebook Operating System and Recovery
- (Must watch the image) To continue give an administrator use...

Create an account on the HP Community to personalize your profile and ask a question
05-14-2025 12:33 AM
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😥
05-15-2025 06:31 AM - edited 05-15-2025 06:31 AM
@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:
Troubleshoot → Advanced Options → Startup Settings → Restart - 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 Settings → Accounts → Your Info
- Change your current account back to Administrator:
- Go to Control Panel → User Accounts → Manage 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)
- Create a bootable USB with Windows 11 installer using Microsoft’s Media Creation Tool.
- Boot from the USB.
- Press Shift + F10 at the language selection screen to open Command Prompt.
- 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