The other day, this was the error I was getting.
Sync failed: WSUS server not configured. Please refer to WCM.log for configuration error details.. Source: CWSyncMgr::DoSync
I checked also WCM.log and it was giving error: “Remote configuration failed on WSUS Server
I decided to reinstall the WSUS. I did the procedure below.
- Uninstall the SUP role. Wait until you are certain this has completed, or check the log to make sure. (SUPSetup.log)
- Reboot SCCM server.
- Uninstall WSUS, verify this has completed successfully, even log should help.
- Reboot WSUS server.
- Install WSUS.
- KB2720211 and KB2734608 were already installed on my server. Otherwise I would have to install them. Server Mnager was telling about the Post Install Configuration. I would start and then cancel the the wizard but Server Manager gave error saying “Post Config Failed” I checked the log file that resides under “C:\Users\smsadmin\AppData\Local\Temp” and saw the error: Config file did not contain a value “ContentDirectory”
Solution to this: Just start WSUS console and it will ask you content directory and database server
Close the console.
I needed to make sure that it was using the correct sql server, so I checked the sql server location from registry.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Update Services\Server\Setup
Everything seems correct.
I restarted the Sync and it works.