From f8439e861a577b31833de255569c3e62bb97e522 Mon Sep 17 00:00:00 2001 From: Kye Davey Date: Wed, 21 Dec 2016 08:57:52 +1000 Subject: [PATCH] Prevent "Suggested Applications" returning Addition of Registry key to disable "Suggested Applications". This wont remove existing suggested applications, however it will prevent new suggestions and the return of removed suggestions. --- scripts/remove-default-apps.ps1 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/remove-default-apps.ps1 b/scripts/remove-default-apps.ps1 index 419b5df..b058d5d 100644 --- a/scripts/remove-default-apps.ps1 +++ b/scripts/remove-default-apps.ps1 @@ -3,6 +3,7 @@ # 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 echo "Elevating privileges for this process" do {} until (Elevate-Privileges SeTakeOwnershipPrivilege) @@ -95,3 +96,7 @@ foreach ($app in $apps) { where DisplayName -EQ $app | Remove-AppxProvisionedPackage -Online } + +# Prevents "Suggested Applications" returning +force-mkdir "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Cloud Content" +sp "HKLM:\SOFTWARE\Policies\Microsoft\Windows\Cloud Content" "DisableWindowsConsumerFeatures" 1