Since the release of Windows 10, it has been common for organization to try and reduce the footprint of built-in apps (or default apps) in their reference images, or even during bare-metal deployment. Over the years, the community has provided several solutions on how to accomplish this including myself. During this time, I’ve attempted to keep my script updated after each new release of Windows 10. You’ll find the post about the method I’m using in the script and how to use it when creating a reference image here:

Remove Built-in apps when creating a Windows 10 reference image

Now with Windows 10 version 1903 released, it’s time for another update for the remove built-in apps script.

Microsoft is currently investigating an issue involving removal of built-in apps in Windows 10 version 1809 that’s occurring on systems with fast disks, such as NVMe hard drives. The issue results in random freezing when attempting to run a script like this during an online phase. Initial testing of Windows 10 version 1903 is proving better than 1809, however there’s no official statement yet and debugging results are still being analyzed.

Download script

I’ve made the script available on our GitHub repository along with all the other scripts that we’ve shared, and it’s available on the following URL:

https://github.com/SCConfigMgr/ConfigMgr/blob/master/Operating%20System%20Deployment/Invoke-RemoveBuiltinApps.ps1

What’s new

  • During initial analysis of Windows 10 version 1903 (build 18362), it seems that there’s no new built-in apps that should be added for white-listing in the list of this script.

Using the script

Reference the previous instructions from the original post mentioned above. I highly encourage you to also implement the solution at the bottom from Johan’s blog about how to turn of the automatic app updates from the Windows Store. If you intend to use this script for bare-metal deployment using e.g. ConfigMgr, that’s also supported. Simply execute the script after the operating system has been applied after the Setup Windows and ConfigMgr step.

https://deploymentresearch.com/Research/Post/615/Fixing-why-Sysprep-fails-in-Windows-10-due-to-Windows-Store-updates

Below are a few screenshots of how I’m using this script to remove the built-in apps along with Johan’s scripts when creating a reference image using MDT:

Here’s one from when you enable the app updates from Windows Store at the end before creating the WIM file:

And when using the script in ConfigMgr, here’s an example of how that could look:

(4795)

There are no comments.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.