When you right-click a file, and select Open with… in a Windows 10/11 computer, the following error may appear:
This file does not have a program associated with it for performing this action. Please install a program or, if one is already installed, create an association in the Default Programs control panel.
Or if the Open with… menu expands and you click the Choose another app option in the submenu, the same error may be seen.
This happens if the following registry key, its subkeys, or some of its values are missing:
HKEY_CLASSES_ROOT\Unknown
To fix the problem, download openwith-fix.zip, unzip and run the enclosed REG file openwith-fix.reg
.
Note: This REG file is to be used in Windows 10 and Windows 11 systems only. For Windows XP, Vista, and 7 versions of this fix, check out this page.
Here are the contents of the REG file:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Unknown]
"AlwaysShowExt"=""
"TypeOverlay"=""
[HKEY_CLASSES_ROOT\Unknown\DefaultIcon]
@=hex(2):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,30,00,00,00
[HKEY_CLASSES_ROOT\Unknown\shell]
@="openas"
[HKEY_CLASSES_ROOT\Unknown\shell\InvokeDefaultVerbInOtherProcess]
"ProgrammaticAccessOnly"=""
[HKEY_CLASSES_ROOT\Unknown\shell\InvokeDefaultVerbInOtherProcess\command]
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[HKEY_CLASSES_ROOT\Unknown\shell\Open]
"MultiSelectModel"="Single"
"ProgrammaticAccessOnly"=""
[HKEY_CLASSES_ROOT\Unknown\shell\Open\command]
@=hex(2):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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,31,00,22,00,00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[HKEY_CLASSES_ROOT\Unknown\shell\openas]
"MultiSelectModel"="Single"
@=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,73,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,35,\
00,33,00,37,00,36,00,00,00
[HKEY_CLASSES_ROOT\Unknown\shell\openas\command]
@=hex(2):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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,22,00,25,\
00,31,00,22,00,00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
[HKEY_CLASSES_ROOT\Unknown\shell\OpenWithSetDefaultOn]
"MultiSelectModel"="Single"
"ProgrammaticAccessOnly"=""
[HKEY_CLASSES_ROOT\Unknown\shell\OpenWithSetDefaultOn\command]
@=hex(2):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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4f,00,70,00,\
65,00,6e,00,57,00,69,00,74,00,68,00,2e,00,65,00,78,00,65,00,20,00,2d,00,6f,\
00,76,00,65,00,72,00,72,00,69,00,64,00,65,00,20,00,22,00,25,00,31,00,22,00,\
00,00
"DelegateExecute"="{e44e9428-bdbc-4987-a099-40dc8fd255e7}"
(Last tested on Windows 10 v21H2 and Windows 11 v21H2.)
One small request: If you liked this post, please share this?
One "tiny" share from you would seriously help a lot with the growth of this blog. Some great suggestions:- Pin it!
- Share it to your favorite blog + Facebook, Reddit
- Tweet it!
Thanks a ton. I had been looking for a solution and nothing worked. then tried googling invokedefaultsverbinprocess and it worked!
Glad that helped, Rahul. Thanks for the comment.
Man! Thanks a lot! I was looking for solutions to my problem with the “choose another app”. Glad i trusted you bro great job! 🙂
thanks a million! i tried several other methods to no avail but this worked. i presume ccleaner’s registry cleaner did this to me but not 100% sure…
This was the only post that helped me fix my open with after smart file advisor screwed it. Thanks a lot.
omg thanks so much it worked 🙂
It works! You are my man!