From 80c6578cc52209792e0f0d50c88329be48f25004 Mon Sep 17 00:00:00 2001 From: Belim Date: Mon, 21 Sep 2020 20:43:39 +0200 Subject: [PATCH] Delete remove-default-apps.ps1 --- scripts/remove-default-apps.ps1 | 174 -------------------------------- 1 file changed, 174 deletions(-) delete mode 100644 scripts/remove-default-apps.ps1 diff --git a/scripts/remove-default-apps.ps1 b/scripts/remove-default-apps.ps1 deleted file mode 100644 index db90502..0000000 --- a/scripts/remove-default-apps.ps1 +++ /dev/null @@ -1,174 +0,0 @@ -### This script removes unwanted Apps that come with Windows. ### -### If you do not want to remove certain Apps comment out the corresponding lines below.### -### Author of this script: https://github.com/W4RH4WK/Debloat-Windows-10 - -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 apps" -$apps = @( - # default Windows 10 apps - "Microsoft.3DBuilder" - "Microsoft.Appconnector" - "Microsoft.BingFinance" - "Microsoft.BingNews" - "Microsoft.BingSports" - "Microsoft.BingTranslator" - "Microsoft.BingWeather" - #"Microsoft.FreshPaint" - "Microsoft.GamingServices" - "Microsoft.Microsoft3DViewer" - "Microsoft.MicrosoftOfficeHub" - "Microsoft.MicrosoftPowerBIForWindows" - "Microsoft.MicrosoftSolitaireCollection" - #"Microsoft.MicrosoftStickyNotes" - "Microsoft.MinecraftUWP" - "Microsoft.NetworkSpeedTest" - "Microsoft.Office.OneNote" - #"Microsoft.OneConnect" - "Microsoft.People" - "Microsoft.Print3D" - "Microsoft.SkypeApp" - "Microsoft.Wallet" - #"Microsoft.Windows.Photos" - "Microsoft.WindowsAlarms" - #"Microsoft.WindowsCalculator" - "Microsoft.WindowsCamera" - "microsoft.windowscommunicationsapps" - "Microsoft.WindowsMaps" - "Microsoft.WindowsPhone" - "Microsoft.WindowsSoundRecorder" - #"Microsoft.WindowsStore" # can't be re-installed - "Microsoft.Xbox.TCUI" - "Microsoft.XboxApp" - "Microsoft.XboxGameOverlay" - "Microsoft.XboxGamingOverlay" - "Microsoft.XboxSpeechToTextOverlay" - "Microsoft.YourPhone" - "Microsoft.ZuneMusic" - "Microsoft.ZuneVideo" - - # Threshold 2 apps - "Microsoft.CommsPhone" - "Microsoft.ConnectivityStore" - "Microsoft.GetHelp" - "Microsoft.Getstarted" - "Microsoft.Messaging" - "Microsoft.Office.Sway" - "Microsoft.OneConnect" - "Microsoft.WindowsFeedbackHub" - - # Creators Update apps - "Microsoft.Microsoft3DViewer" - #"Microsoft.MSPaint" - - #Redstone apps - "Microsoft.BingFoodAndDrink" - "Microsoft.BingHealthAndFitness" - "Microsoft.BingTravel" - "Microsoft.WindowsReadingList" - - # Redstone 5 apps - "Microsoft.MixedReality.Portal" - "Microsoft.ScreenSketch" - "Microsoft.XboxGamingOverlay" - "Microsoft.YourPhone" - - # non-Microsoft - "2FE3CB00.PicsArt-PhotoStudio" - "46928bounde.EclipseManager" - "4DF9E0F8.Netflix" - "613EBCEA.PolarrPhotoEditorAcademicEdition" - "6Wunderkinder.Wunderlist" - "7EE7776C.LinkedInforWindows" - "89006A2E.AutodeskSketchBook" - "9E2F88E3.Twitter" - "A278AB0D.DisneyMagicKingdoms" - "A278AB0D.MarchofEmpires" - "ActiproSoftwareLLC.562882FEEB491" # next one is for the Code Writer from Actipro Software LLC - "CAF9E577.Plex" - "ClearChannelRadioDigital.iHeartRadio" - "D52A8D61.FarmVille2CountryEscape" - "D5EA27B7.Duolingo-LearnLanguagesforFree" - "DB6EA5DB.CyberLinkMediaSuiteEssentials" - "DolbyLaboratories.DolbyAccess" - "DolbyLaboratories.DolbyAccess" - "Drawboard.DrawboardPDF" - "Facebook.Facebook" - "Fitbit.FitbitCoach" - "Flipboard.Flipboard" - "GAMELOFTSA.Asphalt8Airborne" - "KeeperSecurityInc.Keeper" - "Microsoft.BingNews" - "NORDCURRENT.COOKINGFEVER" - "PandoraMediaInc.29680B314EFC2" - "Playtika.CaesarsSlotsFreeCasino" - "ShazamEntertainmentLtd.Shazam" - "SlingTVLLC.SlingTV" - "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 - #"Microsoft.BioEnrollment" - #"Microsoft.MicrosoftEdge" - #"Microsoft.Windows.Cortana" - #"Microsoft.WindowsFeedback" - #"Microsoft.XboxGameCallableUI" - #"Microsoft.XboxIdentityProvider" - #"Windows.ContactSupport" - - # apps which other apps depend on - "Microsoft.Advertising.Xaml" -) - -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 Apps from re-installing -$cdm = @( - "ContentDeliveryAllowed" - "FeatureManagementEnabled" - "OemPreInstalledAppsEnabled" - "PreInstalledAppsEnabled" - "PreInstalledAppsEverEnabled" - "SilentInstalledAppsEnabled" - "SubscribedContent-314559Enabled" - "SubscribedContent-338387Enabled" - "SubscribedContent-338388Enabled" - "SubscribedContent-338389Enabled" - "SubscribedContent-338393Enabled" - "SubscribedContentEnabled" - "SystemPaneSuggestionsEnabled" -) - -force-mkdir "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" -foreach ($key in $cdm) { - Set-ItemProperty "HKCU:\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager" $key 0 -} - -force-mkdir "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore" -Set-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\WindowsStore" "AutoDownload" 2 - -# Prevents "Suggested Applications" returning -force-mkdir "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent" -Set-ItemProperty "HKLM:\SOFTWARE\Policies\Microsoft\Windows\CloudContent" "DisableWindowsConsumerFeatures" 1 -