# 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. Import-Module -DisableNameChecking $PSScriptRoot\..\lib\take-own.psm1 Import-Module -DisableNameChecking $PSScriptRoot\..\lib\force-mkdir.psm1 Write-Output "Elevating privileges for this process" do {} until (Elevate-Privileges SeTakeOwnershipPrivilege) Write-Output "Uninstalling default Windows 10 Microsoft apps" $apps = @( #Redstone apps "Microsoft.BingFoodAndDrink" "Microsoft.BingTravel" "Microsoft.BingHealthAndFitness" "Microsoft.WindowsReadingList" # NON-Microsoft "9E2F88E3.Twitter" "PandoraMediaInc.29680B314EFC2" "Flipboard.Flipboard" "ShazamEntertainmentLtd.Shazam" "king.com.CandyCrushSaga" "king.com.CandyCrushSodaSaga" "king.com.*" "ClearChannelRadioDigital.iHeartRadio" "4DF9E0F8.Netflix" "6Wunderkinder.Wunderlist" "Drawboard.DrawboardPDF" "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" "D5EA27B7.Duolingo-LearnLanguagesforFree" "46928bounde.EclipseManager" #"ActiproSoftwareLLC.562882FEEB491" # next one is for the Code Writer from Actipro Software LLC "DolbyLaboratories.DolbyAccess" "SpotifyAB.SpotifyMusic" "A278AB0D.DisneyMagicKingdoms" "WinZipComputing.WinZipUniversal" ) foreach ($app in $apps) { Write-Output "Trying to remove $app" Get-AppxPackage -Name $app -AllUsers | Remove-AppxPackage -AllUsers Get-AppXProvisionedPackage -Online | Where-Object DisplayName -eq $app | Remove-AppxProvisionedPackage -Online } # Prevents "Suggested Applications" force-mkdir "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Cloud Content" Set-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Cloud Content" "DisableWindowsConsumerFeatures" 1