Page 1 of 1

I accidentlied an important registry file :|

Posted: 27 May 2011, 18:06
by Lord_Hector
To start with you should know that I'm not some random guy here just for this problem, I am active player and part of this community! :3

Anyways, AFAIK most Spring people have good understand of computers and technicle shizzle so I'm sure you can help me...

My problem: I got a virus, I deleted all the files and registry entries etc for the virus (following the instructions of some internet guide), I'm pretty sure I got rid of it but I accidently deleted the whole exefile folder in regedit lol
(HKEY_CURRENT_USER\Software\Classes\exefile)

now I can't run any exe files because I get an error message. I can hower, open exe files through other file types like opening irfanview.exe with a .jpg file or itunes.exe with .mp3 file (I also got tasclient open by trying to open a replay with it)

I haven't ever saved my registry or set a system restore. So I have no backups to revert to. I'm hoping to just get a new exefile if that's possible. I couldn't actually find any mention of it on google though.

It's also probably worth mentioning I can't open regedit because it's an exe file D:

Shower me with your extensive knowledges pls.

ps. windows 7

Re: I accidentlied an important registry file :|

Posted: 27 May 2011, 18:16
by knorke
friend had this on this (win xp) computer, what i did was:
google for "windows exe files association registry bla" or something to know what entries are needed.

create a textfile by rightclick, new .txt file.
copy&paste entries into .txt and rename to .reg.

doubleclicking the .reg adds the entries to registry.

Or maybe this works:
http://www.pcpowerguide.com/processes/e ... on-errors/
/edit
better link: http://support.microsoft.com/kb/950505/en-us?fr=1

Re: I accidentlied an important registry file :|

Posted: 27 May 2011, 18:32
by Lord_Hector
lol your search and links produced lots of results for when .exe files are not doing the right thing or are associated with the wrong thing. The recommended fix was "type assoc .exe=exefile" D:

Which is kind of my problem, I no longer have exefile for .exe to be associated with :'(

Re: I accidentlied an important registry file :|

Posted: 27 May 2011, 18:38
by knorke
lol your search and links produced lots of results for when .exe files are not doing the right thing or are associated with the wrong thing.
yes, seems relevant to
now I can't run any exe files because I get an error message.
The recommended fix was "type assoc .exe=exefile" D:
Then do it..? Type it into this "run" window or a console or the "new task" button from taskmanager (on xp, dunno 7)

Re: I accidentlied an important registry file :|

Posted: 27 May 2011, 18:54
by Gnomre
knorke wrote:Then do it..? Type it into this "run" window or a console or the "new task" button from taskmanager (on xp, dunno 7)
gj reading what he said after that

Anyway my brother just had this happen to him to. It was one of those fake virus scanner deals. Anyway here's the reg file I found that fixed it, but it's for windows 7 so I don't know if it'll work with anything else:

Code: Select all

Windows Registry Editor Version 5.00

;File association fix for [.EXE] - Windows 7
;http://www.winhelponline.com/blog

[HKEY_CLASSES_ROOT\.EXE]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.EXE\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  32,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,\
  00,2c,00,2d,00,31,00,30,00,31,00,35,00,36,00,00,00

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runas]
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runasuser]
@="@shell32.dll,-50944"
"Extended"=""
"SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"

[HKEY_CLASSES_ROOT\exefile\shell\runasuser\command]
"DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers]
@="Compatibility"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\Compatibility]
@="{1d27f844-3a1f-4410-85ac-14651078412d}"

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.EXE\UserChoice]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.EXE\OpenWithProgids]
"exefile"=hex(0):

Re: I accidentlied an important registry file :|

Posted: 27 May 2011, 19:59
by Lord_Hector
Gnomre wrote:
knorke wrote:Then do it..? Type it into this "run" window or a console or the "new task" button from taskmanager (on xp, dunno 7)
gj reading what he said after that

Anyway my brother just had this happen to him to. It was one of those fake virus scanner deals. Anyway here's the reg file I found that fixed it, but it's for windows 7 so I don't know if it'll work with anything else:

Code: Select all

code
Yeah mine was a fake virus scanner too, also I am on windows 7 but that looks like a fix for the virus.. I can see the virus files which I manually deleted.. the virus isn't the problem any more but I did a silly when I was deleting and killed a whole folder (exefile)
knorke wrote:
lol your search and links produced lots of results for when .exe files are not doing the right thing or are associated with the wrong thing.
yes, seems relevant to
now I can't run any exe files because I get an error message.
The recommended fix was "type assoc .exe=exefile" D:
Then do it..? Type it into this "run" window or a console or the "new task" button from taskmanager (on xp, dunno 7)
No because I dont have 'exefile' so how can I associate '.exe' with it

Re: I accidentlied an important registry file :|

Posted: 27 May 2011, 22:31
by Forboding Angel
Lord_Hector wrote:No because I dont have 'exefile' so how can I associate '.exe' with it
Go back into regedit and recreate:
Lord_Hector wrote:(HKEY_CURRENT_USER\Software\Classes\exefile)
Then do:

Code: Select all

Windows Registry Editor Version 5.00

;File association fix for [.EXE] - Windows 7
;http://www.winhelponline.com/blog

[HKEY_CLASSES_ROOT\.EXE]
@="exefile"
"Content Type"="application/x-msdownload"

[HKEY_CLASSES_ROOT\.EXE\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_CLASSES_ROOT\exefile]
@="Application"
"EditFlags"=hex:38,07,00,00
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
  00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
  32,00,5c,00,73,00,68,00,65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,\
  00,2c,00,2d,00,31,00,30,00,31,00,35,00,36,00,00,00

[HKEY_CLASSES_ROOT\exefile\DefaultIcon]
@="%1"

[HKEY_CLASSES_ROOT\exefile\shell\open]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\exefile\shell\open\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runas]
"HasLUAShield"=""

[HKEY_CLASSES_ROOT\exefile\shell\runas\command]
@="\"%1\" %*"
"IsolatedCommand"="\"%1\" %*"

[HKEY_CLASSES_ROOT\exefile\shell\runasuser]
@="@shell32.dll,-50944"
"Extended"=""
"SuppressionPolicyEx"="{F211AA05-D4DF-4370-A2A0-9F19C09756A7}"

[HKEY_CLASSES_ROOT\exefile\shell\runasuser\command]
"DelegateExecute"="{ea72d00e-4960-42fa-ba92-7792a7944c1d}"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers]
@="Compatibility"

[HKEY_CLASSES_ROOT\exefile\shellex\ContextMenuHandlers\Compatibility]
@="{1d27f844-3a1f-4410-85ac-14651078412d}"

[HKEY_CLASSES_ROOT\exefile\shellex\DropHandler]
@="{86C86720-42A0-1069-A2E8-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PifProps]
@="{86F19A00-42A0-1069-A2E9-08002B30309D}"

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\ShimLayer Property Page]
@="{513D916F-2A8E-4F51-AEAB-0CBC76FB1AF8}"

[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.EXE\UserChoice]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.EXE\OpenWithProgids]
"exefile"=hex(0):
Since everyone here is so smart, then stop telling everyone that they're wrong, and just freaking do it.

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 02:17
by Lord_Hector
lol I probably should have said I did try that crappy bit of code but it failed

I got my problem fixed from another website with real smart people

>_>

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 02:22
by TradeMark
Lord_Hector wrote:lol I probably should have said I did try that crappy bit of code but it failed

I got my problem fixed from another website with real smart people

>_>
wow... what a prick. you come here to ask help and people try to help you and then you imply: "lal, i solved this by some other website which had much more smarter people than here, hihi u sux and failed helping me! >_>"

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 04:15
by Forboding Angel
Lord_Hector wrote:lol I probably should have said I did try that crappy bit of code but it failed
It isn't code, genius. It's registry entries and values.

TradeMark wrote:wow... what a prick.
^^This.

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 10:27
by hoijui
he said he is not able to start up exe files directly, but is able to do so using an argument. then he claims he has no exe's anymore.
nuff said.
i wanted to suggest using linux, as it has neither exe's nor viruses, but at this level of... any advice is pointless.
but as it is all good again:
happy guardian spamming!

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 11:02
by Jazcash
Hai Sheep.

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 12:43
by Lord_Hector
both responses to try and help me were just incorrect and didn't read my OP properly

the problem was pretty simple too

don't be mad because you lack intelligence, it's not your fault

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 13:26
by TradeMark
Lord_Hector wrote:both responses to try and help me were just incorrect and didn't read my OP properly

the problem was pretty simple too

don't be mad because you lack intelligence, it's not your fault
wow... ban this guy already

Re: I accidentlied an important registry file :|

Posted: 28 May 2011, 15:59
by Gnomre
I'd like to see the link to the solution that worked for you.