Windows 10: Disallowrun and locked exe, cmd, regedit Solved

Page 2 of 2 FirstFirst 12
  1.    09 Mar 2018 #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
      My ComputerSystem Spec

  2.    09 Mar 2018 #12

    Windows automatically keeps a backup of the registry. My concern is it may be too late and this is also corrupt.

    However....
    Disallowrun and locked exe, cmd, regedit Attached Files
      My ComputerSystem Spec

  3.    09 Mar 2018 #13

    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.
      My ComputerSystem Spec

  4.    09 Mar 2018 #14

    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--
      My ComputersSystem Spec


 
Page 2 of 2 FirstFirst 12

Related Threads
Regedit issue in Performance & Maintenance
Hello, Previously when I tried to open "Regedit", a warning notice was asking if I want to make changes...., then clicked on 'yes' and the editor opened. Recently when I try to open the Regedit, it just opens without that warning. Is something...
RegEdit - Can I delete this ? in General Support
When I open "Regedit" - "HKEY_LOCAL_MACHINE" and "HKEY_USERS" a number of points that has the same name. Can these are marked on the image be deleted or they still have a function. ? What software is the best reg cleaner (currently using...
Solved cannot delete key in regedit in General Support
tried to delete HKEY_CURRENT_USER\Software\360TotalSecurity Thought I had removed 360 Total Security from pc running Win 10. But it still appears in Task Manager as a Background process. Keep receiving message error while deleting key. My account...
Regedit in Performance & Maintenance
Looking for help with how to clean up My regedit.
Solved regedit changes in General Support
Made a change in HKLM, so that my numloc keys worked on start-up, previous version. Upgraded via update to 10166, Be advised for this change to become effective had to restart comp again. I know its SOP for reg changes but, on an upgrade. SO...
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 19:59.
Find Us