You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Windows update has an option to enable WU to "Give me update for other Microsoft products when I update Windows". POA doesn't enable that setting or pull those updates by default. If one enables that setting manually today, POA would start pulling updates fine hence the issue is just that if POA can enable that setting itself based on some flag in settings.xml.
Windows update has an option to enable WU to "Give me update for other Microsoft products when I update Windows". POA doesn't enable that setting or pull those updates by default. If one enables that setting manually today, POA would start pulling updates fine hence the issue is just that if POA can enable that setting itself based on some flag in settings.xml.
Some options to enable this programmatically -
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
AllowMUUpdateService REG_DWORD 1
or
Script RegisterMicrosoftUpdateForAutoUpdates
{
GetScript = {
$isMuRegisteredForAU = $false
foreach ($updateService in (new-object -ComObject "microsoft.update.servicemanager").Services) {if ($updateService.Name -eq "Microsoft Update"){ $isMuRegisteredForAU=$updateService.IsRegisteredWithAU }}
Return @{'Result' = "Microsoft Update registration status with Auto Updates: $isMuRegisteredForAU"}
}
TestScript = {
$isMuRegisteredForAU = $false
foreach ($updateService in (new-object -ComObject "microsoft.update.servicemanager").Services) {if ($updateService.Name -eq "Microsoft Update"){ $isMuRegisteredForAU=$updateService.IsRegisteredWithAU }}
Return $isMuRegisteredForAU
}
SetScript = {(new-object -ComObject "microsoft.update.servicemanager").addservice2("7971f918-a847-4430-9279-4a52d1efe18d",7,"")}
}
The text was updated successfully, but these errors were encountered: