Advertisement
Guest User

Remove Windows 10 AppX

a guest
Mar 27th, 2017
537
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.99 KB | None | 0 0
  1. # Description:
  2. # This script removes unwanted Apps that come with Windows. If you do not want
  3. # to remove certain Apps comment out the corresponding lines below.
  4. # Source: https://github.com/W4RH4WK/Debloat-Windows-10/blob/master/scripts/disable-services.ps1
  5.  
  6. echo "Removing Default Windows Apps"
  7. $apps = @(
  8. # default Windows 10 apps
  9. "Microsoft.3DBuilder"
  10. "Microsoft.Appconnector"
  11. "Microsoft.BingFinance"
  12. "Microsoft.BingNews"
  13. "Microsoft.BingSports"
  14. "Microsoft.BingWeather"
  15. #"Microsoft.FreshPaint"
  16. "Microsoft.Getstarted"
  17. "Microsoft.MicrosoftOfficeHub"
  18. "Microsoft.MicrosoftSolitaireCollection"
  19. #"Microsoft.MicrosoftStickyNotes"
  20. "Microsoft.Office.OneNote"
  21. #"Microsoft.OneConnect"
  22. "Microsoft.People"
  23. "Microsoft.SkypeApp"
  24. #"Microsoft.Windows.Photos"
  25. "Microsoft.WindowsAlarms"
  26. #"Microsoft.WindowsCalculator"
  27. "Microsoft.WindowsCamera"
  28. "Microsoft.WindowsMaps"
  29. "Microsoft.WindowsPhone"
  30. "Microsoft.WindowsSoundRecorder"
  31. #"Microsoft.WindowsStore"
  32. "Microsoft.XboxApp"
  33. "Microsoft.ZuneMusic"
  34. "Microsoft.ZuneVideo"
  35. "microsoft.windowscommunicationsapps"
  36. "Microsoft.MinecraftUWP"
  37.  
  38. # Threshold 2 apps
  39. "Microsoft.CommsPhone"
  40. "Microsoft.ConnectivityStore"
  41. "Microsoft.Messaging"
  42. "Microsoft.Office.Sway"
  43. "Microsoft.OneConnect"
  44. "Microsoft.WindowsFeedbackHub"
  45.  
  46.  
  47. #Redstone apps
  48. "Microsoft.BingFoodAndDrink"
  49. "Microsoft.BingTravel"
  50. "Microsoft.BingHealthAndFitness"
  51. "Microsoft.WindowsReadingList"
  52.  
  53. # non-Microsoft
  54. "9E2F88E3.Twitter"
  55. "PandoraMediaInc.29680B314EFC2"
  56. "Flipboard.Flipboard"
  57. "ShazamEntertainmentLtd.Shazam"
  58. "king.com.CandyCrushSaga"
  59. "king.com.CandyCrushSodaSaga"
  60. "king.com.*"
  61. "ClearChannelRadioDigital.iHeartRadio"
  62. "4DF9E0F8.Netflix"
  63. "6Wunderkinder.Wunderlist"
  64. "Drawboard.DrawboardPDF"
  65. "2FE3CB00.PicsArt-PhotoStudio"
  66. "D52A8D61.FarmVille2CountryEscape"
  67. "TuneIn.TuneInRadio"
  68. "GAMELOFTSA.Asphalt8Airborne"
  69. "TheNewYorkTimes.NYTCrossword"
  70. "DB6EA5DB.CyberLinkMediaSuiteEssentials"
  71. "Facebook.Facebook"
  72. "flaregamesGmbH.RoyalRevolt2"
  73. "Playtika.CaesarsSlotsFreeCasino"
  74.  
  75. # apps which cannot be removed using Remove-AppxPackage
  76. #"Microsoft.BioEnrollment"
  77. #"Microsoft.MicrosoftEdge"
  78. #"Microsoft.Windows.Cortana"
  79. #"Microsoft.WindowsFeedback"
  80. #"Microsoft.XboxGameCallableUI"
  81. #"Microsoft.XboxIdentityProvider"
  82. #"Windows.ContactSupport"
  83. )
  84.  
  85. foreach ($app in $apps) {
  86.  
  87. Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage
  88.  
  89. Get-AppXProvisionedPackage -Online |
  90. where DisplayName -EQ $app |
  91. Remove-AppxProvisionedPackage -Online
  92. }
  93.  
  94. # Prevents "Suggested Applications" returning
  95. New-Item -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Cloud Content"
  96. New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Cloud Content" -Name "DisableWindowsConsumerFeatures" -Value "1" -Force
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement