Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: cannot set file association - option greyed out

04 Feb 2010   #1
chrysalis

windows 7 ultimate x64
 
 
cannot set file association - option greyed out

Ok so I set the association for .ini files to regedit. I assumed it be easy to change back again.

Now when I try to set via open with or the control panel this happens.

I see notepad and wordpad as reccomended programs. I can select one but the "always use the selected program to open this file" is greyed out and unticked so the change doesnt stick.

If I navigate to notepad.exe manually it still is the same problem.

A reboot doesnt fix the problem.

If I try to fix in the registry it is set to notepad.

HKEY_CLASSES_ROOT\inifile\shell\open\command

value notepad.exe

double clicking opens regedit.


My System SpecsSystem Spec
04 Feb 2010   #2
chrysalis

windows 7 ultimate x64
 
 

ok I found the fix, weird I have to say.

microsoft it seems have in their wisdom that if regedit is set as a association for a file it then is disabled to set it to a new program, this setting is what controls it.

HKEY_CLASSES_ROOT\Applications\regedit.exe

REG_SZ value called NoOpenWith

I renamed to NoOpenWith2 and when I went back to the control panel the box was still ghosted but this time ticked and double clicking notepad saved the new setting.
My System SpecsSystem Spec
04 Feb 2010   #3
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello Chrysalis,

You can also download and use the INI download option in the tutorial below. It will restore all of the default associations for it.

Default File Type Associations - Restore

Hope this helps,
Shawn
My System SpecsSystem Spec
04 Feb 2010   #4
chrysalis

windows 7 ultimate x64
 
 

Hi, yes those restore files look handy and would have done the job so will remember if a next time, thanks.
My System SpecsSystem Spec
04 Feb 2010   #5
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

You're welcome. Hopefully will not have to.
My System SpecsSystem Spec
04 Feb 2012   #6
MJRNightmare

Windows 7 64 Pro
 
 

Old Post but I know people will go nuts trying to figure this one out. Nothing here or from other sites worked for me. Some of the fixes seemed too general and I did not want to reset all, only fix the one. I'm an IT guy and tried the usual Windows Control Panel etc...

So... delete the UseChoice from hkcu. In my case I associated .shader with Visual Studio. After doing it, realized VS does not highlight code like Mono Developement, but couldn't switch it back.

Removing the key below re-enabled the check box. now I could re-associate with Mono.

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.shader\UserChoice]
"Progid"="Applications\\VCSExpress.exe"

For you, find the extension giving you grief in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\
If it has a "UserChoice" key delete it. (Back it up if you are paranoid, right click export!)

I don't think I even rebooted and the check box was back.

Cheers
My System SpecsSystem Spec
04 Feb 2012   #7
Brink
Microsoft MVP

64-bit Windows 8.1 Enterprise
 
 

Hello MJR, and welcome to Seven Forums.

That's what the specific downloads in the tutorial below does automatically for only the selected file extension that you wanted to restore back to it's default associations.

Default File Type Associations - Restore
My System SpecsSystem Spec
Reply

 cannot set file association - option greyed out




Thread Tools



Similar help and support threads for2: cannot set file association - option greyed out
Thread Forum
Solved Sleep Option greyed out. General Discussion
Firewall 'Change Settings' Option Greyed Out System Security
Solved Word 2010:Page Number option greyed out Microsoft Office
PPPoE conncetion drop - connect option greyed out Network & Sharing
Sleep option is greyed out! Cannot hibernate too! Performance & Maintenance
Option greyed out Network & Sharing
Share Folder option greyed out Network & Sharing

Our Sites

Site Links

About Us

Find Us

Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 10:53 PM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App