Set Default Apps During OSD Task Sequence Not working

jaybird283 561 Reputation points
2021-02-13T07:58:59.247+00:00

Has anyone had any luck setting default apps with a SCCM task Sequence? i have plenty of experience setting it on my traditional "golden" images, but i am moving to SCCM for imaging now and working on my task sequence. Just using VL media, not custom image.

The problem i am running into is that i think the dism import is working fine but either the defaults are getting reset (because i see tons of messages about that, but that usually doesn't mean anything), or somehow my import step isn't working....

Here is how i am doing it. I deployed the OS and apps to a VM, Changed the Mail app to outlook 2016 and .PDF to adobe reader, exported the default apps to xml using dism, then created a package that includes a DefaultApps.xml and a SetDefaultApps.cmd that's running Dism.exe /online /Import-DefaultAppAssociations:Defaultapps.xml but the end result is a bunch of "app defaults were reset" and edge being the pdf viewer and the mail app being the default mail program (not outlook).

I even tried Dism.exe /online /Import-DefaultAppAssociations:%~dp0Defaultapps.xml but still no workie....

really strange because i feel like i have done everything right.... the OS i am deploying is 20H2. for some reason it seems to work ok on LTSC though (using the exact same task sequence).

Microsoft Configuration Manager Deployment
Microsoft Configuration Manager Deployment
Microsoft Configuration Manager: An integrated solution for for managing large groups of personal computers and servers.Deployment: The process of delivering, assembling, and maintaining a particular version of a software system at a site.
896 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Simon Ren-MSFT 29,791 Reputation points Microsoft Vendor
    2021-02-15T09:52:59.037+00:00

    Hi,

    Thanks for posting in Microsoft MECM Q&A forum.

    Please try to put it in a .cmd file and use the ~dp0 variable to get it to work.
    command line: Dism.exe /online /Import-DefaultAppAssociations:%~dp0Defaultapps.xml

    For more information, please refer to:
    Making IE the default browser in Windows 10 during OSD
    SCCM WINDOWS 10 CUSTOMIZATION USING TASK SEQUENCES
    Please note: The links are not from Microsoft, just for your reference. Thanks for your time.

    Thanks for your time.

    Best regards,
    Simon


    If the response is helpful, please click "Accept Answer" and upvote it.
    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments