The current file association settings in an offline Windows image can be obtained using this command:ĭism.exe /Image:C:\mnt\offline /Get-DefaultAppAssociations Configure Default File Associations with Group Policy The resulting XML file can be imported into a Windows on other computers using the DISM tool:ĭism.exe /Online /Import-DefaultAppAssociations:C:\PS\DefaultAssoc.xml For example, we’ll leave the following lines for PDF and FDF extensions: Leave only the lines with the file extensions you need. If you need to use only a part of associations from this list (in order not to override the existing user associations), you can manually edit the XML file. You can open the DefaultAssoc.xml file with any text editor, and see the full list of file associations exported. The command exports to an XML file all of your configured program associations. XML file using DISM:ĭism.exe /online /Export-DefaultAppAssociations:C:\PS\DefaultAssoc.xml The current file association settings for programs configured under the current user can be exported to an. This is possible for apps registered in the registry key HKEY_CLASSES_ROOT\Applications.Įxport and Import Default App Associations on Windows to the XML file
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |