Slim / Reduce Windows 10 Install

Windows 10 comes bogged down with a ton of junk from the Windows Store, and also has hibernation enabled by default. This is a huge space waster and has some impact on the performance of your machine. Run Powershell as Administrator and run the following script to Slim down and speed up your Windows 10 Install.

NOTE: Get-AppxPackage -AllUsers line can be skiped if you want to keep Windows Store / Built-In Apps (Calculator / Bing News / Mail / etc.)

Get-AppxPackage -AllUsers | Remove-AppxPackage
Disable-ComputerRestore c:
Get-Childitem “C:WindowsLogsdosvc” | Remove-Item -Verbose
powercfg -h off
Cleanmgr.exe

Please note: The final command runs disk cleanup, this remove old update files and prior versions of windows. This can free up as much as 20 GB of space!

4 thoughts on “Slim / Reduce Windows 10 Install

    1. Chris Titus Post author

      This tries to remove all windows apps including the store and will give warnings / errors on some that are dependent on particular windows services. To test this do a clean install and run powershell as Administrator and you will see it cleans out all the crapware in the start menu. They are great commands to use, but make sure you run your Powershell as Administrator or it can’t remove anything.

      Reply
  1. Paul

    Just a heads up, doing the first command will remove stuff you may have wanted to keep such as Calculator.

    Reply
  2. Anon

    If you have uninstalled all of the apps, but want to keep something like useful like the calculator, you can use this command line in PowerShell to re-install it:

    Get-AppxPackage -allusers *windowscalculator* | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register “$($_.InstallLocation)\AppXManifest.xml”}

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *