Looks like you're attempting to install WSUS on a DC - not a best practice - but can be done.
Try running through
https://www.ajtek.ca/wsus/how-to-remove-wsus-completely-and-reinstall-it/
Unfortunately, because a domain controller doesn't have a "Local" account, you'll have to attempt it with the domain Administrator account in it's place - not one with 'domain admin' privileges but rather the Administrator account itself.