Rewrite modules (untested)
This commit is contained in:
parent
b3d3ee6403
commit
eba57e6c8a
53 changed files with 1288 additions and 394 deletions
70
modules.d/GPO_WindowsUpdate.conf
Normal file
70
modules.d/GPO_WindowsUpdate.conf
Normal file
|
@ -0,0 +1,70 @@
|
|||
{
|
||||
"Name" : "Windows Update (GPO)",
|
||||
"Description" : "Disable sone Windows Update features like GPO does.",
|
||||
"actions" :
|
||||
[
|
||||
{
|
||||
"_comment" : "Disable Download Optimization",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\DeliveryOptimization",
|
||||
"key" : "DODownloadMode",
|
||||
"value" : "0"
|
||||
},
|
||||
{
|
||||
"_comment" : "Disable Peer to Peer connection for Windows Update",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\Peernet",
|
||||
"key" : "Disabled",
|
||||
"value" : "1"
|
||||
},
|
||||
{
|
||||
"_comment" : "Notify Update download and installation",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU",
|
||||
"key" : "AUOptions",
|
||||
"value" : "2"
|
||||
},
|
||||
{
|
||||
"_comment" : "Activate Windows Update all day ( 0:All days, 1:sunday, 2:monday, ...",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU",
|
||||
"key" : "ScheduledInstallDay",
|
||||
"value" : "0"
|
||||
},
|
||||
{
|
||||
"_comment" : "Define hour of installation",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU",
|
||||
"key" : "ScheduledInstallTime",
|
||||
"value" : "12"
|
||||
},
|
||||
{
|
||||
"_comment" : "Enable Defered Updates (Windows Pro and +) (https://docs.microsoft.com/en-us/windows/deployment/update/waas-configure-wufb)",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate",
|
||||
"key" : "DeferFeatureUpdates",
|
||||
"value" : "1"
|
||||
},
|
||||
{
|
||||
"_comment" : "Select CBB branch for Defered Updates",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate",
|
||||
"key" : "BranchReadinessLevel",
|
||||
"value" : "32"
|
||||
},
|
||||
{
|
||||
"_comment" : "Defer Feature installation for 1 year",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate",
|
||||
"key" : "DeferFeatureUpdatesPeriodInDays",
|
||||
"value" : "365"
|
||||
},
|
||||
{
|
||||
"_comment" : "Disable drivers update",
|
||||
"action" : "AddRegKey",
|
||||
"path" : "HKLM:\\SOFTWARE\\Policies\\Microsoft\\Windows\\WindowsUpdate\\AU",
|
||||
"key" : "ExcludeWUDriversInQualityUpdate",
|
||||
"value" : "1"
|
||||
}
|
||||
]
|
||||
}
|
Reference in a new issue