Created
August 6, 2019 02:43
-
-
Save 2KAbhishek/4eea119971a0e07b09c9f78200c73a89 to your computer and use it in GitHub Desktop.
Powershell Commands for Debloating windows 10
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Remove Apps except store: | |
Get-AppxPackage -AllUsers | where-object {$_.name notlike *store*} | Remove-AppxPackage | |
#Remove windows apps: | |
Get-AppxPackage -allusers | Remove-AppxPackage | |
#Restore Store: | |
Add-AppxPackage -register "C:\\Program Files\WindowsApps\Microsoft.WindowsStore_11703.1001.45.0_x64__8wekyb3d8bbwe\AppxManifest.xml" -DisableDevelopmentMode | |
#Restore all apps : | |
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment