Explore a WSUS sync error

  • Context

I’ve a WSUS server in Core mode and there’s only a PowerShell console to manage it.

  • Problem

When I get a synchronisation that failed, I’ve got the following where…

..the error text is empty. 😦 You only know that it failed.

  • Solution

You can get the UpdateId using this command:

(Get-WsusServer).GetSubscription().GetLastSynchronizationInfo().UpdateErrors.UpdateId

You can get the ErrorText like this:

(Get-WsusServer).GetSubscription().GetLastSynchronizationInfo().UpdateErrors.ErrorText

In the above case, running a new synchronisation solved the issue.

3 thoughts on “Explore a WSUS sync error

  1. the question is : where is the next major update for WSUS services ? (a long time ago …. WSUS v3)

    I’ve noticed (in the shell screen shot) that you use Administrator builtin account. Shame on you guy, it’s a bad practice :-). You should use a dedicated and nominative admin account.

  2. Pingback: Dew Drop – August 9, 2023 (#4000) – Morning Dew by Alvin Ashcraft

Leave a comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.