Get-AppxPackage -AllUsers | Remove-AppxPackageDisable-ComputerRestore c:Get-Childitem “C:WindowsLogsdosvc” | Remove-Item -Verbosepowercfg -h offCleanmgr.exe
Slim Windows 10 Install
https://www.christitus.com/2018/09/09/debloat-windows-10/ on a newer and improved way to debloat and slim Windows 10.
This following commands slim down and reduce windows 10 footprint. Removing bloatware and cleaning up your system from windows apps. 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.)
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!
Leave any Questions and Comments below and I will get back to you. I regularly publish on YouTube, Steemit, and christitus.com so if you’d like to see more videos and articles click the subscribe button in the top right.
UPDATED POST
First and third command do not work.
Failes to remove apps and cannot find WindowsLogsdosvc.
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.
Just a heads up, doing the first command will remove stuff you may have wanted to keep such as Calculator.
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”}