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.