ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Constant WSUS issues (Connection Errors)

    IT Discussion
    10
    87
    16.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • dave247D
      dave247
      last edited by dave247

      Where I work, we've been using a 3rd party tool for Windows OS updates and patches. It has had issues for a while and I'm sick of dealing with it, so now I'm finally getting my feet wet with WSUS.

      I added the WSUS role to a 2012 R2 server we already have running and I completed the initial setup and configuration and let it download updates for the products I specified. Then after it was done, and before I could do anything else, I started getting this error:

      0_1514487411101_7849eb62-114d-4d66-8c5e-46939fe89ccb-image.png

      So I rebooted a few times, googled it, removed and re-added the role as well as increased the memory limit on the resource pool in IIS, tried turning off Windows firewall, etc, but I still got the error.

      I eventually decided to set up a brand new Windows Server 2016 on a spare server I have, solely for WSUS and ran through the setup process again, this time, using Tim_G's guide. I got to about "Step 4: Configure WSUS" when I got the same connection error again.

      I'm not sure why this is happening, especially when the server is a brand new install, and it's already downloaded updates. This brand new server doesn't even have any group policy applied to it yet, as I've just joined it to the domain, FWIW.

      Another screenshot:
      0_1514488563023_48f808f4-a52d-4468-8f46-114421d5bcc1-image.png

      I did notice some warnings in Event Viewer under Applications, event ID 7032:

      The WSUS administration console was unable to connect to the WSUS Server via the remote API.
      Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.
      The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists, Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC. System.IO.IOException -- The handshake failed due to an unexpected packet format.

      I guess the item listed in the event log is the reason for the connection error, but I have no idea why it's happening. I have been messing with this all week and I can't seem to get WSUS to bloody work.

      1 Reply Last reply Reply Quote 0
      • momurdaM
        momurda
        last edited by

        Did you do this:
        Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC. System.IO.IOException -- The handshake failed due to an unexpected packet format.

        Other thing to try is the "Last WSUS Script Youll Ever Need" from Overdrive on SW, or whatever he calls it now.
        https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

        dave247D 1 Reply Last reply Reply Quote 1
        • dave247D
          dave247 @momurda
          last edited by

          @momurda said in Constant WSUS issues (Connection Errors):

          Did you do this:
          Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC. System.IO.IOException -- The handshake failed due to an unexpected packet format.

          Other thing to try is the "Last WSUS Script Youll Ever Need" from Overdrive on SW, or whatever he calls it now.
          https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

          lmao no, my eyes just glossed over after reading part way through the event log. I'm so used to them not helping me... I just deleted it, so I'll see if that helps. Checking out the script now too.

          PSX_DefectorP 1 Reply Last reply Reply Quote 0
          • JaredBuschJ
            JaredBusch
            last edited by

            WSUS sucks to manage. Good luck.

            dave247D 1 Reply Last reply Reply Quote 3
            • dave247D
              dave247 @JaredBusch
              last edited by dave247

              @jaredbusch said in Constant WSUS issues (Connection Errors):

              WSUS sucks to manage. Good luck.

              Well hey there Mr helpful.

              1. Why does it suck?
              2. What else would you recommend for managing Windows updates that doesn't suck?
              JaredBuschJ 1 Reply Last reply Reply Quote 0
              • JaredBuschJ
                JaredBusch @dave247
                last edited by

                @dave247 said in Constant WSUS issues (Connection Errors):

                1. Why does it suck?

                Because the WSUS instance itself needs maintenance weeklyish or it bogs down and pukes.

                1. What else would you recommend for managing Windows updates that doesn't suck?

                Sadly, no. I let Windows do it and just force reboots weekly.
                This does not help you and your need for compliance reporting.

                dave247D 1 Reply Last reply Reply Quote 1
                • dave247D
                  dave247 @JaredBusch
                  last edited by dave247

                  @jaredbusch said in Constant WSUS issues (Connection Errors):

                  @dave247 said in Constant WSUS issues (Connection Errors):

                  1. Why does it suck?

                  Because the WSUS instance itself needs maintenance weeklyish or it bogs down and pukes.

                  1. What else would you recommend for managing Windows updates that doesn't suck?

                  Sadly, no. I let Windows do it and just force reboots weekly.
                  This does not help you and your need for compliance reporting.

                  ok well I have a bunch of servers and workstations and I'd like to be able to have some form of management over the updates. Also, I don't want to have them all reaching out to Microsoft to download updates..

                  1 Reply Last reply Reply Quote 0
                  • momurdaM
                    momurda
                    last edited by

                    WSUS is your only option. Yes it sucks.
                    Unless you want to pay many thousands for a 3rd party solution.
                    Delete that corrupt profile. Use that script.

                    dave247D 1 Reply Last reply Reply Quote 1
                    • dave247D
                      dave247 @momurda
                      last edited by

                      @momurda said in Constant WSUS issues (Connection Errors):

                      WSUS is your only option. Yes it sucks.
                      Unless you want to pay many thousands for a 3rd party solution.
                      Delete that corrupt profile. Use that script.

                      Well we already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.

                      It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                      1 Reply Last reply Reply Quote 0
                      • dbeatoD
                        dbeato
                        last edited by

                        @dave247 said in Constant WSUS issues (Connection Errors):

                        already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                        It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                        Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                        Also take a look at Adamj's WSUS Script
                        http://www.adamj.org/clean-wsus.html
                        https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                        dave247D 1 Reply Last reply Reply Quote 0
                        • dave247D
                          dave247 @dbeato
                          last edited by dave247

                          @dbeato said in Constant WSUS issues (Connection Errors):

                          @dave247 said in Constant WSUS issues (Connection Errors):

                          already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                          It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                          Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                          Also take a look at Adamj's WSUS Script
                          http://www.adamj.org/clean-wsus.html
                          https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                          Dell PowerEdge R420
                          CPU: Xeon E5-2430 @ 2.20 GHz (2 Processors)
                          RAM: 56.0 GB
                          Storage: Data volume is 1.72 TB (with only about 40 GB used)

                          I will check out those scripts here shortly.

                          dbeatoD 1 Reply Last reply Reply Quote 0
                          • dbeatoD
                            dbeato @dave247
                            last edited by

                            @dave247 said in Constant WSUS issues (Connection Errors):

                            @dbeato said in Constant WSUS issues (Connection Errors):

                            @dave247 said in Constant WSUS issues (Connection Errors):

                            already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                            It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                            Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                            Also take a look at Adamj's WSUS Script
                            http://www.adamj.org/clean-wsus.html
                            https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                            Dell PowerEdge R420
                            CPU: Xeon E5-2430 @ 2.20 GHz (2 Processors)
                            RAM: 56.0 GB

                            I will check out those scripts here shortly.

                            You have a Hardware Host Dedicated to WSUS? What else is on this server?

                            dave247D 1 Reply Last reply Reply Quote 0
                            • dave247D
                              dave247 @dbeato
                              last edited by

                              @dbeato said in Constant WSUS issues (Connection Errors):

                              @dave247 said in Constant WSUS issues (Connection Errors):

                              @dbeato said in Constant WSUS issues (Connection Errors):

                              @dave247 said in Constant WSUS issues (Connection Errors):

                              already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                              It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                              Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                              Also take a look at Adamj's WSUS Script
                              http://www.adamj.org/clean-wsus.html
                              https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                              Dell PowerEdge R420
                              CPU: Xeon E5-2430 @ 2.20 GHz (2 Processors)
                              RAM: 56.0 GB

                              I will check out those scripts here shortly.

                              You have a Hardware Host Dedicated to WSUS? What else is on this server?

                              Yes, this server is set up as a dedicated WSUS server and a fresh install of Server 2016 and the WSUS role (if anything just to test and try out WSUS). Nothing else running on here at all.

                              dbeatoD 1 Reply Last reply Reply Quote 0
                              • dbeatoD
                                dbeato @dave247
                                last edited by dbeato

                                @dave247 said in Constant WSUS issues (Connection Errors):

                                @dbeato said in Constant WSUS issues (Connection Errors):

                                @dave247 said in Constant WSUS issues (Connection Errors):

                                @dbeato said in Constant WSUS issues (Connection Errors):

                                @dave247 said in Constant WSUS issues (Connection Errors):

                                already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                                It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                                Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                                Also take a look at Adamj's WSUS Script
                                http://www.adamj.org/clean-wsus.html
                                https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                                Dell PowerEdge R420
                                CPU: Xeon E5-2430 @ 2.20 GHz (2 Processors)
                                RAM: 56.0 GB

                                I will check out those scripts here shortly.

                                You have a Hardware Host Dedicated to WSUS? What else is on this server?

                                Yes, this server is set up as a dedicated WSUS server and a fresh install of Server 2016 and the WSUS role (if anything just to test and try out WSUS). Nothing else running on here at all.

                                WOW, I would not waste that much on a WSUS Server, I would have setup a VM on a Hyper-V Server 2016 Host and use a VM with 2 vCPU, 16 GB RAM and 500 GB of space.

                                dave247D 1 Reply Last reply Reply Quote 5
                                • dave247D
                                  dave247 @dbeato
                                  last edited by dave247

                                  @dbeato said in Constant WSUS issues (Connection Errors):

                                  @dave247 said in Constant WSUS issues (Connection Errors):

                                  @dbeato said in Constant WSUS issues (Connection Errors):

                                  @dave247 said in Constant WSUS issues (Connection Errors):

                                  @dbeato said in Constant WSUS issues (Connection Errors):

                                  @dave247 said in Constant WSUS issues (Connection Errors):

                                  already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                                  It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                                  Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                                  Also take a look at Adamj's WSUS Script
                                  http://www.adamj.org/clean-wsus.html
                                  https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                                  Dell PowerEdge R420
                                  CPU: Xeon E5-2430 @ 2.20 GHz (2 Processors)
                                  RAM: 56.0 GB

                                  I will check out those scripts here shortly.

                                  You have a Hardware Host Dedicated to WSUS? What else is on this server?

                                  Yes, this server is set up as a dedicated WSUS server and a fresh install of Server 2016 and the WSUS role (if anything just to test and try out WSUS). Nothing else running on here at all.

                                  WOW, I would waste that much on a WSUS Server, I would have setup a VM on a Hyper-V Server 2016 Host and use a VM with 2 vCPU, 16 GB RAM and 500 GB of space.

                                  ok, I really don't want to get off topic like this... I am just trying get WSUS to work to try it out and see how well I can manage Windows updates. I haven't even activated Windows 2016 because I plan to move this to a virtual machine later. It's not the point. Again, this is just to try out WSUS and get it working, which I have been yet to do.

                                  dbeatoD 1 Reply Last reply Reply Quote 0
                                  • PSX_DefectorP
                                    PSX_Defector @dave247
                                    last edited by

                                    @dave247 said in Constant WSUS issues (Connection Errors):

                                    I'm so used to them not helping me...

                                    That might be a problem going forward. All event logs have information and tell you every possible problem, just have to get used to reading them. Never just gloss them over.

                                    I'm assuming you are opening the snapin via the local machine versus a remote. That screen happens when you can't connect to it. Your error in the event log means that it can't connect to the site via SSL. Open IIS and make sure that it has a self-signed cert generated for the site. Or make sure the site is up on HTTP and open it that way in MMC. That should fix the problem.

                                    1 Reply Last reply Reply Quote 0
                                    • ObsolesceO
                                      Obsolesce
                                      last edited by Obsolesce

                                      Hi, I ran in to this before and have the fix for it on the wiki at work.

                                      Give me a bit to grab it. It has to do with AppPool settings if I remember correctly, on the IIS server.

                                      Edit: I'm just gonna do screenshots because I'm feeling lazy atm, sorry.

                                      1 Reply Last reply Reply Quote 0
                                      • dbeatoD
                                        dbeato @dave247
                                        last edited by

                                        @dave247 said in Constant WSUS issues (Connection Errors):

                                        @dbeato said in Constant WSUS issues (Connection Errors):

                                        @dave247 said in Constant WSUS issues (Connection Errors):

                                        @dbeato said in Constant WSUS issues (Connection Errors):

                                        @dave247 said in Constant WSUS issues (Connection Errors):

                                        @dbeato said in Constant WSUS issues (Connection Errors):

                                        @dave247 said in Constant WSUS issues (Connection Errors):

                                        already purchased Desktop Central from ManageEngine a while back.. that was in the thousands.. however, we got an IT audit and it showed that we were missing a lot of past updates. When doing a Windows Update search on the host itself, I often find that it discovers missing updates. When I check DesktopCentral, it says it's not missing updates. Checking with DesktopCentral support, they tell me that Windows updates and patches can supersede old ones. Based on research and shit, I think it's just a matter of the Windows registry making it appear that we are missing updates. However, I still think some of my machines are actually missing updates. Hense why I want to use WSUS to comb through my systems with Microsoft's own product, to try to find any missing updates, vs doing it manually.
                                        It seems like no matter what I do though, this is going to be a huge pain in my assholes.

                                        Alright, so what are the RAM and Storage on this server? What CPU resources have you provided to this system?

                                        Also take a look at Adamj's WSUS Script
                                        http://www.adamj.org/clean-wsus.html
                                        https://community.spiceworks.com/scripts/show/2998-wsus-automated-maintenance-formerly-adamj-clean-wsus

                                        Dell PowerEdge R420
                                        CPU: Xeon E5-2430 @ 2.20 GHz (2 Processors)
                                        RAM: 56.0 GB

                                        I will check out those scripts here shortly.

                                        You have a Hardware Host Dedicated to WSUS? What else is on this server?

                                        Yes, this server is set up as a dedicated WSUS server and a fresh install of Server 2016 and the WSUS role (if anything just to test and try out WSUS). Nothing else running on here at all.

                                        WOW, I would waste that much on a WSUS Server, I would have setup a VM on a Hyper-V Server 2016 Host and use a VM with 2 vCPU, 16 GB RAM and 500 GB of space.

                                        ok, I really don't want to get off topic like this... I am just trying get WSUS to work to try it out and see how well I can manage Windows updates. I haven't even activated Windows 2016 because I plan to move this to a virtual machine later. It's not the point. Again, this is just to try out WSUS and get it working, which I have been yet to do.

                                        I didn’t think I went off topic. Let’s go through yourur setup. What Database are you using WID or SQL?

                                        1 Reply Last reply Reply Quote 0
                                        • ObsolesceO
                                          Obsolesce
                                          last edited by

                                          0_1514505608103_Screenshot from 2017-12-28 15-59-46.png

                                          0_1514505767743_Screenshot from 2017-12-28 16-00-25.png

                                          0_1514505827814_Screenshot from 2017-12-28 16-03-14.png

                                          1 Reply Last reply Reply Quote 3
                                          • ObsolesceO
                                            Obsolesce
                                            last edited by

                                            I wouldn't download all available updates. That's going to kill your available capacity.

                                            Instead, set it to only download approved updates.

                                            I've been doing WSUS for a long time. I really don't ever have to worry about it, other than approving updates manually. They can be set to be approved automatically, but I just can't yet.

                                            black3dynamiteB 1 Reply Last reply Reply Quote 1
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 1 / 5
                                            • First post
                                              Last post