Fix- Lost administrative rights in Windows 10 , 11

Have you lost your administrative rights in your Windows 11 or Windows 10 computer? If you have indeed lost it, you neither be able to run any program as an administrator on your computer nor will be able to make any administrative level changes on your computer.  Simply follow these easy fixes and the problem will be solved in no time at all.

Fix-1 Run a command in safe mode

1 – Press Shift key from your keyboard and keeping it pressed Just click on Restart .

Shift Restart Min

Note: – If you are unable to Login to system , Press Shift key and click Restart on the Login screen.

Now, In next screen click on Advanced options.

Automatic Repair Advanced Options Min

 

5. Now, click on troubleshoot.

 

Troubleshoot

 

6. Now, click on advanced options.

 

Troubleshoot Reset This Pc Advanced Options Startup Repair 1



 

7. Now, click on startup settings.

 

Startup Settings

 

8. Click on Restart.

 

Startup Settings Restart Startup Repair 1

 

9. Press 4 from the keyboard to select safe mode.

 

Safe Mode 1

 

10. Once you log into system in safe mode, open command prompt. Just search cmd in windows 10 search box and click on cmd icon.

11. Now, run the command given below in command prompt.

net user administrator /active:yes

12. Now, run the command given below.



net localgroup Administrators type_in_your_new_username_here /add

13. Close the cmd window and start pc in normal mode and check again.

Fix-2 Change Group Membership

1 – Search netplwiz in Searchbox and click on it.

Netplwiz Min

 

2 – Now, Double Click on your Username .

 

User Click Min

 

3 – Click on Group Membership Tab.

4 – Now, Click on Administrator.

5 – Click on Apply.

 

Admin Netplwiz Min

Fix-3 Modify Account settings from Registry Editor-

1 – Press Shift key from your keyboard and keeping it pressed Just click on Restart .

Shift Restart Min

2. Next, step is to click on the “Troubleshoot“.

 

Troubleshoot

 

3. To see more available options you have to click on the “Advanced options“.

 

Troubleshoot Reset This Pc Advanced Options Startup Repair 1

 

4. You need to access the “Command Prompt“. So, click on it.

 

Command Prompt New

 

5. Put your account password to get through to the CMD terminal. Click on “Continue“.

 

Command Account

 

6. In Command Prompt window, type or copy-paste “regedit” and hit Enter to open Registry Editor on your computer.

 

Regedit Cmd

 

NOTE

You should need to create a backup of your registry. Once you have opened the Registry Editor, you need to click on the “File” and then on the “Export” from the menu bar.

10. In the Registry Editor window, select the ” HKEY_LOCAL_MACHINE” branch to highlight it.

 

Select Hkey

 

11. Now, click on “File” from the menu bar and then click on “Load Hive“.

 

Registry Hive

 

12. In Load Hive window, navigate to this location-

system root drive > Windows > System32

13. In the System32 folder, double click on the “config” folder.

 

Config

 

13. In the Config folder, scroll down to find and select the “SAM” file.

14. Now, click on “Open” to load the hive under the registry branch*.

 

Sam File

 

15. You need to provide a name to the hive.

16. Name the key “REM_SAM“. Click on “OK“.

 

Rem Sam

 

17. In Registry Editor window, on the left-hand side, navigate to this location-

HKEY_LOCAL_MACHINE\REM_SAM\SAM\Domains\Accounts\Users
HKEY_LOCAL_MACHINE\REM_SAM\SAM\Domains\Accounts\Users\000001F4
0001F4

 

18. Now, in the same window, on the right-hand side, double click on “F” binary value to modify it.

 

19. In Edit Binary Value window, go to the line “00000038“.

20. Place your cursor on just the right side of “11” and press “Delete” from your keyboard.

21. Now, type “10” to change the value.

22. Finally, click on “OK” to save the changes on your computer.

 

Lost Admin Rights Reg Edit 1

 

Close Registry Editor window.

Close Command Prompt window.

23. Coming back to the Choose an Option window, click on “Turn off your PC” to turn it off.

 

Turn Off Your Pc

 

Start your computer again.

After rebooting your pc, you will have the administrative rights back for your account.

Your problem will be solved.

 



*NOTE

Trying to open the “SAM” file you may see this error message “The process cannot access the file it is being used by another process” or this one “File is in use“.

 

Sam Feature

 

To solve the issue follow these steps-

1. In the Registry Editor window, select the ” HKEY_LOCAL_MACHINE” branch to highlight it.

 

Select Hkey

 

2. Now, click on “File” from the menu bar and then click on “Load Hive“.

 

Registry Hive

 

3. Now, click on the “Look in:” section to open the drop-down.

You were facing the trouble because you were selecting the “BOOT(X:)”  drive on which the CMD is itself is running.

4. Select the system root drive on your computer.(For this computer it is “Local Disk (D:)” drive, Normally its Local Disk (C:) ) And then click on “Open“.

5. Now, scroll down and double click on the “Windows” folder.

6. Same way, scroll down and find the “System32” folder to access it.

 

Sytem32

 

7. Now, double click on the “Config” folder to access it.

 

Config

 

Then follow the rest of instructions (from step-13) to modify the binary value and solve the issue.