Add Windows Update Settings (#450)

- Prevent getting updates as soon as they're available
- Prevent automatic restarts after updates while signed in
- Disable sharing downloaded updates with other PCs
This commit is contained in:
Jeffrey
2026-02-04 13:47:47 +01:00
committed by GitHub
parent 6a3f244f9b
commit 46deca7703
12 changed files with 95 additions and 7 deletions

View File

@@ -1,14 +1,15 @@
{ {
"Version": "1.0", "Version": "1.0",
"Categories": [ "Categories": [
"Start Menu",
"System",
"Privacy & Suggested Content", "Privacy & Suggested Content",
"System",
"Start Menu",
"AI",
"Windows Update",
"Taskbar", "Taskbar",
"Appearance", "Appearance",
"AI",
"Other",
"File Explorer", "File Explorer",
"Other",
"Gaming" "Gaming"
], ],
"UiGroups": [ "UiGroups": [
@@ -186,11 +187,11 @@
}, },
{ {
"FeatureId": "DisableSuggestions", "FeatureId": "DisableSuggestions",
"Label": "tips, tricks & suggested content", "Label": "tips, tricks & suggested content throughout Windows",
"Category": "Privacy & Suggested Content", "Category": "Privacy & Suggested Content",
"Action": "Disable", "Action": "Disable",
"RegistryKey": "Disable_Windows_Suggestions.reg", "RegistryKey": "Disable_Windows_Suggestions.reg",
"ApplyText": "> Disabling tips, tricks, suggestions and ads across Windows...", "ApplyText": "> Disabling tips, tricks, suggestions and ads throughout Windows...",
"UndoAction": "Enable", "UndoAction": "Enable",
"RegistryUndoKey": "Enable_Windows_Suggestions.reg", "RegistryUndoKey": "Enable_Windows_Suggestions.reg",
"MinVersion": null, "MinVersion": null,
@@ -898,6 +899,42 @@
"MinVersion": null, "MinVersion": null,
"MaxVersion": null "MaxVersion": null
}, },
{
"FeatureId": "DisableUpdateASAP",
"Label": "updates as soon as they're available",
"Category": "Windows Update",
"Action": "Prevent getting",
"RegistryKey": "Disable_Update_ASAP.reg",
"ApplyText": "> Preventing Windows from getting updates as soon as they are available...",
"UndoAction": "Get",
"RegistryUndoKey": "Enable_Update_ASAP.reg",
"MinVersion": null,
"MaxVersion": null
},
{
"FeatureId": "PreventAutoReboot",
"Label": "automatic restarts after updates while signed in",
"Category": "Windows Update",
"Action": "Prevent",
"RegistryKey": "Prevent_Auto_Reboot.reg",
"ApplyText": "> Preventing automatic restarts after updates while signed in...",
"UndoAction": "Allow",
"RegistryUndoKey": "Allow_Auto_Reboot.reg",
"MinVersion": null,
"MaxVersion": null
},
{
"FeatureId": "DisableDeliveryOptimization",
"Label": "sharing downloaded updates with other PCs",
"Category": "Windows Update",
"Action": "Disable",
"RegistryKey": "Disable_Delivery_Optimization.reg",
"ApplyText": "> Disabling sharing of downloaded updates with other PCs...",
"UndoAction": "Enable",
"RegistryUndoKey": "Enable_Delivery_Optimization.reg",
"MinVersion": null,
"MaxVersion": null
},
{ {
"FeatureId": "ForceRemoveEdge", "FeatureId": "ForceRemoveEdge",
"Label": "Forcefully uninstall Microsoft Edge. NOT RECOMMENDED!", "Label": "Forcefully uninstall Microsoft Edge. NOT RECOMMENDED!",

View File

@@ -110,6 +110,12 @@ Below is an overview of the key features and functionality offered by Win11Deblo
- Disable fast start-up to ensure a full shutdown. - Disable fast start-up to ensure a full shutdown.
- Disable network connectivity during Modern Standby to reduce battery drain. (W11 only) - Disable network connectivity during Modern Standby to reduce battery drain. (W11 only)
#### Windows Update
- Prevent Windows from getting updates as soon as they're available.
- Prevent automatic restarts after updates while signed in.
- Disable sharing of downloaded updates with other PCs, also known as Delivery Optimization.
#### Appearance #### Appearance
- Enable dark mode for system and apps. - Enable dark mode for system and apps.

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Disable sharing downloaded updates with other PCs (Delivery Optimization)
[HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings]
"DownloadMode"=dword:00000000

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Turn Off "Get the latest updates as soon as they're available"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings]
"IsContinuousInnovationOptedIn"=dword:00000000

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Prevent automatic restarts after updates while signed in
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Disable sharing downloaded updates with other PCs (Delivery Optimization)
[HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings]
"DownloadMode"=dword:00000000

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Turn Off "Get the latest updates as soon as they're available"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings]
"IsContinuousInnovationOptedIn"=dword:00000000

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Prevent automatic restarts after updates while signed in
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Allow automatic restarts after updates while signed in
[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU]
"NoAutoRebootWithLoggedOnUsers"=-

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Enable sharing downloaded updates with other PCs (Delivery Optimization)
[HKEY_USERS\S-1-5-20\Software\Microsoft\Windows\CurrentVersion\DeliveryOptimization\Settings]
"DownloadMode"=dword:00000001

View File

@@ -0,0 +1,5 @@
Windows Registry Editor Version 5.00
; Turn On "Get the latest updates as soon as they're available"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsUpdate\UX\Settings]
"IsContinuousInnovationOptedIn"=dword:00000001

View File

@@ -863,7 +863,7 @@ function OpenGUI {
if ($script:CategoryCardMap.ContainsKey($category)) { return $script:CategoryCardMap[$category] } if ($script:CategoryCardMap.ContainsKey($category)) { return $script:CategoryCardMap[$category] }
# Create a new card Border + StackPanel and add to shortest column # Create a new card Border + StackPanel and add to shortest column
$target = $columns | Sort-Object { $_.Children.Count } | Select-Object -First 1 $target = $columns | Sort-Object @{Expression={$_.Children.Count}; Ascending=$true}, @{Expression={$columns.IndexOf($_)}; Ascending=$true} | Select-Object -First 1
$border = New-Object System.Windows.Controls.Border $border = New-Object System.Windows.Controls.Border
$border.Style = $window.Resources['CategoryCardBorderStyle'] $border.Style = $window.Resources['CategoryCardBorderStyle']