mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2025-11-17 02:56:17 +00:00
Added option to disable MS 365 ads in Settings Home
This commit is contained in:
1
Get.ps1
1
Get.ps1
@@ -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,
|
||||||
|
|||||||
5
Regfiles/Disable_Settings_365_Ads.reg
Normal file
5
Regfiles/Disable_Settings_365_Ads.reg
Normal 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
|
||||||
5
Regfiles/Sysprep/Disable_Settings_365_Ads.reg
Normal file
5
Regfiles/Sysprep/Disable_Settings_365_Ads.reg
Normal 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
|
||||||
5
Regfiles/Undo/Enable_Settings_365_Ads.reg
Normal file
5
Regfiles/Undo/Enable_Settings_365_Ads.reg
Normal 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"=-
|
||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user