Invoke-WsusServerCleanup Fails with HTTP status 403: Forbidden

AU_Michael 1 Reputation point

I decided to run the cleanup wizard on my WSUS server recently and it crashes almost immediately with the reset server node error.

I went to PowerShell and I am getting the following error:


Any thoughts on why I am getting the error or how to correct it? The ServerIsInvalid is troubling, but I have no thoughts on how to go about fixing it. The server is fully operational otherwise and is configured to use SSL.

Appreciate any assistance.

Windows Server
Windows Server
A family of Microsoft server operating systems that support enterprise-level management, data storage, applications, and communications.
11,159 questions
{count} votes

6 answers

Sort by: Most helpful
  1. Adam J. Marshall 7,261 Reputation points MVP

    Are you performing the proper WSUS maintenance including but not limited to declining superseded updates, running the SQL Indexing script, etc.?

    The Server Cleanup Wizard (SCW) is only 1 component of WSUS Maintenance.

  2. Adam J. Marshall 7,261 Reputation points MVP

    What's your private memory limit set to?

    Assuming this is virtual, what's your vCPUs set to?

    And yes, our site was having issues this morning. We're working with our host to resolve them. It's currently up.

  3. Adam J. Marshall 7,261 Reputation points MVP

    Is the WsusPool application pool started? If not, start it. If it is, increase it to 8GB and restart it.

    If you have WAM, from the WAM Shell:

    .\Clean-WSUS.ps1 -SetApplicationPoolMemory 8192

    This also restarts the App Pool so you don't need to do it yourself.

    Then try it again.

  4. Adam J. Marshall 7,261 Reputation points MVP

    Proxy server or firewall in the mix?

  5. Adam J. Marshall 7,261 Reputation points MVP

    Verify that the settings in Windows are accurately reporting no proxy server:

    From PowerShell:

    Write-Output "Proxy: $(netsh winhttp show proxy)"