Have you lost your administrative rights in your 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 Modify Account settings from Registry Editor-
1. Press Windows Icon+I to open Settings window.
2. Now, click on “Update and Security“.
3. Now, on the left pane, click on “Recovery“.
4. Then, under “Advanced Startup” section, click on “Restart Now“.
5. In Choose an option window, click on “Troubleshoot“.
6. In Troubleshoot window, click on “Advanced options“.
7. In the Advanced options window, click on the “Command Prompt“.
8. Now, choose the account which has administrative right. Enter your account password and click on “Continue“.
Command Prompt window should be opened in Troubleshooting mode.
9. In Command Prompt window, type or copy paste “regedit” and hit Enter to open Registry Editor on your computer.
But, before going ahead to the main process, we strongly suggest you to create a a backup of the registry on your computer. After opening Registry Editor, click on “File” > “Export” to create the backup.
If anything goes wrong you can retrieve your registry by simply importing the backup.
10. In Registry Editor window, select ” HKEY_LOCAL_MACHINE” branch to highlight it.
11. Now, click on “File” from the menu bar and then click on “Load Hive“.
12. In Load Hive window, navigate to this location-
system root drive > Windows > System32
13. In System32 folder, double click on “config” folder.
13. In Config folder, scroll down to find and select “SAM” file.
14. Now, click on “Open” to load the hive under the registry branch*.
15. You need to provide a name to the hive.
16. Name the key “REM_SAM“. Click on “OK“.
17. In Registry Editor window, on the left hand side, navigate to this location-
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.
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.
Start your computer again.
After rebooting your pc, you will have the administrative rights back for your account.
Your problem will be solved.
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“.
To solve the issue follow these steps-
1. In Registry Editor window, select ” HKEY_LOCAL_MACHINE” branch to highlight it.
2. Now, click on “File” from the menu bar and then click on “Load 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 ) And then click on “Open“.
5. Now, scroll down and double click on “Windows” folder.
6. Same way, scroll down and find “System32” folder to access it.
7. Now, double click on “Config” folder to access it.
Then follow the rest of instructions (from step-13) to modify the binary value and solve the issue.
Sambit is a Mechanical Engineer By qualification who loves to write about Windows 10 and solutions to weirdest possible problems.