Browse Source

rename unremovable default apps

close #14
pull/17/head
Alex Hirsch 9 years ago
parent
commit
379698abfa
  1. 13
      scripts/remove-default-apps.ps1

13
scripts/remove-default-apps.ps1

@ -39,6 +39,7 @@ $apps = @(
"king.com.CandyCrushSaga"
)
echo "Uninstalling default apps"
foreach ($app in $apps) {
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -ErrorAction SilentlyContinue
@ -46,3 +47,15 @@ foreach ($app in $apps) {
where DisplayName -EQ $app |
Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
}
echo "Renaming unremovable apps"
$apps = @(
"Microsoft.BioEnrollment_cw5n1h2txyewy"
"Microsoft.XboxGameCallableUI_cw5n1h2txyewy"
"Microsoft.XboxIdentityProvider_cw5n1h2txyewy"
"WindowsFeedback_cw5n1h2txyewy"
)
foreach ($app in $apps) {
mv "$env:WinDir\SystemApps\$app" "$env:WinDir\SystemApps\_$app"
}

Loading…
Cancel
Save