W4RH4WK/Debloat-Windows-10

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

Open

#188 ouverte le 17 févr. 2019

Voir sur GitHub
 (3 commentaires) (0 réactions) (0 assignés)PowerShell (804 forks)batch import
help wanted

Métriques du dépôt

Stars
 (6 158 stars)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

Description

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.

Guide contributeur