Last active
January 30, 2019 17:08
-
-
Save duboisph/86fd868ed1185c8d444d78e5655c275f to your computer and use it in GitHub Desktop.
Troubleshoot / restore Windows
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
sfc /scannow | |
dism /online /cleanup-image /checkhealth | |
dism /online /cleanup-image /startcomponentcleanup | |
dism /online /cleanup-image /restorehealth | |
Get-AppXPackage -AllUsers | Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)\AppXManifest.xml"} | |
# Get list of all packages for all users | |
Get-AppxPackage -AllUsers | Select Name, PackageFullName, InstallLocation | |
# Remove packages / bloatware from all users | |
Remove-AppxPackage -AllUsers <PackageFullName> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment