A collection of Scripts which disable / remove Windows 10 Features and Apps
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

62 lines
1.8 KiB

9 years ago
# Description:
# This script removes unwanted Apps that come with Windows. If you do not want
# to remove certain Apps comment out the corresponding lines below.
9 years ago
$apps = @(
# default Windows 10 apps
"Microsoft.3DBuilder"
"Microsoft.Appconnector"
"Microsoft.BingFinance"
"Microsoft.BingNews"
"Microsoft.BingSports"
"Microsoft.BingWeather"
"Microsoft.Getstarted"
#"Microsoft.MicrosoftEdge"
"Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.Office.OneNote"
"Microsoft.People"
"Microsoft.SkypeApp"
"Microsoft.Windows.Cortana"
"Microsoft.Windows.Photos"
"Microsoft.WindowsAlarms"
"Microsoft.WindowsCalculator"
"Microsoft.WindowsCamera"
"Microsoft.WindowsMaps"
"Microsoft.WindowsPhone"
"Microsoft.WindowsSoundRecorder"
"Microsoft.WindowsStore"
"Microsoft.XboxApp"
"Microsoft.ZuneMusic"
"Microsoft.ZuneVideo"
"microsoft.windowscommunicationsapps"
# apps from Windows 8 upgrade
"9E2F88E3.Twitter"
"Flipboard.Flipboard"
"Microsoft.MinecraftUWP"
"ShazamEntertainmentLtd.Shazam"
"king.com.CandyCrushSaga"
9 years ago
)
echo "Uninstalling default apps"
9 years ago
foreach ($app in $apps) {
Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -ErrorAction SilentlyContinue
9 years ago
Get-AppXProvisionedPackage -Online |
where DisplayName -EQ $app |
Remove-AppxProvisionedPackage -Online -ErrorAction SilentlyContinue
9 years ago
}
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"
}