Skip to main content

Evaluation code:



$testFile = "$env:windir\RemovedBloatware.txt"

$testFileValue = (Test-Path $testFile)



if ($testFileValue -eq $true ) {

Exit 0

} else { Exit 1 }



Remediation code:



schtasks /delete /tn GlanceDiscovery /f

Get-AppxPackage -Allusers -Name MirametrixInc.GlancebyMirametrix | Remove-AppxPackage -AllUsers

Get-AppxPackage -Allusers -name "Microsoft.ZuneMusic" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Music.Preview" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxGameCallableUI" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingTravel" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingHealthAndFitness" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingFoodAndDrink" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.People" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingFinance" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.3DBuilder" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingNews" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxApp" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingSports" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.WindowsCamera" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Getstarted" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Office.OneNote" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.WindowsMaps" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.MicrosoftSolitaireCollection" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.MicrosoftOfficeHub" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.BingWeather" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.WindowsPhone" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.SkypeApp" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Wallet" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Messaging" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.MixedReality.Portal" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "microsoft.windowscommunicationsapps" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.WindowsMaps" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.GetHelp" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Office.OneNote" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.YourPhone" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.OneConnect" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.WindowsFeedbackHub" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxGameOverlay" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxGamingOverlay" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxIdentityProvider" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.XboxSpeechToTextOverlay" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name "Microsoft.Microsoft3DViewer" | Remove-AppxPackage -Allusers

Get-AppxPackage -Allusers -name *LinkedInforWindows* | Remove-AppxPackage -Allusers

New-Item -ItemType file $env:windir\RemovedBloatware.txt

FYI, I ran this and it uninstalled the snipping tool for users


it also removed, windows media player, microsoft camera, calculator, and not sure what else it removed but now I need to fix it on several machines

 


Hey @kprice! Did you use the same worklet through our official worklet catalog? I checked in with our worklets team and that worklet does remove the calculator and camera and all other preinstalled bloatware unless there’s an exception added.  Hope that helps clarify! 

#Attempt to uninstall all Microsoft Win10 store apps not in exception list

I was able to download and fix the tools removed. I just didnt expect it to do what it did. Thanks Sophia


I was able to download and fix the tools removed. I just didnt expect it to do what it did. Thanks Sophia

Of course! Glad you were able to fix it! 


Reply