How to disable built-in apps for Windows 10 reset associations to default values

By | 10.12.2018



How to disable built-in apps for Windows 10 reset associations to default values

Already it has been noticed that after the installation of cumulative updates to Windows 10, the operating system reconfigures some regular applications so that they start to default even if they were replaced by third-party software. In particular, this happens with Edge, Photos, and Mail. The reason for this behavior of Windows, however, lies not so much in the updates, so in the mechanism of file associations settings.

When you make a program the default, the system writes to the registry, a special value indicating that this Association is exhibited precisely by the user, and any application. Therefore, Windows is protected from malicious software, changing file associations without your knowledge. In Windows 10, this mechanism is apparently not yet finalized, and when the system detects a mismatch recorded in the register values from the source, then immediately resets the Association to the default, and the user gets a notification.

However, with a little effort, spontaneous reset of Association can be prevented. For a start it is desirable to know the version of the problem, i.e. restoring the default application, so it will be easier to find the desired value in the registry. The easiest way to do it by running as administrator PowerShell command Get-AppxPackage > C:/appsna.txt.

Как запретить встроенным приложениям Windows 10 сбрасывать ассоциации к значениям по умолчанию

As a result, you will receive a text file with a list of universal applications. For example, you need to disable the reset associations for Microsoft Edge. Find Edge browser and see its full name (PackageFullName).

Как запретить встроенным приложениям Windows 10 сбрасывать ассоциации к значениям по умолчанию

In our example it is Microsoft.MicrosoftEdge_25.10586.0.0_neutral__8wekyb3d8bbwe. Further, the regedit, open the registry editor and expand the following branch:

HKEY_CURRENT_USER/SOFTWARE/Classes/Local Settings/Software/Microsoft/Windows/CurrentVersion/AppModel/Repository/Packages/XXXXX/ MicrosoftEdge/Capabilities/FileAssociations

In place of the XXXXX substitute the full name of the application. Also note that for other applications the element key «MicrosoftEdge» looks like an App, in addition, full names of most universal application is console neutral have the suffix x64 or x86 depending on the bitness of your system. For example, the application key of the Photo will look like this:

HKEY_CURRENT_USER/Software/Classes/Local Settings/Software/Microsoft/Windows/CurrentVersionAppModel/RepositoryPackages/Microsoft.Windows.Photos_16.201.11370.0_x86__8wekyb3d8bbwe/App/Capabilities/FileAssociations

Как запретить встроенным приложениям Windows 10 сбрасывать ассоциации к значениям по умолчанию

In any case, the FileAssociations subkey in the right part of editor window you need to find the file type Association which are reset. For example, the Edge is HTML, HTM, PDF, SVG, and XML. View, its value, and then expand the branch HKEY_CURRENT_USER/SOFTWARE/Classes/User_Keywhere User_Key — peeped you value. We have it AppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9. That is, the key will look like this:

HKEY_CURRENT_USER/SOFTWARE/ClassesAppX4hxtad77fbk3jkkeerkrm0ze94wjf3s9

Как запретить встроенным приложениям Windows 10 сбрасывать ассоциации к значениям по умолчанию

Create a subkey with this long name the new string value named NoOpenWith, and an empty value.

Как запретить встроенным приложениям Windows 10 сбрасывать ассоциации к значениям по умолчанию

The same operation repeat for other file extensions and universal apps that become the default. Keys Windows applications you will find the branch HKEY_CURRENT_USER/SOFTWARE/Classes/Local Settings/Software/Microsoft/Windows/CurrentVersion/AppModel/Repository/Packages, the full name of a specific program can be obtained from PowerShell. After making changes, will only have again to install third party programs used by default. More settings to stray will not.




Добавить комментарий

Ваш e-mail не будет опубликован. Обязательные поля помечены *