I have installed WSUS and configured it prior to setting up in SCCM
How can I safely remove WSUS feature completely and reinstall it as uninstalling the site role and reinstalling the WSUS service and SCCM role does not work as the settings from the first installation and configuration of WSUS are retained
I found this suggestion but will this remove the SCCM database?
To re-install WSUS with a clean database ie no previous configuration;
Run Windows Powershell as Administrator and use the following commands:
Uninstall-WindowsFeature UpdateServices Uninstall-WindowsFeature Windows-Internal-Database -restart
Post restart, run the following command to re-install WSUS:
Install-WindowsFeature UpdateServices -restart