WSUS server computer account deleted, SID errors, can't connect to SQL

Have a bit of a problem.

In deploying a Virtual Machine from a template, a duplicate name was created on the network and our WSUS server computer account got blown away. The WSUS server was then rejoined to the domain, but now gets errors that it cannot connect to the SQL server where the WSUS database lives.  We would think this is due to the User account in the SQL database called domain\Computername$ having an incorrect SID.

Is there a way to either fix this in SQL by repairing or recreating the account, or get the WSUS console to cooperate in some other way?
waktaszAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TDKDCommented:
I would perform a non authoritative restore of the object (computer) in AD...
0
TDKDCommented:
I actually would probably perform an Authoritatative Restore if the OU in which the computer object is still intact...
0
10 Tips to Protect Your Business from Ransomware

Did you know that ransomware is the most widespread, destructive malware in the world today? It accounts for 39% of all security breaches, with ransomware gangsters projected to make $11.5B in profits from online extortion by 2019.

TDKDCommented:
If you do not want to perform a restore you could always duplicate the old SID on the new one?? If you think this is indeed the issue??
0
waktaszAuthor Commented:
If I wanted to do that I'm not sure how to get the old SID back. The original computer account was deleted.
0
TDKDCommented:
You can do this with Winternals NewSid Tool located here: http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx
0
TDKDCommented:
Is the old physical server still around? Does the SQL server make reference of the SID it is quering?
0
TDKDCommented:
If the physical server is still around you can simply run the NewSID tool on it and it will inform you of the current SID.
0
waktaszAuthor Commented:
The WSUS server is still around...everything is virtual here. It was removed and rejoined to the domain so the old SID is going to be gone, right?. Not sure how to get the old SID back on the machine and also in the computer account in AD.  I guess restore the machine and the AD account?  /Confused in Philadelphia
0
waktaszAuthor Commented:
At this point I think we are just going to do a WSUS reinstall. Hopefully that works.
0
TDKDCommented:
If you change the SID on the new server it will automatically update in AD...The SQL Server seems to be looking for the old SID?? You stated... so if you re-create the old SID on the new WSUS server you should be ok....
0
waktaszAuthor Commented:
Moral of the story...

Deleting the WSUS DB and associated logins, then reinstalling WSUS and recreating the SQL logins fixed the issue.

Thanks for your help though. Those tools could come in handy later.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
TDKDCommented:
Excellent!!! Glad your all set :-)

Your very welcome!!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Server Apps

From novice to tech pro — start learning today.