question

Ogeidius-7116 avatar image
0 Votes"
Ogeidius-7116 asked RitaHu-MSFT edited

WSUS Connetion Error

I setup a new virtual server on Hyper-V with Windows Server 2019 installed on it.

I added the Windows Server Update Services to it. It seems to be running fine for a few hours and then I get this connection error. If I restart the server it is fine again for a while and then the error again.

Any suggestion?

106776-error2.jpg


windows-server-update-services
error2.jpg (67.4 KiB)
· 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.

@Ogeidius-7116
Is there any udpates of the case? Have you tried the below link I recommended?

Please keep us in touch if there are any updates of the case.

Have a nice day :)

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

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/

To quote myself:

Just because you’ve installed a new WSUS server, doesn’t mean that it’s clean or optimized; it just means that it’s NEW!

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

@Ogeidius-7116
Thanks for your posting on Q&A.

Have you done any actions before the phenomenon occurred? Whether all the services in the IIS are running or not.

In addition, I found a related thread and I would like to share with you. Please try to follow this thread and check the required services.

Hope the above will be helpful.

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.

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.

Ogeidius-7116 avatar image
0 Votes"
Ogeidius-7116 answered Ogeidius-7116 edited

I tried a few different installs, adjusting Memory Limits, etc....

It is working, but it still is using an unreasonable amount of memory to run and the console is very slow.

I noticed there is a huge amount of Unapproved Updates. Is there an easy way to get rid off them. Without having to select them and decline them. There are too many for a manual process as the console would crash. Maybe via SQL or a PowerShell script. I have been googling for solutions but have not found anything useful yet.

114002-overview.png



overview.png (44.4 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

WAM has the capability to do this through the DeclineMultipleTypesOfUpdates Stream and the RemoveDeclinedUpdates stream, so it's definitely doable through PowerShell/SQL. Have you looked at PoSHWSUS or the WSUS PowerShell APIs?

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

@Ogeidius-7116
Please follow this link to download the PowerShell script first and then run it in your WSUS server to review the number of the superseded updates and decline it .

113974-1.png

Then run the below commands:

 Decline-SupersededUpdatesWithExclusionPeriod.ps1 -UpdateServer SERVERNAME -Port 8530 –SkipDecline
    
 Decline-SupersededUpdatesWithExclusionPeriod.ps1 -UpdateServer SERVERNAME -Port 8530 –ExclusionPeriod 60
    
 Decline-SupersededUpdatesWithExclusionPeriod.ps1 -UpdateServer SERVERNAME -Port 8530
    
 Decline-SupersededUpdatesWithExclusionPeriod.ps1 -UpdateServer SERVERNAME -UseSSL -Port 8531

Reference picture:
113999-2.png

Please keep us in touch if there are any updates of the thread.

Hope the above will be helpful.

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.


1.png (33.9 KiB)
2.png (179.1 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.