PDA

View Full Version : DELETED THE .EXE FILE FROM MY REGISTRY HELP!!



madmanX
01-06-2002, 09:35 AM
I accidently erase my .exe file under my HKEY_CLASSES_ROOT and now I can't open the majority of my program like morpheus instant messanger and others. I can't even download too, please help. How can I get my .exe file back into my registry that I accidently deleted.

billydee
01-06-2002, 10:49 AM
This is taken from a virus fix posted elsewhere in this forum.
It would seem to apply here.
Whether it works, or not, I cannot take credit for. /images/forums/icons/wink.gif

Copy everything between the lines below into notepad.
Save the file by naming it fix.inf
Right click on the fix.inf file and select install. This will re-associate the .exe file extension.
You can then run your programs again.

__________________________________________________ ____________

[Version]
signature=$CHICAGO$

[DefaultInstall]
AddReg=EnableRegandexe

[EnableRegandexe]
HKCR,\.reg,,,"regfile"
HKCR,\regfile,,,"Registration Entries"
HKCR,\regfile\DefaultIcon,,,"C:\WINDOWS\regedit.exe,1"
HKCR,\regfile\shell,,,""
HKCR,\regfile\shell\open,,,"Mer&ge"
HKCR,\regfile\shell\open\command,,,"regedit.exe %1"
HKCR,\regfile\shell\print,,,""
HKCR,\regfile\shell\print\command,,,"C:\WINDOWS\NOTEPAD.EXE /p %1"
HKCR,\regfile\shell\edit,,,"&Edit"
HKCR,\regfile\shell\edit\command,,,"C:\WINDOWS\NOTEPAD.EXE %1"
HKCR,\.exe,,,"exefile"
HKCR,\.exe,"Content Type",,"application/x-msdownload"
HKCR,\exefile,,,"Application"
HKCR,\exefile,EditFlags,1,D8,07,00,00
HKCR,\exefile\shell,,,""
HKCR,\exefile\shell\open,,,""
HKCR,\exefile\shell\open\command,,,""%1" %*"
HKCR,\exefile\DefaultIcon,,,"%1"

__________________________________________________ _____________

This advice is free.
You might only get what you paid for. /images/forums/icons/wink.gif