New
#11
You can access the reg from another PC or you may be able to boot a rescue DVD and revert from there or run a CMD to delete keys by running a schedule task as that runs as system
You can access the reg from another PC or you may be able to boot a rescue DVD and revert from there or run a CMD to delete keys by running a schedule task as that runs as system
Windows automatically keeps a backup of the registry. My concern is it may be too late and this is also corrupt.
However....
I solved it.
For anyone who will have same issue by locking themselves out of exes, regedit, cmd or anything here is what I did:
1. Shift + Left Mouse click on restart PC
2. Go to Advanced tools and start command prompt.
3. IF your windows drive is C, type c:
4. type regedit
5. Highlight HKEY LOCAL MACHINE
6. Click File -> Load Hive
7. Navigate to c:\users\YOURUSERNAME
8. Tricky part. If you dont see ntuser.dat, just type it in the open box, and click open.
9. Navigate to the registry that was added or changed (Software/Microsoft/Windows/...etc), or use CRTL + F to search for key value (in my case it was DisallowRun or RestrictRun)
10. Delete or modify the keys and values.
11. Select Hive you've loaded and click File-Unload Hive.
Done. All works.
Dear Snekkestsnek:
Glad you got your problem fixed. I hope you don't mind being a "poster person" for conventional wisdom and best practice. Namely: this situation explains precisely why the FIRST STEP in registry editing should always be to BACK UP YOUR PC. Then, if things go wrong -- as they did for you, to your immediate regret and consternation -- you can simply restore the backup and return things to where they were beforehand. An image backup made just before such efforts using a package like Macrium Reflect would be an excellent approach to this kind of situation.
HTH, and sorry for your troubles.
--Ed--