How to get the machine count by date and the missing machine names

youki 996 Reputation points
2021-11-15T15:52:28.717+00:00

Hello,
I have the issue that several servers disappeared from the WSUS console.
Now i want to run a script periodically to inform me, if a server has disappeared.

I have to query the database directly and it's not possible by the UpdateServices module?!

Regards

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,180 questions
Windows Server PowerShell
Windows Server PowerShell
Windows Server: A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.PowerShell: A family of Microsoft task automation and configuration management frameworks consisting of a command-line shell and associated scripting language.
5,382 questions
0 comments No comments
{count} votes

Accepted answer
  1. Adam J. Marshall 8,706 Reputation points MVP
    2021-11-15T16:42:50.733+00:00

    Servers (or any client system) doesn't just 'disappear' from WSUS without a reason. Either maintenance was run, removing computers that had not communicated within a certain time period (30 days if using SCW, configurable if you're using WAM with default at 30 days), or someone manually deleted it, or you have a SusClientId issue from improper cloning of systems.

    Run the following client side script on every affected client ONCE and everything should go back to normal.

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

    1 person found this answer helpful.
    0 comments No comments

2 additional answers

Sort by: Most helpful
  1. youki 996 Reputation points
    2021-11-16T08:25:49+00:00

    Thank you,
    Checked it yesterday but overlooked the "Computers not contacting the server" option. Grrr...

    Regards

    0 comments No comments

  2. Limitless Technology 39,376 Reputation points
    2021-11-16T08:49:09.457+00:00

    Hello Youki,

    Everything points in this case to a configuration or discovery issue.

    I would recommend starting with the solutions proposed to the next thread where it was investigated from different angles:

    https://learn.microsoft.com/en-us/answers/questions/394781/some-servers-missing-from-wsus-console.html

    ------------------------------------------------------------------------------------------------------------------------------------------------------------

    --If the reply is helpful, please Upvote and Accept as answer--

    0 comments No comments