From 62ae88778c40d6562dc5b8793c88737746ed62c7 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 19 Jul 2023 16:01:29 +0200 Subject: [PATCH] Remove chat icon by default --- scripts/Windows/Config/Windows/Install.ps1 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/Windows/Config/Windows/Install.ps1 b/scripts/Windows/Config/Windows/Install.ps1 index 0e6c767b..3bd11d4e 100644 --- a/scripts/Windows/Config/Windows/Install.ps1 +++ b/scripts/Windows/Config/Windows/Install.ps1 @@ -25,7 +25,8 @@ $action = { Set-ItemProperty $keyPath -Name $spacingProperty -Value "-1710" -Type "String"; Write-Information "Disabling adware"; - $contentDeliveryKey = "$($userKey.PSPath)\Software\Microsoft\Windows\CurrentVersion\ContentDeliveryManager"; + $winKey = "$($userKey.PSPath)\Software\Microsoft\Windows\CurrentVersion"; + $contentDeliveryKey = "$winKey\ContentDeliveryManager"; $cloudContentKey = "HKLM:\Software\Policies\Microsoft\Windows\CloudContent"; foreach ($key in @($contentDeliveryKey, $cloudContentKey)) { @@ -37,6 +38,7 @@ $action = { Set-ItemProperty "$cloudContentKey" -Name "DisableWindowsConsumerFeatures" -Value 1 -Type "DWord"; Set-ItemProperty "$cloudContentKey" -Name "DisableCloudOptimizedContent" -Value 1 -Type "DWord"; Set-ItemProperty "$cloudContentKey" -Name "DisableConsumerAccountStateContent" -Value 1 -Type "DWord"; + Set-ItemProperty "$winKey\Explorer\Advanced" -Name "TaskBarMn" -Value 0 -Type "DWord"; Set-ItemProperty "$contentDeliveryKey" -Name "ContentDeliveryAllowed" -Value 0 -Type "DWord"; Set-ItemProperty "$contentDeliveryKey" -Name "SilentInstalledAppsEnabled" -Value 0 -Type "DWord"; Set-ItemProperty "$contentDeliveryKey" -Name "SystemPaneSuggestionsEnabled" -Value 0 -Type "DWord";