question

DolleEdward-3388 avatar image
0 Votes"
DolleEdward-3388 asked RitaHu-MSFT commented

WSUS Client Not Reporting

I have one client that isn't reporting and I found these commands from a user site. Does anyone know if these are safe to run on the server?

net stop bits
net stop wuauserv
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v AccountDomainSid /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v PingID /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientId /f
reg delete "HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\WindowsUpdate" /v SusClientIDValidation /f
rd /s /q "%SystemRoot%\SoftwareDistribution"
net start bits
net start wuauserv
wuauclt /resetauthorization /detectnow

windows-server-update-services
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.

AJTek-Adam-J-Marshall avatar image
0 Votes"
AJTek-Adam-J-Marshall answered

Read up here:

https://www.ajtek.ca/wsus/client-machines-not-reporting-to-wsus-properly/

Underneath the Client side script (which is a bit more complete than yours), is the explanation of what each part does and why you should do it.

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.

DolleEdward-3388 avatar image
0 Votes"
DolleEdward-3388 answered RitaHu-MSFT commented

Nevermind, the above steps DID work. I mistook the red x as it did not communicate when in fact it did. This client actually failed to install one update and that I can fix.

Thanks!

· 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.

It is glad to hear the issue has been resolved. Please post on this forum next time if you have any questions.

Remember to accept the answer to help others who have the same issue :)

Have a great day.

Regards,
Rita

0 Votes 0 ·
DolleEdward-3388 avatar image
0 Votes"
DolleEdward-3388 answered DolleEdward-3388 edited

The update above did not resolve the issue. Was I supposed to remove the server from WSUS first before running the cmd commands?
Where do I delete wsus file, on the server or on my PC?

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.

RitaHu-MSFT avatar image
0 Votes"
RitaHu-MSFT answered RitaHu-MSFT edited

@DolleEdward-3388
Please follow the below steps to try to resolve this issue if the issue stays even though fellow the above suggestions:

Delete the client on the WSUS console

Delete the wsus file on the below path:
125379-19.png

Check for updates on the client manually:
125456-20.png

Hope the above will be helpful. Please keep us in touch if there are any updates.

Thanks for your time and have a great day.

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.


19.png (13.2 KiB)
20.png (6.7 KiB)
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.

AJTek-Adam-J-Marshall avatar image
0 Votes"
AJTek-Adam-J-Marshall answered

6


We’ve run the PowerShell equivalent of /detectnow for Windows 10 systems and Server 2016+ systems as they no longer use /detectnow as it has been deprecated. (We can also use UsoClient.exe StartScan instead of the PowerShell line however, Microsoft never intended UsoClient.exe to be used by anything other than the system itself through the orchestrator so your mileage may vary. The correct way is the PowerShell API).

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.

DolleEdward-3388 avatar image
0 Votes"
DolleEdward-3388 answered

Is the PowerShell script at the end of the command line necessary?

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.

AJTek-Adam-J-Marshall avatar image
0 Votes"
AJTek-Adam-J-Marshall answered

Either... Or... Your choice.

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.

DolleEdward-3388 avatar image
0 Votes"
DolleEdward-3388 answered

Thanks!
Do I have to run the command prompt and PowerShell commands to fix this?

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.