Added option to disable MS 365 ads in Settings Home

This commit is contained in:
Raphire
2025-05-20 21:55:38 +02:00
parent df9f00c726
commit 6eccf15d88
5 changed files with 17 additions and 0 deletions

View File

@@ -23,6 +23,7 @@ param (
[switch]$DisableDesktopSpotlight, [switch]$DisableDesktopSpotlight,
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
[switch]$DisableSettings365Ads,
[switch]$ShowHiddenFolders, [switch]$ShowHiddenFolders,
[switch]$ShowKnownFileExt, [switch]$ShowKnownFileExt,
[switch]$HideDupliDrive, [switch]$HideDupliDrive,

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Disable MS 365 Ads in Settings Home
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
"DisableConsumerAccountStateContent"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Disable MS 365 Ads in Settings Home
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
"DisableConsumerAccountStateContent"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Enable MS 365 Ads in Settings Home
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\CloudContent]
"DisableConsumerAccountStateContent"=-

View File

@@ -25,6 +25,7 @@ param (
[switch]$DisableDesktopSpotlight, [switch]$DisableDesktopSpotlight,
[switch]$DisableLockscrTips, [switch]$DisableLockscreenTips, [switch]$DisableLockscrTips, [switch]$DisableLockscreenTips,
[switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions, [switch]$DisableWindowsSuggestions, [switch]$DisableSuggestions,
[switch]$DisableSettings365Ads,
[switch]$ShowHiddenFolders, [switch]$ShowHiddenFolders,
[switch]$ShowKnownFileExt, [switch]$ShowKnownFileExt,
[switch]$HideDupliDrive, [switch]$HideDupliDrive,