User Tools

Site Tools


computing:windows:windows_10_bloat

This is an old revision of the document!


Clean Up Bloated Windows 10

Cleanup Script for Fresh Windows 10

Enable Running PowerShell Scripts

In PowerShell as an administrator:

Set-ExecutionPolicy Unrestricted -Scope LocalMachine

Reset policy:

Set-ExecutionPolicy RemoteSigned

:!: Tested on domain-joined PC.

Cleanup Script

Best cleanup script found to date:

https://gist.github.com/alirobe/7f3b34ad89a159e6daa1

Remove Default Apps

Get-AppxPackage -AllUsers *3dbuilder* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowsalarms* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowscommunicationsapps* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowscamera* | Remove-AppxPackage
Get-AppxPackage -AllUsers *officehub* | Remove-AppxPackage
Get-AppxPackage -AllUsers *skypeapp* | Remove-AppxPackage
Get-AppxPackage -AllUsers *getstarted* | Remove-AppxPackage
Get-AppxPackage -AllUsers *zunemusic* | Remove-AppxPackage
Get-AppxPackage -AllUsers *solitairecollection* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingfinance* | Remove-AppxPackage
Get-AppxPackage -AllUsers *zunevideo* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingnews* | Remove-AppxPackage
Get-AppxPackage -AllUsers *onenote* | Remove-AppxPackage
Get-AppxPackage -AllUsers *people* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowsphone* | Remove-AppxPackage
Get-AppxPackage -AllUsers *photos* | Remove-AppxPackage
Get-AppxPackage -AllUsers *windowsstore* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingsports* | Remove-AppxPackage
Get-AppxPackage -AllUsers *soundrecorder* | Remove-AppxPackage
Get-AppxPackage -AllUsers *bingweather* | Remove-AppxPackage
Get-AppxPackage -AllUsers *xboxapp* | Remove-AppxPackage

This will remove most apps other than Edge, Calculator and Store (use at your own risk):

Get-AppxPackage -AllUsers | where-object {$_.name –notlike "*store*" -And $_.name –notlike "*calculator*"} | Remove-AppxPackage

Get-AppxProvisionedPackage –online | where-object {$_.packagename –notlike "*store*" -And $_.packagename –notlike "*calculator*"} | Remove-AppxProvisionedPackage -online

Reinstall Default Apps

Get-AppxPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}
computing/windows/windows_10_bloat.1559227923.txt.gz · Last modified: 2019/05/30 08:52 by gcooper