For some time now when I click Open with from Windows Explorer's context menu I'm getting this error

This file does not have a program associated with it to perform this action. Create an association in the Set Associations control panel.

instead of the standard Choose Default Program dialog. I'm getting this error no matter what the extension of the selected file is (as long as there's Open with option for given extension; some extensions do not show this option). How can I fix this?


Check files associations settings

Control Panel -> Default Programs -> Set Files Associations

There you can edit associations for each file type

  • You missed the point. The problem is I don't get the standard Choose Default Program dialog for files with unknown (not associated) extensions. May 16 '10 at 10:02

This article didn't tell me exactly how to fix it but it gave me an idea:


It said to examine the following registry key:


And it said to look at the following default value:

C:\%windir%\rundll32.exe shell32.dll,OpenAs_RunDLL %1 
  • 3
    And then what did you do? Dec 2 '12 at 22:19
  • This key didn't help me in my case. CCleaner has removed default value from similar key: "HKEY_CLASSES_ROOT\Unknown\shell\opendlg\command" I've found it by doing reverse regression testing on the reg-backup file from CCleaner (by hand). But in general you should be OK by importing this file: web.archive.org/web/20150124034505/http://windowsxp.mvps.org/…
    – saulius2
    Nov 9 '15 at 16:54

Not the answer you're looking for? Browse other questions tagged or ask your own question.