question

SunnyIeong-7828 avatar image
0 Votes"
SunnyIeong-7828 asked RitaHu-MSFT edited

usoclient startscan not work for Windows Server 2019

as my Windows Server 2019 already connected to internal WSUS, but it is not able to check for updates for Windows Server 2019 unless clicking "check for updates" button in Windows updates panel, but it will download and install updates as well, what I want is just to check for updates and show what updates are available in Windows updates panel.

(By the way, Windows Server 2016 is workable when I run usoclient startscan in cmd.exe)

windows-server-update-services
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

125905-capture-20210824.jpg




just like this, to let me know what updates are available.
hope someone can help , many thanks.

0 Votes 0 ·

1 Answer

RitaHu-MSFT avatar image
1 Vote"
RitaHu-MSFT answered RitaHu-MSFT edited

@Sunnyleong-7828
Thanks for your posting on Q&A.

There is no such document from MS which could describe this command in detail for reference. In my opinion, the usoclient.exe command is running in the internal OS level. Nobody outside the OS should be trying to run the usoclient directly. Of course, I tested it in my lab and the result is as the same.

In addition, I have the other methods fr you. Please follow the below steps to confirm whether this issue will be resolved:
Please apply the below policy on the Windows Server 2019 servers:
126223-1.png

We should download and install the required updates manually.

Hope the above will be helpful.

Regards,
Rita


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


1.png (155.9 KiB)
· 5
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

I think this is just not update automatically, but it can't help to detect what updates Windows server 2019 get.
I just want the server to detect what updates is available for server and show the detected update in Windows Update panel.

0 Votes 0 ·

Windows Server 2016 & 2019 , "Check for updates" button is the serial progress of checking & downloading & installation at the same time.
Not like Windows server 2012/2008, check for updates is checking for updates ONLY, there is other button for install updates.

0 Votes 0 ·

Could you mind sharing the below registry value on this forum to help me research further?
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\AU
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate

0 Votes 0 ·

126169-capture-20210825-1.jpg126206-capture-20210825.jpg



You can refer to this pictures.

0 Votes 0 ·
Show more comments