File Association Has Gone

Hi all,

I did something bad today. I followed an article which I cannot locate now but it asked me to add Permissions to the HKEY_CLASS_ROUTE... to be honest I am in such a mess at the moment, I can't recall which user accounts they were. I think it was Administrator.

Anyway, now I can't access pretty much most things on my Vista PC since then. All file associations have gone! Even .REG.

Does anyone have any simple suggestions to get EXE associated again so that I can run a registry fix program?

Thanks,

Rit
LVL 1
rito1Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Twisted_LogicCommented:
http://filext.com/WinXP_EXE_Fix.reg

try that first, it should re-associate exe files - even though it's written for XP
rito1Author Commented:
Hi,

When I double click the .reg file I get the error:

This file does not have a program associated with it for performing this action...

Is there another alternative to execute this file?

Thanks,

Rit
Twisted_LogicCommented:
If you can get to the registry editor - which you may not be able to do.. then you can import it.  The context of the file is this:

[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
"TileInfo"="prop:FileDescription;Company;FileVersion"
"InfoTip"="prop:FileDescription;Company;FileVersion;Create;Size"

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

[HKEY_CLASSES_ROOT\exefile\shell]

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

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

[HKEY_CLASSES_ROOT\exefile\shell\runas]

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

[HKEY_CLASSES_ROOT\exefile\shellex]

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

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers]

[HKEY_CLASSES_ROOT\exefile\shellex\PropertySheetHandlers\PEAnalyser]
@="{09A63660-16F9-11d0-B1DF-004F56001CA7}"

[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}"


CompTIA Security+

Learn the essential functions of CompTIA Security+, which establishes the core knowledge required of any cybersecurity role and leads professionals into intermediate-level cybersecurity jobs.

rito1Author Commented:
Ok, i'll give it a go. Luckily I can access the registry still... just waiting for PC to reboot!

Thanks,

Rit
Twisted_LogicCommented:
Good luck!
rito1Author Commented:
Doh!.

When importing the .REG file into the registry, I get the following error:

Cannot import FILE: Not all data was successfully written to the registry. Some keys are open by the system or other processes.

I also tried doing the same action in safe mode and still got the error.

I have noticed that I don't seem to have any permissions set HKEY_CLASSES_ROOT level. Can you see any harm with me adding the following users as suggested by the following website:

http://www.vistax64.com/vista-account-administration/75573-hkey_classes_root-permissions.html

I am running a 32Bit rather than a 64Bit.

Rit
Twisted_LogicCommented:
I don't see a problem, you need permissions

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
rito1Author Commented:
Permissions was the issue... I didn't have any!

Thanks,

Rit
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
System Utilities

From novice to tech pro — start learning today.