SCVMM - Add Update Server error 24057

Tags: System Center, Windows Server, WSUS

I figured I should try to get the upgrade from SCVMM 2012 SP1 Beta to SP1 release completed over the holidays. Part of the update required a rebuild of the database (and thus reassociating all agents, recreating fabrics etc). When it came time to integrate the WSUS server, I got this:

PS C:\Windows\system32> Add-SCUpdateServer wsus.lab.lan -Credential $Cred
Add-SCUpdateServer : VMM no longer has full administrative permissions on update server wsus.lab.lan. (Error ID: 24057)

Please reassociate the VMM Agent on the update server and retry the operation.

To restart the job, run the following command:
PS> Restart-Job -Job (Get-VMMServer localhost | Get-Job | where { $_.ID -eq "{7d2ed5e3-3de5-43c5-820f-2e32241bf4e6}"})
At line:1 char:1
+ Add-SCUpdateServer wsus.lab.lan -Credential $Cred
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ReadError: (:) [Add-SCUpdateServer], CarmineException
    + FullyQualifiedErrorId : 24057,Microsoft.SystemCenter.VirtualMachineManager.Cmdlets.RemoveUpdateServerCmdlet

Manually installing the agent did not help. Reassociating did nothing, updating the server failed, so did attempting to remove it! Nor did retrying or rebooting (neither the VMM host nor WSUS) help.

What did help was adding the SCVMM service account (not the SCVMM host server) to the Administrators group on the WSUS server. So try that first!

No Comments