How to Enable / Disable “Always use the selected program to open this kind of file” Option in Open With Dialog Box?



Whenever we use "Open With" option to open a file in Windows, it shows a dialog box containing a list of installed programs to choose from. There is also a checkbox "Always use the selected program to open this kind of file" given at the bottom of this dialog box which is used to set the selected program permanent to open that file type.

Windows XP Default "Open With" Dialog Box:

http://img.photobucket.com/albums/v374/vishaal_here/Open_with_enabled_XP.jpg

Windows Vista, 7 or Server 2008 Default "Open With" Dialog Box:

http://img.photobucket.com/albums/v374/vishaal_here/Open_with_enabled.jpg

Sometimes its getting irritating when we accidentally select a program from the list and click on "OK" button. It sets the selected program as default to open that file type which adds some extra work to our life.

So here I'll tell you a simple registry trick to permanently disable this checkbox:

For Windows XP:

Method A:

1. Open regedit and goto:

HKEY_CLASSES_ROOT\Unknown\shell\openas\command

2. In right-side pane, change value of "Default" key to as following:

%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1 %2

NOTE: We have only appended %2 at last of default value. You can use any number from 2-9.

3. Exit registry editor and try to open "Open With" dialog box. You'll find that the checkbox is disabled now as shown in following screenshot:

http://img.photobucket.com/albums/v374/vishaal_here/Open_with_disabled_XP.jpg

Method B:

1. Open regedit and goto:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Policies\Explorer

If the "Explorer" key is not present, create it manually.

2. Now in right-side pane, create a new DWORD value NoFileAssociate and set its value to 1

3. Exit registry editor and try to open "Open With" dialog box. You'll find that the checkbox is disabled now as shown in following screenshot:

http://img.photobucket.com/albums/v374/vishaal_here/Open_with_invisible_XP.jpg

For Windows Vista, 7 or Server 2008:

Method A:

1. Open regedit and goto:

HKEY_CLASSES_ROOT\Unknown\shell\opendlg\command

2. In right-side pane, change value of "Default" key to as following:

%SystemRoot%\system32\rundll32.exe %SystemRoot%\system32\shell32.dll,OpenAs_RunDLL %1 %2

NOTE: We have only appended %2 at last of default value. You can use any number from 2-9.

3. Exit registry editor and try to open "Open With" dialog box. You'll find that the checkbox is disabled now as shown in following screenshot:

http://img.photobucket.com/albums/v374/vishaal_here/Open_with_disabled.jpg

Method B:

1. Open regedit and goto:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\ Policies\Explorer

If the "Explorer" key is not present, create it manually.

2. Now in right-side pane, create a new DWORD value NoFileAssociate and set its value to 1

3. Exit registry editor and try to open "Open With" dialog box. You'll find that the checkbox is disabled now as shown in following screenshot:

http://img.photobucket.com/albums/v374/vishaal_here/Open_with_invisible.jpg

NOTE: As you can see, when we use Method A to disable the checkbox, the "Open With" dialog box doesnt show recommended programs list which it does when we use Method B. Also if you see the last screenshot of Windows Vista, the Method B totally remove the checkbox instead of disabling it.

BONUS TIP: This tutorial can also be used in reverse condition. e.g. if this checkbox is already disabled in your Windows and you want to enable it, then you can remove the %2 mentioned in Method A or set value of DWORD value to 0 as mentioned in Method B.



This article was posted in Troubleshooting, Windows 7, Windows Vista, Windows XP.

Subscribe to RSS Feed | Email Newsletter | More Articles

Related Articles

Popular Articles



7 Comments

  • Good Bless you .

  • Hello webmaster...Man i love reading your blog, interesting posts ! it was a great Friday .

  • Was wondering, since for a program that box is all ready disabled, if there was a way to enable it?

  • Great article, thankyou. Is there a way of resetting an 'open with' back to default?
    My check box was ticked and I clicked too quick!

  • Hi,

    I have a problem on Windoes 7 Pro with .avi files. The "Always use the selected program to open this kind of file". I've tried method A and B (in reverse mode), I've tried from "Control Panel\All Control Panel Items\Default Programs\Set Associations" and I cannot change my actual default program. Do you have any idea what I should do?

  • VG

    ^^ Your desired program should have an option in its Settings to associate it with avi and other media files.

  • Like darkyndy's problem. but with Windows Desktop Gadgets.

Add a Comment

NOTE: If you can't see your comment, please be patient. It'll appear as soon as we approve it.


Create an avatar that will appear with your comment.