How can i download updates from Microsoft using WUA API?

Furuichi, Yuya 1 Reputation point
2021-04-08T05:53:05.627+00:00

We try to apply windows updates from Microsoft using WUA API.
When I mannually update( Settings > Update & Security > Windows Update ), I can download updates from Microsoft.

But Using WUA APIs, I cannot download updates from Microsoft, it is downloaded from Local WSUS.

APIs I used

  • IUpdateDownloader BeginDownload

settings as follows

  • [WSUS] WSUS Administration - Options - Update Files - Do not store updates locally; computers install updates from Microsoft Update.
  • [Client PC] GP > Do not connect to any Windows Update Internet locations. is DISABLED.

Are there any ways to download updates from Microsoft with WUA APIs?

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,171 questions
{count} votes