Jump to content

File associations in Win 10


Recommended Posts

Posted

I hear that is no longer possible to add file associations in the registry on Windows 10. And that you need to obtain a secret hash. To what extent is this true? What happens if you open Registry Editor and try to add keys under HKCR, or try to merge a REG file with Registry Editor? Do other registry editors like Registry Workshop have been prevented from acessing parts of the registry?

To me this is an important disadvantage of Windows 10 because I need to put 5 to 10 programs on the right-click menu to open a file in different programs depending on the situation.


Posted

Login as local admin (edit: and set the default applications as desired), then in a admin command prompt run:

dism /online /Export-DefaultAppAssociations:"C:\DefaultAppAssociations.xml"

This will save the file DefaultAppAssociations.xml to C:\

Then run:

dism /online /Import-DefaultAppAssociations:"C:\DefaultAppAssociations.xml"

This will set the defaults on all new users who sign into that system but if won't work for users with existing profiles on the system.

To check this run:

dism /Online /get-DefaultAppAssociations >C:\TEMP\DefaultApps.txt

Got this from here.

https://community.spiceworks.com/topic/2147839-how-to-set-windows-10-default-programs-for-every-user-with-powershell-script

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...