Windows 10 File Association – Cannot Set Store App as Default Program

file associationwindows 10windows-store-app

Usually, right clicking on a file, selecting "Open with" followed by "Choose another app…" brings up the following menu which also includes installed apps, so that one may be set as the default application for the file type:

Program List

However, when trying to open a file using a Windows 10 Store app and the above method, the app is not listed. I can open the app, then open the file from within it, however this is less convenient.

So far I have tried to use the app's exe file (CodeWriter.exe), but this does not work without an app container.

To reitterate – I am not asking for suggestions for workarounds as I can open the file; I am specifcally asking how to set a store app as the default application when it is not in the above list.

Best Answer

The store app has to make the registration in this registry key:

HKEY_CURRENT_USER\SOFTWARE\RegisteredApplications

And then set the File association\Capabilities in another key, mentioning each file type it can handle. For example Microsoft Edge has the registration here.

HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages\Microsoft.MicrosoftEdge_25.10586.0.0_neutral__8wekyb3d8bbwe\MicrosoftEdge\Capabilities\FileAssociations

If you can post the export of RegisteredApplications branch, I can make a REG file which adds the FileAssociations info for that application.

With this done, the application should be normally displayed in the Open with.. dialog, as well as in Default Apps.

Update (May 3 2016):

You can use this REG file to add .CONF file type, using the same association setting for CodeWriter .txt file type.

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\SOFTWARE\Classes\Local Settings\Software\Microsoft\Windows\CurrentVersion\AppModel\Repository\Packages\ActiproSoftwareLLC.562882FEEB491_2.5.17.17_neutral__24pqs290vpjk0\App\Capabilities\FileAssociations]
".conf"="AppXea46y3k4tynme684q1dgefbnb0b9r8ec"

Pls note that you need to take ownership of the above registry key, add yourself full Permissions, then merge the REG file. Once done, reverse the Permissions to defaults.

Note: This REG file is valid for the current version (as of this post) of Code Writer. If you have any other version, make the modification in the appropriate key.

The key might have the following naming/numbering convention or similar.

ActiproSoftwareLLC.562882FEEB491_n.n.nn.nn_neutral__24pqs290vpjk0

Related Question