MPControl 500 error after removing WSUS and the SUP from SCCM

One thing I have found interesting, intriguing, and somewhat ironic is a glorious lack of need for Configuration Manager in my environment due to things like Azure AD and Intune. For the sake of patching, though, I have so many disconnected systems in my labs that it made no sense to maintain both a WSUS solution and a SCCM one. As a result, I removed WSUS and Software Updates from the SCCM fabric.

Nothing comes for free obviously, and as a result, the Management Point broke. All of the sudden, I was receiving these errors in MPControl:

Call to HttpSendRequestSync failed for port 80 with status code 500, text: Internal Server Error

So, does anyone know what a HTTP 500 error is? Well, if you don't know, you're right. It's an unknown error and can be caused by about anything.

After trying a couple things unsuccessfully (IISReset / reinstall the MP), went into diving into the IIS server itself. Come to find out the applicationhost.config file in IIS has a dependency on WSUS. This line exists:

scheme name="xpress" doStaticCompression="false" doDynamicCompression="true" dll="C:\Windows\system32\inetsrv\suscomp.dll" staticCompressionLevel="10″ dynamicCompressionLevel="0″ />

To remedy this problem, I ran this command:
%windir%\system32\inetsrv\appcmd.exe set config -section:system.webServer/httpCompression /-[name='xpress']

And after a IISReset and restarting the SCCM Services for good measure to speed up the process, those errors turned to a nice, successful Call to HttpSendRequestSync succeeded for port 80 with status code 200, text: OK.

Just in case anyone else needs this after removing WSUS and the SUP from SCCM.

— If you like my blogs, please share it on social media, rate it, and/or leave a comment. —