We had tried out a version of SCCM server and have removed it, but apparently, it was not removed correctly from the domain. Computers from the domain are still getting registry settings for Windows Update Service. I have done a gpresult /h on a client computer to determine what GPO is applying the setting but there is no reference to this server any GPO settings that are applied.
As a temp fix, I had added a setting to delete these two registry entries, but I know this is not correct. Anyone able to provide assistance.
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUServer - http://sccmsrv01.domain.local
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate\WUStatusServer - http://sccmsrv01.domain.local
There may be other settings that are applying but these are preventing computers to contact Microsoft servers.