Here’s a link to a .reg file to delete the key.
Usual disclaimer: Use at your own risk. Backup your registry before making any changes.
WSUS settings can be found at HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate
Delete WUServer and WUStatusServer to remove WSUS server.
Delete the WindowsUpdate key to reset all Windows update settings. Any keys will be recreated if they’re needed or set with group policy.
Tip: You can copy and paste into the address bar in registry editor.
Restart Windows Update service (wuauserv) after making changes.
powershell
restart-service wuauserv
cmd
net stop wuauserv && net stop wuauserv
Check for updates after restarting the service.
control update