From 6e65a07184aa1ae42f7d5c9b8df4ceb6f560eafd Mon Sep 17 00:00:00 2001 From: Raphire <9938813+Raphire@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:01:04 +0100 Subject: [PATCH] Add missing switches for Windows Update settings --- Assets/Features.json | 2 +- Get.ps1 | 3 +++ Win11Debloat.ps1 | 3 +++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/Assets/Features.json b/Assets/Features.json index 63b632d..a1b6847 100644 --- a/Assets/Features.json +++ b/Assets/Features.json @@ -924,7 +924,7 @@ "MaxVersion": null }, { - "FeatureId": "PreventAutoReboot", + "FeatureId": "PreventUpdateAutoReboot", "Label": "automatic restarts after updates while signed in", "Category": "Windows Update", "Action": "Prevent", diff --git a/Get.ps1 b/Get.ps1 index dc6897d..1bb5710 100644 --- a/Get.ps1 +++ b/Get.ps1 @@ -25,6 +25,9 @@ param ( [switch]$DisableFastStartup, [switch]$DisableBitlockerAutoEncryption, [switch]$DisableModernStandbyNetworking, + [switch]$DisableUpdateASAP, + [switch]$PreventUpdateAutoReboot, + [switch]$DisableDeliveryOptimization, [switch]$DisableBing, [switch]$DisableDesktopSpotlight, [switch]$DisableLockscreenTips, diff --git a/Win11Debloat.ps1 b/Win11Debloat.ps1 index c2fa285..8db5702 100755 --- a/Win11Debloat.ps1 +++ b/Win11Debloat.ps1 @@ -27,6 +27,9 @@ param ( [switch]$DisableFastStartup, [switch]$DisableBitlockerAutoEncryption, [switch]$DisableModernStandbyNetworking, + [switch]$DisableUpdateASAP, + [switch]$PreventUpdateAutoReboot, + [switch]$DisableDeliveryOptimization, [switch]$DisableBing, [switch]$DisableDesktopSpotlight, [switch]$DisableLockscreenTips,