If you are a network administrator responsible for patching, you know that there is no place in the Windows 10, Windows 11 or Windows Server GUI that shows you where a computer is actually getting its updates from. Are updates coming from Microsoft or from your own WSUS server?
Fortunately there is a simple PowerShell script that tells you what sources the computer is trying to get updates from:
$(New-Object -ComObject "Microsoft.Update.ServiceManager").Services | Select-Object Name, IsDefaultAUService
This is just as easy. Open the registry and expand:
HKLM > SOFTWARE > Policies > Microsoft > Windows > WindowsUpdate
Be careful here NOT to accidentally look at HKLM > SOFTWARE > MICROSOFT > WINDOWS > CURRENT VERSION > WindowsUpdate – That path exists but is not what you are looking for
Name | IsDefaultAUService |
—- | —————— |
Microsoft Update | FALSE |
DCat Flighting Prod | FALSE |
Windows Store (DCat Prod) | FALSE |
Windows Server Update Service | TRUE |
Windows Update | FALSE |
This website uses cookies.
View Comments