For a little more than one year ago, I posted a script that would automate the process of removing built-in applications when creating a Windows 10 reference image. Since then, the script has been amended a couple of times, and it’s now time for another iteration.

What’s new

This updated version of the script includes the following changes:

  • Added new white list variables for easier management and visibility of apps being excluded from the removal process
  • Added capability to remove Features on Demand V2 applications, like Quick Assist and Contact Support applications
  • Fixed a bug when building the appx package list not to be fully populated, resulting in all unwanted appx packages were not removed
  • Added a function to write the output of the script to a log file called RemovedApps.log located in C:\Windows\Temp.

Get the updated script

You’ll find the updated script in the original post, available below:

www.scconfigmgr.com/2016/03/01/remove-built-in-apps-when-creating-a-windows-10-reference-image

Nickolaj Andersen
Principal Consultant and Enterprise Mobility MVP since 2016. Nickolaj has been in the IT industry for the past 10 years specializing in Enterprise Mobility and Security, Windows devices and deployments including automation. Currently working for TrueSec as a Principal Consultant. Awarded as PowerShell Hero in 2015 by the community for his script and tools contributions. Creator of ConfigMgr Prerequisites Tool, ConfigMgr OSD FrontEnd, ConfigMgr WebService to name a few. Frequent speaker at conferences and user groups.

(4619)

comments
  • Jamie Dickson
    Posted at 17:40 May 30, 2017
    Jamie Dickson
    Reply
    Author

    I used your script as instructed in MDT and my Deployment Summary has a list of Object reference not set to an instance of an object. When I look at the log I see no errors. Any thoughts?

  • Leave a Reply