Browse Source

Sort lines in remove-default-apps.ps1

pull/209/head
Alex Hirsch 5 years ago
parent
commit
ad9ed2d9ae
  1. 83
      scripts/remove-default-apps.ps1

83
scripts/remove-default-apps.ps1

@ -21,10 +21,10 @@ $apps = @(
#"Microsoft.FreshPaint" #"Microsoft.FreshPaint"
"Microsoft.Microsoft3DViewer" "Microsoft.Microsoft3DViewer"
"Microsoft.MicrosoftOfficeHub" "Microsoft.MicrosoftOfficeHub"
"Microsoft.MicrosoftSolitaireCollection"
"Microsoft.MicrosoftPowerBIForWindows" "Microsoft.MicrosoftPowerBIForWindows"
"Microsoft.MinecraftUWP" "Microsoft.MicrosoftSolitaireCollection"
#"Microsoft.MicrosoftStickyNotes" #"Microsoft.MicrosoftStickyNotes"
"Microsoft.MinecraftUWP"
"Microsoft.NetworkSpeedTest" "Microsoft.NetworkSpeedTest"
"Microsoft.Office.OneNote" "Microsoft.Office.OneNote"
#"Microsoft.OneConnect" #"Microsoft.OneConnect"
@ -41,15 +41,14 @@ $apps = @(
"Microsoft.WindowsPhone" "Microsoft.WindowsPhone"
"Microsoft.WindowsSoundRecorder" "Microsoft.WindowsSoundRecorder"
#"Microsoft.WindowsStore" # can't be re-installed #"Microsoft.WindowsStore" # can't be re-installed
"Microsoft.Xbox.TCUI"
"Microsoft.XboxApp" "Microsoft.XboxApp"
"Microsoft.XboxGameOverlay" "Microsoft.XboxGameOverlay"
"Microsoft.XboxGamingOverlay" "Microsoft.XboxGamingOverlay"
"Microsoft.XboxSpeechToTextOverlay" "Microsoft.XboxSpeechToTextOverlay"
"Microsoft.Xbox.TCUI"
"Microsoft.ZuneMusic" "Microsoft.ZuneMusic"
"Microsoft.ZuneVideo" "Microsoft.ZuneVideo"
# Threshold 2 apps # Threshold 2 apps
"Microsoft.CommsPhone" "Microsoft.CommsPhone"
"Microsoft.ConnectivityStore" "Microsoft.ConnectivityStore"
@ -66,8 +65,8 @@ $apps = @(
#Redstone apps #Redstone apps
"Microsoft.BingFoodAndDrink" "Microsoft.BingFoodAndDrink"
"Microsoft.BingTravel"
"Microsoft.BingHealthAndFitness" "Microsoft.BingHealthAndFitness"
"Microsoft.BingTravel"
"Microsoft.WindowsReadingList" "Microsoft.WindowsReadingList"
# Redstone 5 apps # Redstone 5 apps
@ -77,46 +76,46 @@ $apps = @(
"Microsoft.YourPhone" "Microsoft.YourPhone"
# non-Microsoft # non-Microsoft
"9E2F88E3.Twitter" "2FE3CB00.PicsArt-PhotoStudio"
"PandoraMediaInc.29680B314EFC2" "46928bounde.EclipseManager"
"Flipboard.Flipboard"
"ShazamEntertainmentLtd.Shazam"
"king.com.CandyCrushSaga"
"king.com.CandyCrushSodaSaga"
"king.com.BubbleWitch3Saga"
"king.com.*"
"ClearChannelRadioDigital.iHeartRadio"
"4DF9E0F8.Netflix" "4DF9E0F8.Netflix"
"613EBCEA.PolarrPhotoEditorAcademicEdition"
"6Wunderkinder.Wunderlist" "6Wunderkinder.Wunderlist"
"Drawboard.DrawboardPDF" "7EE7776C.LinkedInforWindows"
"2FE3CB00.PicsArt-PhotoStudio"
"D52A8D61.FarmVille2CountryEscape"
"TuneIn.TuneInRadio"
"GAMELOFTSA.Asphalt8Airborne"
#"TheNewYorkTimes.NYTCrossword"
"DB6EA5DB.CyberLinkMediaSuiteEssentials"
"Facebook.Facebook"
"flaregamesGmbH.RoyalRevolt2"
"Playtika.CaesarsSlotsFreeCasino"
"A278AB0D.MarchofEmpires"
"KeeperSecurityInc.Keeper"
"ThumbmunkeysLtd.PhototasticCollage"
"XINGAG.XING"
"89006A2E.AutodeskSketchBook" "89006A2E.AutodeskSketchBook"
"D5EA27B7.Duolingo-LearnLanguagesforFree" "9E2F88E3.Twitter"
"46928bounde.EclipseManager"
"ActiproSoftwareLLC.562882FEEB491" # next one is for the Code Writer from Actipro Software LLC
"DolbyLaboratories.DolbyAccess"
"SpotifyAB.SpotifyMusic"
"A278AB0D.DisneyMagicKingdoms" "A278AB0D.DisneyMagicKingdoms"
"WinZipComputing.WinZipUniversal" "A278AB0D.MarchofEmpires"
"ActiproSoftwareLLC.562882FEEB491" # next one is for the Code Writer from Actipro Software LLC
"CAF9E577.Plex" "CAF9E577.Plex"
"7EE7776C.LinkedInforWindows" "ClearChannelRadioDigital.iHeartRadio"
"613EBCEA.PolarrPhotoEditorAcademicEdition" "D52A8D61.FarmVille2CountryEscape"
"Fitbit.FitbitCoach" "D5EA27B7.Duolingo-LearnLanguagesforFree"
"DB6EA5DB.CyberLinkMediaSuiteEssentials"
"DolbyLaboratories.DolbyAccess"
"DolbyLaboratories.DolbyAccess" "DolbyLaboratories.DolbyAccess"
"Drawboard.DrawboardPDF"
"Facebook.Facebook"
"Fitbit.FitbitCoach"
"Flipboard.Flipboard"
"GAMELOFTSA.Asphalt8Airborne"
"KeeperSecurityInc.Keeper"
"Microsoft.BingNews" "Microsoft.BingNews"
"NORDCURRENT.COOKINGFEVER" "NORDCURRENT.COOKINGFEVER"
"PandoraMediaInc.29680B314EFC2"
"Playtika.CaesarsSlotsFreeCasino"
"ShazamEntertainmentLtd.Shazam"
"SpotifyAB.SpotifyMusic"
#"TheNewYorkTimes.NYTCrossword"
"ThumbmunkeysLtd.PhototasticCollage"
"TuneIn.TuneInRadio"
"WinZipComputing.WinZipUniversal"
"XINGAG.XING"
"flaregamesGmbH.RoyalRevolt2"
"king.com.*"
"king.com.BubbleWitch3Saga"
"king.com.CandyCrushSaga"
"king.com.CandyCrushSodaSaga"
# apps which cannot be removed using Remove-AppxPackage # apps which cannot be removed using Remove-AppxPackage
#"Microsoft.BioEnrollment" #"Microsoft.BioEnrollment"
@ -144,18 +143,18 @@ foreach ($app in $apps) {
# Prevents Apps from re-installing # Prevents Apps from re-installing
force-mkdir "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" force-mkdir "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "ContentDeliveryAllowed" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "FeatureManagementEnabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "FeatureManagementEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "OemPreInstalledAppsEnabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "OemPreInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEnabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SilentInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "ContentDeliveryAllowed" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEverEnabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "PreInstalledAppsEverEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContentEnabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SilentInstalledAppsEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338388Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338389Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-314559Enabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-314559Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338387Enabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338387Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338388Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338389Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338393Enabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContent-338393Enabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SubscribedContentEnabled" 0
Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SystemPaneSuggestionsEnabled" 0 Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" "SystemPaneSuggestionsEnabled" 0
force-mkdir "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore" force-mkdir "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore"

Loading…
Cancel
Save