Hello there,
You can also modify the registry on individual machines, but this is not recommended due to potential risks and lack of centralized management.
Open the Registry Editor (regedit).
Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\WindowsUpdate.
Delete or modify keys like WUServer and WUStatusServer to remove the WSUS server information.
Similar discussion here
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--