Share via


Status Report with Windows Server 2016 to WSUS

Question

Wednesday, September 12, 2018 5:49 PM

Hi everybody

Since Windows Server 2016, the WUAUCLT tool has been replaced by Usoclient.
How can a report be sent to WSUS with the usoclient? (WUAUCLT/reportnow no longer works)
We have a growing problem with the fact that a server is updating and installing updates, but does not send a report back to WSUS.

regards...

All replies (8)

Wednesday, September 12, 2018 6:44 PM

Hi,

The Windows Update command line tool WUAUCLT.exe is no more working on Windows 10 and Server 2016.

The commands have been replaced with USOCLIENT.exe.

You won't find any documentation on that tool, but more usage details with the builtin tasks in
Admin Tools / Task Scheduler / Microsoft / Windows / UpdateOrchestrator

The following PowerShell lines will give you the details:

PS C:\> Get-ScheduledTask -TaskPath '\Microsoft\Windows\UpdateOrchestrator\' `
>> | Select-Object @{Expression={$_.TaskName};Label="TaskName"}, `
>> @{Expression={$_.Actions.Execute + ' ' + $_.Actions.Arguments};Label="CommandLine"}
 
TaskName                   CommandLine
                   
AC Power Download          %systemroot%\system32\usoclient.exe StartDownload
Maintenance Install        %systemroot%\system32\usoclient.exe StartInstall
MusUx_LogonUpdateResults   %systemroot%\system32\MusNotification.exe LogonUpdateResults
MusUx_UpdateInterval       %systemroot%\system32\MusNotification.exe Display
Policy Install             %systemroot%\system32\usoclient.exe StartInstall
Reboot                     %systemroot%\system32\MusNotification.exe ReadyToReboot
Refresh Settings           %systemroot%\system32\usoclient.exe RefreshSettings
Resume On Boot             %systemroot%\system32\usoclient.exe ResumeUpdate
Schedule Scan              %systemroot%\system32\usoclient.exe StartScan
USO_UxBroker_Display       %systemroot%\system32\MusNotification.exe Display
USO_UxBroker_ReadyToReboot %systemroot%\system32\MusNotification.exe ReadyToReboot

The following do no longer work on Windows 10 / Windows Server 2016:

WUAUCLT /DetectNow /ReportNow /ResetAuthorization

All command have been replaced with command line

USOCLIENT.EXE RefreshSettings StartScan StartDownload StartInstall

Best regards,
Leon

Blog: https://thesystemcenterblog.com LinkedIn:


Wednesday, September 12, 2018 7:22 PM

hi leon

thanks for your reply. we already use the usoclient command. but none of the parameters will perform the report to the wsus-server :-(


Wednesday, September 12, 2018 7:48 PM | 1 vote

wuauclt.exe has not been fully deprecated in Windows 10 - ONLY the /detectnow switch. I used the /reportnow switch yesterday on my Win10 machine after installing the updates from my test group and after a restart.

/detectnow is deprecated and does not work in Windows 10. Windows 10 has replaced it with: PowerShell.exe (New-Object -ComObject Microsoft.Update.AutoUpdate).DetectNow() or UsoClient.exe StartScan

/reportnow has a special use case and doesn't do anything at any other points in time unless it's within this use case (after /detectnow runs, there's a 20 minute 'cool down' period before it reports back to the WSUS Server. If /reportnow is run within this 20 minute period AND there is something flagged to report, it will report immediately. Otherwise, the detection process will report after 20 minutes regardless - so this is basically useless in almost all cases).

Adam Marshall, MCSE: Security
https://www.ajtek.ca
Microsoft MVP - Windows and Devices for IT


Wednesday, September 12, 2018 7:52 PM | 1 vote

Also, for clarity -

WUAUCLT /DetectNow /ReportNow

This combination was useless since the beginning. Looking at the information I've given above, you'd see that.

Adam Marshall, MCSE: Security
https://www.ajtek.ca
Microsoft MVP - Windows and Devices for IT


Sunday, September 16, 2018 10:30 AM

yes, i fully agree with you and we already know that fact, that wuauclt /reportnow will not working anymore.

but as i asked, there is no alternative in server2016 for this command?

cause of my question: we have to manage a huge number of servers with wsus and have maintenance windows for 1-2 hours. during these windows the servers will install patches. after the installation they should report their status back to wsus as soon as possible. so we can check the update status on our wsus console and dont have to check every server manually.

thats the problem, why im asking for an alternative....


Sunday, September 16, 2018 11:26 AM

/reportnow DOES work. (at least in Windows 10)

It is /detectnow that does not work

Adam Marshall, MCSE: Security
https://www.ajtek.ca
Microsoft MVP - Windows and Devices for IT


Sunday, September 16, 2018 11:29 AM

could be, yes :-) but i asked for windows server 2016 ;-) and there it's def. not working anymore :-(


Sunday, September 16, 2018 5:39 PM

Am 16.09.2018 schrieb Sandro D'Incà:

could be, yes :-) but i asked for windows server 2016 ;-) and there it's def. not working anymore :-(

/reportnow works, /resetauthorization /detectnow and /detectnow works
of course in W10.

Winfried

WSUS Package Publisher: http://wsuspackagepublisher.codeplex.com/
http://technet.microsoft.com/en-us/windowsserver/bb332157.aspx
http://www.wsuswiki.com/Home
GP-PACK - PRIVACY AND TELEMETRIE: http://www.gp-pack.com/