Set Custom File Extension For W10

less than 1 minute read

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:

1. Setup computer the way you want

  1. 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.
  2. 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 name OEMDefaultAssociations.xml
  3. Or through GPO:

    • Configure the following policy Set a default associations configuration file located in Computer\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?”

-----------------------------------------------------------
Spotted a mistake in this article? Why not suggest an edit!
Did you like the article? Donations are always welcome!
-----------------------------------------------------------

Comments