Nov 26, 2008

Enable Regedit

As said in the earlier post here is an alternate method to get the registry editor back after a virus infection. Do exactly as given below..

--- Open notepad.

--- Copy and Paste the code given below as it is.

[Version]
Signature="$Chicago$"
Provider=Symantec

[DefaultInstall]
AddReg=UnhookRegKey

[UnhookRegKey]
HKLM, Software\CLASSES\batfile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\comfile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\exefile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\piffile\shell\open\command,,,"""%1"" %*"
HKLM, Software\CLASSES\regfile\shell\open\command,,,"regedit.exe ""%1"""
HKLM, Software\CLASSES\scrfile\shell\open\command,,,"""%1"" %*"
HKCU, Software\Microsoft\Windows\CurrentVersion\Policies\System,DisableRegistryTools,0x00000020,0


--- Then go to file menu in notepad and then save as. Save this file as repair.inf or any name but save it as a .inf extension.

--- After the file is saved, double click on it or right click on it and press install.

That's it you got the Regedit back.


10 comments:

  1. Wow!! this worked

    the tip on Ask Leo gets the task manager back. This little .inf file has just got my regedit back.

    Thank you, thank you, thank you.

    Regards

    Nick
    London
    XP Pro

    ReplyDelete
  2. thank you very must. it help me to fix my friend laptop

    ReplyDelete
  3. I am not able to open regedit window, I am having window xp- home edition. Neither i am getting any kind of popup message.

    Please advice.
    Many Thanks.

    ReplyDelete
  4. hey you need to save it as inf and then right click it and click install

    ReplyDelete
  5. thanks to much it's really amayzing

    ReplyDelete
  6. This trick DOES NOT WORK (!!!) with Window 7 x64 Pro to allow local administrator to write into the HKEY_CLASSES_ROOT

    ReplyDelete
  7. I tried the repair option and installed but still it did not work...

    ReplyDelete
  8. If it didn't work try: Start>>Run>>gpedit.msc>>System>>Prevent Access to Registry Editing Tools (set this to DISABLED) Finished!

    ReplyDelete
  9. its work, amazing. thank for share

    ReplyDelete