Windows 10: Windows10 Setting Default App associations with DISM after sysprep not

Discus and support Windows10 Setting Default App associations with DISM after sysprep not in Windows 10 Customization to solve the problem; Hi Everyone I am working on creating new Windows10 images for our organization. I am using CopyProfile during sysprep to create a default Windows... Discussion in 'Windows 10 Customization' started by Chris Parsons, Mar 6, 2017.

  1. Windows10 Setting Default App associations with DISM after sysprep not


    Hi Everyone

    I am working on creating new Windows10 images for our organization. I am using CopyProfile during sysprep to create a default Windows profile with all our settings. For some reason the default app associations are getting cleared during sysprep. I need to find a way to set them after deployment.

    I have tried using the DISM command to export my app associations to an .xml before sysprep. and again import them after imaging. I have tried running the DISM import command manually and setting it in Group policy under “Set a default associations config file” . Both do not seem to have any effect on Default application settings.

    I have also tried manually copying the contents of my DefaultApp.xml export to the OEMDefaultAssociations.xml file under system32. This also does not change anything

    I'm wondering if anyone has run into a similar issue and could offer some advice.
    The help is much appreciated

    Thank You


    :)
     
    Chris Parsons, Mar 6, 2017
    #1
  2. tingbest Win User

    Windows 10 After Sysprep , Apps Can`t Change Language

    Dear all

    i am making multi language windows 10 for my customer

    1. I use ctrl + shift + F3 to enter the English Windows10

    Then download the Chinese and Japanese language packs

    But after using sysprep

    Apps do not change the language with the system

    Still in English, I want Apps to become Chinese or Japanese

    2. ctrl + shift + F3 into the English Windows10

    I will install a lot of software, and set the default Apps

    For example, Chrome becomes a web browser

    But after using sysprep

    All will be restored into the original

    I hope you can help me solve these two problems


    Windows10 Setting Default App associations with DISM after sysprep not [​IMG]
     
    tingbest, Mar 6, 2017
    #2
  3. Riel Alc Win User
    Windows 10 After Sysprep , Apps Can`t Change Language

    Hi,

    To better assist you with Sysprep, please contact our Microsoft Developer Network.

    Thank you.
     
    Riel Alc, Mar 6, 2017
    #3
  4. Kari Win User

    Windows10 Setting Default App associations with DISM after sysprep not

    Hi Chris, welcome to Ten Forums.

    Could you please give an example of an app set to be default in Audit Mode but then losing its default status after Sysprep.
     
    Kari, Mar 6, 2017
    #4
  5. Hi Kari thank you for the reply!

    For example I have Firefox set as my default web browser before sysprep and it is cleared after. All my File-Type associations have not changed , just default application settings.

    Here is my exported defaultapps.xml file that I am attempting to set after deployment.

    <?xml version="1.0" encoding="UTF-8"?><DefaultAssociations> <Association Identifier=".3gp2" ProgId="WMP11.AssocFile.3G2" ApplicationName="Windows Media Player" /> <Association Identifier=".bmp" ProgId="Paint.Picture" ApplicationName="Paint" /> <Association Identifier=".dib" ProgId="Paint.Picture" ApplicationName="Paint" /> <Association Identifier=".emf" ProgId="emffile" ApplicationName="Paint" /> <Association Identifier=".gif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".htm" ProgId="FirefoxHTML" ApplicationName="Firefox" /> <Association Identifier=".html" ProgId="FirefoxHTML" ApplicationName="Firefox" /> <Association Identifier=".ico" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jfif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpe" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpeg" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpg" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".MP2" ProgId="WMP11.AssocFile.MP3" ApplicationName="Windows Media Player" /> <Association Identifier=".mpeg" ProgId="WMP11.AssocFile.mpeg" ApplicationName="Windows Media Player" /> <Association Identifier=".oxps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /> <Association Identifier=".png" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".rle" ProgId="rlefile" ApplicationName="Paint" /> <Association Identifier=".tif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".tiff" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".txt" ProgId="txtfile" ApplicationName="Notepad" /> <Association Identifier=".url" ProgId="IE.AssocFile.URL" ApplicationName="Internet Browser" /> <Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" ApplicationName="Firefox" /> <Association Identifier=".wmf" ProgId="wmffile" ApplicationName="Paint" /> <Association Identifier=".xps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /> <Association Identifier="http" ProgId="FirefoxURL" ApplicationName="Firefox" /> <Association Identifier="https" ProgId="FirefoxURL" ApplicationName="Firefox" /> <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook 2016" /></DefaultAssociations>

    Thanks!
     
    Chris Parsons, Mar 6, 2017
    #5
  6. Kari Win User
    That's a pain in the you know where to read!

    Please edit your post and put the XML code in
    Code:
     tags:
     
     [CODE]XML code here
     
    Kari, Mar 6, 2017
    #6
  7. I am sorry about that, yep that is definitely impossible to read. I did not realize.
    Code: <?xml version="1.0" encoding="UTF-8"?><DefaultAssociations> <Association Identifier=".3gp2" ProgId="WMP11.AssocFile.3G2" ApplicationName="Windows Media Player" /> <Association Identifier=".bmp" ProgId="Paint.Picture" ApplicationName="Paint" /> <Association Identifier=".dib" ProgId="Paint.Picture" ApplicationName="Paint" /> <Association Identifier=".emf" ProgId="emffile" ApplicationName="Paint" /> <Association Identifier=".gif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".htm" ProgId="FirefoxHTML" ApplicationName="Firefox" /> <Association Identifier=".html" ProgId="FirefoxHTML" ApplicationName="Firefox" /> <Association Identifier=".ico" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jfif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpe" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpeg" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpg" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".MP2" ProgId="WMP11.AssocFile.MP3" ApplicationName="Windows Media Player" /> <Association Identifier=".mpeg" ProgId="WMP11.AssocFile.mpeg" ApplicationName="Windows Media Player" /> <Association Identifier=".oxps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /> <Association Identifier=".png" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".rle" ProgId="rlefile" ApplicationName="Paint" /> <Association Identifier=".tif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".tiff" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".txt" ProgId="txtfile" ApplicationName="Notepad" /> <Association Identifier=".url" ProgId="IE.AssocFile.URL" ApplicationName="Internet Browser" /> <Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" ApplicationName="Firefox" /> <Association Identifier=".wmf" ProgId="wmffile" ApplicationName="Paint" /> <Association Identifier=".xps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /> <Association Identifier="http" ProgId="FirefoxURL" ApplicationName="Firefox" /> <Association Identifier="https" ProgId="FirefoxURL" ApplicationName="Firefox" /> <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook 2016" /></DefaultAssociations>[/quote]
     
    Chris Parsons, Mar 6, 2017
    #7
  8. Kari Win User

    Windows10 Setting Default App associations with DISM after sysprep not

    LOL not much better now, let me try to edit it to readable form:

    Code: <?xml version="1.0" encoding="UTF-8"?> <DefaultAssociations> <Association Identifier=".3gp2" ProgId="WMP11.AssocFile.3G2" ApplicationName="Windows Media Player" /> <Association Identifier=".bmp" ProgId="Paint.Picture" ApplicationName="Paint" /> <Association Identifier=".dib" ProgId="Paint.Picture" ApplicationName="Paint" /> <Association Identifier=".emf" ProgId="emffile" ApplicationName="Paint" /> <Association Identifier=".gif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".htm" ProgId="FirefoxHTML" ApplicationName="Firefox" /> <Association Identifier=".html" ProgId="FirefoxHTML" ApplicationName="Firefox" /> <Association Identifier=".ico" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jfif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpe" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpeg" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".jpg" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".MP2" ProgId="WMP11.AssocFile.MP3" ApplicationName="Windows Media Player" /> <Association Identifier=".mpeg" ProgId="WMP11.AssocFile.mpeg" ApplicationName="Windows Media Player" /> <Association Identifier=".oxps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /> <Association Identifier=".png" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".rle" ProgId="rlefile" ApplicationName="Paint" /> <Association Identifier=".tif" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".tiff" ProgId="PBrush" ApplicationName="Paint" /> <Association Identifier=".txt" ProgId="txtfile" ApplicationName="Notepad" /> <Association Identifier=".url" ProgId="IE.AssocFile.URL" ApplicationName="Internet Browser" /> <Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" ApplicationName="Firefox" /> <Association Identifier=".wmf" ProgId="wmffile" ApplicationName="Paint" /> <Association Identifier=".xps" ProgId="Windows.XPSReachViewer" ApplicationName="XPS Viewer" /> <Association Identifier="http" ProgId="FirefoxURL" ApplicationName="Firefox" /> <Association Identifier="https" ProgId="FirefoxURL" ApplicationName="Firefox" /> <Association Identifier="mailto" ProgId="Outlook.URL.mailto.15" ApplicationName="Outlook 2016" /> </DefaultAssociations>[/quote]
    OK, at least it's now readable.

    I will do some tests and post back regardless what or if I find something. In the mean time let's hope other members will see this and come up with some ideas.
     
    Kari, Mar 6, 2017
    #8
  9. Thank you so much for the help , and sorry about the annoyance with .xml formatting.
     
    Chris Parsons, Mar 6, 2017
    #9
  10. Kari Win User
    It's nothing, no reason to apologize *Smile

    I am quite experienced with Sysprep (not bragging, just stating a fact) and to be honest I love to get new Sysprep related issues to test and try to resolve.

    I am not promising any tight schedule, just saying I will test this and post something within 24 hours.
     
  11. Awesome, you definitely have more experience with sysprep then I do then!
    No rush and if you don't find a solution I just appreciate the help, and you taking the time to have a look at my issue.

    Thanks
    Chris
     
    Chris Parsons, Mar 6, 2017
    #11
  12. Ken B Win User
    Hi. I have a similar issue (Win10, Build 1607), only after the image has been deployed. I've used DISM to create the XML file, I've modified the XML file (we just want to change the default browser to IE as Edge). The XML file contents are at the end of this thread (I am assuming I can use just a subset...I've tried a whole export of all the settings with DISM but that didn't work either)


    I've copied the XML upto NETLOGON on the DC
    Create a new GPO with the setting as first person reported (“Set a default associations config file”) to the path to NETLOGON (L: \\domainame\netlogon\dismlist-ie-gpo.xml)
    Configured a new test machine that never had the GPO applied to be Edge browser (it was, just verified it)
    Waited a couple of minutes, reboot the machine, login, the GPO is applied (per gpresult /r - I have a one-off policy with just that setting in it)
    RSOP.msc confirms the setting is being seen by the machine
    I go to the file associations - it still says Edge is the browser


    So I copied that XML (from L: \\domain\netlogon) to the local drive (C:\temp)
    Update the GPO to use the file from c:\temp
    Wait a couple of minutes
    reboot and logon
    file association still doesn't change

    Using RSOP, I look at the setting - it sees the XML file is located at c:\temp

    Any suggestions?

    Thanks


    Code: <?xml version="1.0" encoding="UTF-8"?> <DefaultAssociations> <Association Identifier=".website" ProgId="IE.AssocFile.WEBSITE" ApplicationName="Internet Explorer" /> <Association Identifier=".htm" ProgId="htmlfile" ApplicationName="Internet Explorer" /> <Association Identifier=".html" ProgId="htmlfile" ApplicationName="Internet Explorer" /> <Association Identifier="http" ProgId="IE.HTTP" ApplicationName="Internet Explorer" /> <Association Identifier="https" ProgId="IE.HTTPS" ApplicationName="Internet Explorer" /> </DefaultAssociations>[/quote]
     
    Ken B, Apr 5, 2018
    #12
Thema:

Windows10 Setting Default App associations with DISM after sysprep not

Loading...
  1. Windows10 Setting Default App associations with DISM after sysprep not - Similar Threads - Windows10 Setting Default

  2. Windows 10 - Sysprep resets Default Apps and Power Settings

    in Windows 10 Gaming
    Windows 10 - Sysprep resets Default Apps and Power Settings: Hello,We have upgraded our Windows 10 image to 21H2. In Audit mode, default browser is Chrome, default video player is VLC Player. But after Sysprep, default browser resets to MS Edge, PDF's are switched from adobe to edge and etc. It also resets Power Settings, which is High...
  3. Windows 10 - Sysprep resets Default Apps and Power Settings

    in Windows 10 Software and Apps
    Windows 10 - Sysprep resets Default Apps and Power Settings: Hello,We have upgraded our Windows 10 image to 21H2. In Audit mode, default browser is Chrome, default video player is VLC Player. But after Sysprep, default browser resets to MS Edge, PDF's are switched from adobe to edge and etc. It also resets Power Settings, which is High...
  4. Windows 10 - Sysprep resets Default Apps and Power Settings

    in Windows 10 Customization
    Windows 10 - Sysprep resets Default Apps and Power Settings: Hello,We have upgraded our Windows 10 image to 21H2. In Audit mode, default browser is Chrome, default video player is VLC Player. But after Sysprep, default browser resets to MS Edge, PDF's are switched from adobe to edge and etc. It also resets Power Settings, which is High...
  5. Creating an Association for a file on the Default Apps Settings page

    in Windows 10 Gaming
    Creating an Association for a file on the Default Apps Settings page: Would someone please explain, in layman's terms, how to resolve this issue. I have come up against this message several times in the past and have NEVER managed to successfully set up an app. I have searched for answers on Youtube and, frankly, been totally terrified by the...
  6. Creating an Association for a file on the Default Apps Settings page

    in Windows 10 Software and Apps
    Creating an Association for a file on the Default Apps Settings page: Would someone please explain, in layman's terms, how to resolve this issue. I have come up against this message several times in the past and have NEVER managed to successfully set up an app. I have searched for answers on Youtube and, frankly, been totally terrified by the...
  7. Creating an Association for a file on the Default Apps Settings page

    in Windows 10 BSOD Crashes and Debugging
    Creating an Association for a file on the Default Apps Settings page: Would someone please explain, in layman's terms, how to resolve this issue. I have come up against this message several times in the past and have NEVER managed to successfully set up an app. I have searched for answers on Youtube and, frankly, been totally terrified by the...
  8. WIndows 10 default profile Sysprep generalized default app settings change

    in Windows 10 Customization
    WIndows 10 default profile Sysprep generalized default app settings change: After optimizing Windows 10, a default profile was created through generalization.After optimization, all default appx packages have been removed. Is there a way to restore the generalization to the default profile without recreating it?...
  9. Set Default Programs before sysprep?

    in Windows 10 Software and Apps
    Set Default Programs before sysprep?: This does't seem to carry over after sysprep. So similarly, any good options for mass deployment of default programs? So far I've been testing GPOs to no luck. Using user policy, control panel, file options, replace, docx file extensions and then I've tried the...
  10. Sysprep and default apps and windows apps crash

    in Windows 10 Installation and Upgrade
    Sysprep and default apps and windows apps crash: Hi Everyone, I'm from France (sorry my English) I'm installing Windows 10 on new computer for my organization . I try to configurate one with fresh install (package of apps like Libreoffice, VLC, etc. for users) and custom desktop describes in this tutorial: Default...

Users found this page by searching for:

  1. oemdefaultassociations.xml windows 10 sysprep

    ,
  2. default apps win10 xml GPO ProgID Outlook MAIL

    ,
  3. windows set default app associations sysprep all users

    ,
  4. settings default apps sysprep