Windows provides what is called bloatware on newly built PC’s. Below is how you remove those unwanted applications you do not want to deploy as part of your provisioning process. Below shows you how to remove these apps with a simple task. Feel free to create one that removes all of the apps you do not want to deploy or create individual task for each.
This is to be used in the OSD Phases process i provided a guide on how to setup earlier. Link here.
Block Microsoft from adding new ModernUI Apps to your machine
Modern UI apps are set to download and updated automatically. There are ways for disabling new UI apps to be installed. I have a group policy in my environment to block these automatic updates.
For those without access to group policy or that is not a good solution. I have created a task in Bigfix you can use to disable automatic updates.
https://bigfix.me/fixlet/details/26664
Remove Built-in Windows Apps
To view a list of modern UI apps currently installed on a machine you can open powershell and run the command
Get-AppxPackage |Select Name, PackageFullName
This will list all of the applications currently installed.
Now we can create a Bigfix action to uninstall the applications you do not want installed. The method below will remove these apps from the default users profile. This will stop these apps from installing on any new profiles going forward. I recommend putting this action in Phase 1 – Branding that I spoke about earlier. This way when the machine is built the machine will automatically log in as the administrator account and then complete Phase 1, Phase 2 and Phase 3 and reboot. Once complete the machine with have removed all of the UI Apps you wanted and users will log in the machine the first time and there will not be any useless UI apps installed that you do not want.
Now we will want to create an action in BigFix to remove these apps
You can use a template i have uploaded on Bigfix.me here or create your own task
https://bigfix.me/fixlet/details/26666
To create your own task...
Open the BigFix Console and go to tools Create New Task click on the Actions Tab
Paste the action script below notice the highlighted <PASTE Command(s) HERE> This is where you will paste the command or commands listed below.
action uses wow64 redirection false delete __createfile // CREATEFILE createfile until END_OF_FILE <PASTE Command(s) HERE> END_OF_FILE delete windowsapps.ps1 move __createfile windowsapps.ps1 waithidden { pathname of file ((it as string) of value "Path" of key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.PowerShell" of native registry) } -ExecutionPolicy unrestricted -File windowsapps.ps1
Each of the commands are below
3d Builder
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.3dbuilder*'} | remove-appxprovisionedpackage –online
Adobe Photoshop Express
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*AdobeSystemsIncorporated.AdobePhotoshopExpress*'} | remove-appxprovisionedpackage –online
Alarms & Clock
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsAlarms*'} | remove-appxprovisionedpackage –online
App Connector
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Appconnector*'} | remove-appxprovisionedpackage –online
Asphalt Airborne
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Asphalt8Airborne*'} | remove-appxprovisionedpackage –online
Calculator
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsCalculator*'} | remove-appxprovisionedpackage –online
Calendar and Mail
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*microsoft.windowscommunicationsapps*'} | remove-appxprovisionedpackage –online
Camera
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsCamera*'} | remove-appxprovisionedpackage –online
Candy Crush Soda Saga
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*king.com.CandyCrushSodaSaga*'} | remove-appxprovisionedpackage –online
Drawboard PDF
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.DrawboardPDF*'} | remove-appxprovisionedpackage –online
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Facebook*'} | remove-appxprovisionedpackage –online
Fallout Shelter
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*BethesdaSoftworks.FalloutShelter*'} | remove-appxprovisionedpackage –online
Farmville 2
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*FarmVille2CountryEscape*'} | remove-appxprovisionedpackage –online
Feedback Hub
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsFeedbackHub*'} | remove-appxprovisionedpackage –online
Get Help
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.GetHelp*'} | remove-appxprovisionedpackage –online
Get Started or Tips
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Getstarted*'} | remove-appxprovisionedpackage –online
Groove Music
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.ZuneMusic*'} | remove-appxprovisionedpackage –online
Mail and Calendar
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*microsoft.windowscommunicationsapps*'} | remove-appxprovisionedpackage –online
Maps
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsMaps*'} | remove-appxprovisionedpackage –online
Messaging
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Messaging*'} | remove-appxprovisionedpackage –online
Microsoft Pay
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Wallet*'} | remove-appxprovisionedpackage –online
Microsoft Solitaire Collection
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.MicrosoftSolitaireCollection*'} | remove-appxprovisionedpackage –online
Microsoft Store
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsStore*'} | remove-appxprovisionedpackage –online
Microsoft To-Do
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Todos*'} | remove-appxprovisionedpackage –online
Microsoft Wi-fi
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Todos*'} | remove-appxprovisionedpackage –online
Minecraft
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*MinecraftUWP*'} | remove-appxprovisionedpackage –online
Mobile Plans
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.OneConnect*'} | remove-appxprovisionedpackage –online
Money
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*bingfinance*'} | remove-appxprovisionedpackage –online
Movies and TV
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.ZuneVideo*'} | remove-appxprovisionedpackage –online
MSN News
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.BingNews*'} | remove-appxprovisionedpackage –online
My Office
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.MicrosoftOfficeHub*'} | remove-appxprovisionedpackage –online
Netflix
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Netflix*'} | remove-appxprovisionedpackage –online
OneNote
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*onenote*'} | remove-appxprovisionedpackage –online
Paint 3D
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.MSPaint*'} | remove-appxprovisionedpackage –online
Pandora
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*PandoraMediaInc*'} | remove-appxprovisionedpackage –online
People
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.People*'} | remove-appxprovisionedpackage –online
Phone
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*CommsPhone*'} | remove-appxprovisionedpackage –online
Phone Companion
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*windowsphone*'} | remove-appxprovisionedpackage –online
Photos
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Windows.Photos*'} | remove-appxprovisionedpackage –online
Print 3D
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Print3D*'} | remove-appxprovisionedpackage –online
People
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Print3D*'} | remove-appxprovisionedpackage –online
Royal Revolt 2
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*flaregamesGmbH.RoyalRevolt2*'} | remove-appxprovisionedpackage –online
Scan
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.ScreenSketch*'} | remove-appxprovisionedpackage –online
Sketch Book
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*AutodeskSketchBook*'} | remove-appxprovisionedpackage –online
Skype
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.SkypeApp*'} | remove-appxprovisionedpackage –online
Snip and Sketch
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.ScreenSketch*'} | remove-appxprovisionedpackage –online
Sports
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*bingsports*'} | remove-appxprovisionedpackage –online
Sticky Notes
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.MicrosoftStickyNotes*'} | remove-appxprovisionedpackage –online
Store
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsStore*'} | remove-appxprovisionedpackage –online
Sway
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Office.Sway*'} | remove-appxprovisionedpackage –online
Tips (build 1703)
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.Getstarted*'} | remove-appxprovisionedpackage –online
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Twitter*'} | remove-appxprovisionedpackage –online
View 3D Preview
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft3DViewer*'} | remove-appxprovisionedpackage –online
Voice Recorder
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.WindowsSoundRecorder*'} | remove-appxprovisionedpackage –online
Weather
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.BingWeather*'} | remove-appxprovisionedpackage –online
Xbox
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.XboxApp*'} | remove-appxprovisionedpackage –online
Xbox Game Bar
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.XboxGamingOverlay*'} | remove-appxprovisionedpackage –online
Xbox Idenity Provider
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.XboxIdentityProvider*'} | remove-appxprovisionedpackage –online
Xbox One SmartGlass
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*XboxOneSmartGlass*'} | remove-appxprovisionedpackage –online
Xbox Game Speech Window
Get-appxprovisionedpackage –online | where-object {{$_.packagename –like '*Microsoft.XboxSpeechToTextOverlay*'} | remove-appxprovisionedpackage –online
---------------------------------------------------------------------------------------------------------------
Add the Relevance Statement to the task
name of operating system starts with "Win10"
Now you should have a task like below you can add to the OSD Phase 1. Here is a link on how to setup the OSD Phases