question

jaybird283-2674 avatar image
0 Votes"
jaybird283-2674 asked SimonRenMSFT-3639 edited

Set Default Apps During OSD Task Sequence Not working

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).

mem-cm-osd
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SimonRenMSFT-3639 avatar image
0 Votes"
SimonRenMSFT-3639 answered SimonRenMSFT-3639 edited

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.


5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.