W4RH4WK/Debloat-Windows-10

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

Aberta

#188 aberto em 17 de fev. de 2019

 (3 comentários) (0 reação) (0 responsável)PowerShell (794 forks)batch import
help wanted

Métricas do repositório

Stars
 (6.144 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

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.

Guia do colaborador