Wsus the operation timed out error

Seyyed Soroosh Hosseinalipour 21 Reputation points
2020-11-29T20:58:02.78+00:00

ITNOA

I have clean windows server 2019 core that server WSUS.

After I synchronized wsus from internet. I want to see critical update with below command

Get-WsusUpdate -Classification Critical -Approval Unapproved -Status Any

But after I write this command on powershell I see below error

The operation has timed out

The note is I change connection timeout in IIS to 600 seconds but the error does not resolved

My question is why this error occurred and how to resolve this?

I have the same question in serverfault

thanks a lot

Windows Server 2019
Windows Server 2019
A Microsoft server operating system that supports enterprise-level management updated to data storage.
3,480 questions
Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
12,205 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,389 questions
{count} votes

13 answers

Sort by: Most helpful
  1. Adam J. Marshall 8,801 Reputation points MVP
    2020-11-30T14:42:52.803+00:00

    Are you performing the proper WSUS maintenance including but not limited to running the Server Cleanup Wizard (SCW), declining superseded updates, running the SQL Indexing script, etc.?

    https://www.ajtek.ca/wsus/how-to-setup-manage-and-maintain-wsus-part-8-wsus-server-maintenance/

    If you're not performing the maintenance, and assigning the appropriate resources to the system, then these issues will occur.

    https://www.ajtek.ca/wsus/wsus-system-requirements-what-should-i-plan-for/

    1 person found this answer helpful.
    0 comments No comments

  2. Adam J. Marshall 8,801 Reputation points MVP
    2020-12-04T20:27:24.593+00:00

    If you perform the correct maintenance, WSUS will work properly for you. If you're not performing any of the maintenance, problems like what you're experiencing will happen. WSUS is not a set and forget about system. There are things you have to do to it or it will become slow, bloated, and not work properly - both at the server side and at the client side (checking for updates).

    1 person found this answer helpful.

  3. ChopperDude 6 11 Reputation points
    2022-02-23T18:03:10.85+00:00

    Well since you had to write your own software; does that mean you believe that following the Microsoft recommendations isn't really sufficient to keep WSUS working well?

    I've been running WSUS since server 2008 and have never had any issues until Server 2019. I still run Server 2016 at home, on a small home-built server and I service 3 different versions of Windows with it, and have no issues, even with drivers.

    Yet here at work, we run Server 2019 on a Server with 32 cores, all NVMe storage, 64gb RAM, only service Win1021H1 x64 and can't do server cleanup unless only check one box at a time, but can't run Unused Updates and Revisions or it will crash the console. And, can't do anything with Drivers, except as mentioned above.

    This issue has existed since Server 2019. I've stood tried Multiple times with multiple machines, Installed Server 2019 at least five different times, even Downloaded Fresh copies of the ISO three times, just to make sure I wasn't introducing something from the DVD, all with the same terrible results.

    Yet when we ran Server 2016 in the same environment , we had no issues.

    I even went so far as to install 2016, configure WSUS and let it run for a month, then performed all main I/A/W MS How to configure WSUS and best practices (Pre 2022 versions) and received the same result.

    So........... IMHO, it's broke.

    Next I will try the evaluation version of Server 2022 and see if that works....Unfortunately I have no other option since we run on a DOD Classified Network. I've found it almost as easy to manually download the .cab from ms and push them out with a script, then query the systems to ensure they installed.

    1 person found this answer helpful.
    0 comments No comments

  4. Adam J. Marshall 8,801 Reputation points MVP
    2022-02-23T20:48:14.21+00:00

    After helping out in the community for all of these years, I've seen what "little" things need to be done, some often, some not often. Some of the items on WAM's list are what the user's and I wanted (Rename OS Descriptions, for example), rather than what Microsoft deems necessary for maintenance. We've also expanded WAM to have it's own PowerShell module that exposes our custom written Cmdlet tools to check and improve many of the IIS items Microsoft has recommend, both in that document you speak of, as well as in the multitudes of support forum posts like yours. WAM is used in many government agencies, both federal and provincial/state side, all around the world and would have a field day with your install :)

    Your specs are great - except are they hardware or VM? If hardware, is it dual CPU or signle CPU with 32 cores? If VM, how many vCPU's are you exposing to the WSUS server?

    https://www.ajtek.ca/wsus/wsus-system-requirements-what-should-i-plan-for/

    1 person found this answer helpful.
    0 comments No comments

  5. ChopperDude 6 11 Reputation points
    2022-02-23T21:10:08.29+00:00

    Hardware.

    Dual CPU Xeon; dual NVMe one for OS one for WSUS db and WSUS_Storage; no other roles other than what is required by MS and for WSUS Role.

    Extreme waste of Resources but that's the minimum just to get WSUS to operate at a barely tolerable level.

    1 person found this answer helpful.
    0 comments No comments