Add missing switches for Windows Update settings

This commit is contained in:
Raphire
2026-02-04 14:01:04 +01:00
parent 84bff3ab0c
commit 6e65a07184
3 changed files with 7 additions and 1 deletions

View File

@@ -924,7 +924,7 @@
"MaxVersion": null "MaxVersion": null
}, },
{ {
"FeatureId": "PreventAutoReboot", "FeatureId": "PreventUpdateAutoReboot",
"Label": "automatic restarts after updates while signed in", "Label": "automatic restarts after updates while signed in",
"Category": "Windows Update", "Category": "Windows Update",
"Action": "Prevent", "Action": "Prevent",

View File

@@ -25,6 +25,9 @@ param (
[switch]$DisableFastStartup, [switch]$DisableFastStartup,
[switch]$DisableBitlockerAutoEncryption, [switch]$DisableBitlockerAutoEncryption,
[switch]$DisableModernStandbyNetworking, [switch]$DisableModernStandbyNetworking,
[switch]$DisableUpdateASAP,
[switch]$PreventUpdateAutoReboot,
[switch]$DisableDeliveryOptimization,
[switch]$DisableBing, [switch]$DisableBing,
[switch]$DisableDesktopSpotlight, [switch]$DisableDesktopSpotlight,
[switch]$DisableLockscreenTips, [switch]$DisableLockscreenTips,

View File

@@ -27,6 +27,9 @@ param (
[switch]$DisableFastStartup, [switch]$DisableFastStartup,
[switch]$DisableBitlockerAutoEncryption, [switch]$DisableBitlockerAutoEncryption,
[switch]$DisableModernStandbyNetworking, [switch]$DisableModernStandbyNetworking,
[switch]$DisableUpdateASAP,
[switch]$PreventUpdateAutoReboot,
[switch]$DisableDeliveryOptimization,
[switch]$DisableBing, [switch]$DisableBing,
[switch]$DisableDesktopSpotlight, [switch]$DisableDesktopSpotlight,
[switch]$DisableLockscreenTips, [switch]$DisableLockscreenTips,