SCCM Primary Site HTTP Error 500 Caused by Uninstalling WSUS


After uninstalling WSUS from a SCCM primary site server, imaging fails with HTTP Error 500 in log file.

Application deployments do not complete and seem stuck in processing and the download folders on targeted machines are created but empty.

Navigating to the primary site server in a browser results in HTTP Error 500.xx - Internal Server Error


Uninstalling the WSUS role on the server removed the files installed by the Windows Update Services but did not clean up the configuration written in the ApplicationHost.config file.


Run the following command to remove all references to the module installed by WSUS.

%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']

After the command completes, the management server will begin functioning properly again.