Remove Windows store App from Windows 10 during OSD


 

If you don’t want all the default Windows Store Apps that comes with Windows 10, then you can follow this guide. Removing Windows Store Apps will also make the first logon faster.

1. Download RemoveApps.ps1

2. Run it on your reference machine

3. The first time you run the script it will generate a xml file in the same folder where the script is. It contains all the apps that have been removed. If you don’t want to remove all the windows store apps, then you can remove the apps that you want to keep in the xml file. Then put it in the same folder as RemoveApps.ps1. The script will then look for the xml file and only remove the apps that is defined in the xml file. Example of the xml file:

Microsoft.3DBuilder
Microsoft.Appconnector
Microsoft.BingFinance
Microsoft.BingNews
Microsoft.BingSports
Microsoft.BingWeather
Microsoft.CommsPhone
Microsoft.ConnectivityStore
Microsoft.Getstarted
Microsoft.Messaging
Microsoft.MicrosoftOfficeHub
<!–Microsoft.MicrosoftSolitaireCollection –>
Microsoft.Office.OneNote
Microsoft.Office.Sway
Microsoft.People
Microsoft.SkypeApp
<!– Microsoft.Windows.Photos –>
Microsoft.WindowsAlarms
<!– Microsoft.WindowsCalculator –>
Microsoft.WindowsCamera
microsoft.windowscommunicationsapps
Microsoft.WindowsMaps
Microsoft.WindowsPhone
Microsoft.WindowsSoundRecorder
<!– Microsoft.WindowsStore –>
Microsoft.XboxApp
Microsoft.ZuneMusic
Microsoft.ZuneVideo

This will keep “Microsoft.MicrosoftSolitaireCollection ” + “Microsoft.Windows.Photos ” + “Microsoft.WindowsCalculator” + “Microsoft.WindowsStore ” and remove the rest

4. Create a package in SCCM and add “RemoveApps.ps1” and “RemoveApps.xml”

5. Create a “Run Power Shell Script” step in your task sequence and run “RemoveApps.ps1”
image

 

That’s it. The Windows store Apps will be removed during OSD.

 

https://blogs.technet.microsoft.com/mniehaus/2015/11/11/removing-windows-10-in-box-apps-during-a-task-sequence/