W4RH4WK/Debloat-Windows-10

"remove-default-apps.ps1" does not account for dependenices

Open

#188 aperta il 17 feb 2019

Vedi su GitHub
 (3 commenti) (0 reazioni) (0 assegnatari)PowerShell (804 fork)batch import
help wanted

Metriche repository

Star
 (6158 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

When running "remove-default-apps.ps1" on a fresh Windows 10 Pro, it fails upon doing a:

Get-AppxPackage Microsoft.Advertising.Xaml | Remove-AppxPackage

This is because several packages depend on this, such as Microsoft.People, microsoft.windowscommunicationsapps, as so forth. So it should be moved to the bottom of the list, or the logic should be expanded to check for dependencies first and uninstall those before uninstall.

Guida contributor