Set Custom File Extension For W10
Description:
I haven’t done this yet, but I wanted to take notes for when I do this. Follow this guide to set custom file extensions in Windows 10.
To Resolve:
-
Setup computer the way you want
-
Run:
1
dism /online /export-defaultappassociations:"C:\Temp\IE-DefaultBrowser.xml"
-
NOTE: DO NOT delete lines from this.
-
This didn’t work, what DID work was:
1
Dism /Online /get-DefaultAppAssociations >C:\TEMP\DefaultApps.txt
- Then just rename to XML.
-
-
On new computer:
1
Dism.exe /online /import-defaultappassociations:c:\temp\CustomFileAssoc.xml
- Your file will be copied in
C:\Windows\System32
with the following nameOEMDefaultAssociations.xml
- Your file will be copied in
-
Or through GPO:
-
Configure the following policy
Set a default associations configuration file
located inComputer\Policies\Administrative Templates\Windows Components\File Explorer
-
If this group policy is enabled and the client machine is domain-joined, the file will be processed, and default associations will be applied at logon time.
-
To control only some extensions, see the reference.
-
References:
“Windows 10 – How to configure file associations for IT Pros?”
Comments