Forum Discussion
Removing Unwanted apps in Windows using Intune
I would like to remove unwanted Windows 11 apps that is not productive to users like Solitaire, News, Xbox etc... so, I wrote a powershell script to do this and it is not running and executing properly, even though I tried running the same PS script on a regular desktop which works.
So, my thoughts are, is there a way to do this in Intune by selecting applications through CSP and removing it for all devices that is in Intune and Azure AD joined or if you even have a better script that would do the job by running it through Intune, I would appreciate if you could provide one.
Thanks in advance.
- Did you tried this one: https://www.burgerhout.org/remove-bloatware-on-windows-10/
7 Replies
- whotevaCopper Contributor
The fact you need to hunt around to figure this out is wild to me.
Microsoft 365 and intune fails as a platform due to this.
No company or private end user should ever have to deal with potentially dangerous and always unsolicited software on any device. - RobertK86Copper ContributorMicrosoft also has scripts for Windows 10/11 removing built-in apps: https://www.microsoft.com/en-us/download/details.aspx?id=102905
This one keeps the Microsoft store: https://www.microsoft.com/en-us/download/details.aspx?id=102904
You can find documentation on how to use it with Intune here: https://learn.microsoft.com/en-us/mem/intune/fundamentals/cloud-configuration-setup-guide#step-3---configure-onedrive-known-folder-move-and-deploy-a-script-to-remove-built-in-apps- whotevaCopper Contributor
I ran the script through copilot, gemini, and chatGPT.
all of them state this script will not remove anything.
I'm looking for something that removes every piece of software (from those provisioned by intune) with extreme prejudice from any device.In all fairness it should be a feature of windows
I would even go as far as saying an end user should be allowed to sue an OEM for providing preinstalled software
- Did you tried this one: https://www.burgerhout.org/remove-bloatware-on-windows-10/
- Dylan_HarleyCopper Contributor
thank you for providing this link, I'm following through the steps provided on the website and I'm new to writing PowerShell so just thought id ask a question, with the final part of the script that executes the removal of the application, does that part of the script need to be repeated for each application ? providing each display name for every application I'm looking to remove, or is there an easier way to do it ?
- DengelkesCopper Contributor
Dylan_HarleyHi Dyan, if you look toward the bottom of the script, there is a for each loop, so the loop it running through each item in the $ProvisionedPackages List which comes from the $UninstalledPackages variable, Notices that when loop executes on trying to remove the package it is done in a Try statement, which is used in exception handling, if the try statements fails then an log is written to a file.
- DengelkesCopper Contributor
Rudy_Ooms_MVP I have just tested out his Windows 11 scripts and I can say it does work on removing the Microsoft xbox junk from the systems.