?
Solved

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

Posted on 2009-07-08
13
Medium Priority
?
543 Views
Last Modified: 2012-05-07
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?
0
Comment
Question by:waktasz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 4
13 Comments
 
LVL 8

Expert Comment

by:TDKD
ID: 24805272
I would perform a non authoritative restore of the object (computer) in AD...
0
 
LVL 8

Expert Comment

by:TDKD
ID: 24805338
I actually would probably perform an Authoritatative Restore if the OU in which the computer object is still intact...
0
Get real performance insights from real users

Key features:
- Total Pages Views and Load times
- Top Pages Viewed and Load Times
- Real Time Site Page Build Performance
- Users’ Browser and Platform Performance
- Geographic User Breakdown
- And more

 
LVL 8

Expert Comment

by:TDKD
ID: 24805486
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
 

Author Comment

by:waktasz
ID: 24805493
If I wanted to do that I'm not sure how to get the old SID back. The original computer account was deleted.
0
 
LVL 8

Expert Comment

by:TDKD
ID: 24805501
You can do this with Winternals NewSid Tool located here: http://technet.microsoft.com/en-us/sysinternals/bb897418.aspx
0
 
LVL 8

Expert Comment

by:TDKD
ID: 24805515
Is the old physical server still around? Does the SQL server make reference of the SID it is quering?
0
 
LVL 8

Expert Comment

by:TDKD
ID: 24805528
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
 

Author Comment

by:waktasz
ID: 24805587
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
 

Author Comment

by:waktasz
ID: 24805729
At this point I think we are just going to do a WSUS reinstall. Hopefully that works.
0
 
LVL 8

Expert Comment

by:TDKD
ID: 24805887
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
 

Accepted Solution

by:
waktasz earned 0 total points
ID: 24807312
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
 
LVL 8

Expert Comment

by:TDKD
ID: 24807345
Excellent!!! Glad your all set :-)

Your very welcome!!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Microsoft has released remote PowerShell capabilities to all commercial Office 365 customers. So you can be controlled via PowerShell and not from the Office 365 admin center Download Windows PowerShell Module for Lync Online http://www.micros…
The System Center Operations Manager 2012, known as SCOM, is a part of the Microsoft system center product that provides the user with infrastructure monitoring and application performance monitoring. SCOM monitors:   Windows or UNIX/LinuxNetwo…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses
Course of the Month13 days, 2 hours left to enroll

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question