less than 1 minute read

Remove all preinstalled bloatware (these apps can be redownloaded again through the Microsoft Store):

Get-AppxPackage -AllUsers | Remove-AppxPackage

Optionally, adding back Microsoft Store:

Get-AppxPackage -allusers Microsoft.WindowsStore | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"}

Enable the built in CompactOS feature, to reclaim storage space:

Compact.exe /CompactOS:always

Categories:

Updated: