Solved

How to recover FSMO Role Holder DC

Posted on 2008-06-20
4
1,724 Views
Last Modified: 2008-06-22
I am in deep doo-doo.
Environment: 3 DC's with one DC (Main DC) having all the fsmo roles. All DCs have a copy of the GC.
The Main DC began to reboot continuously and get Directory service errors on the login page. I couldn't even login.
The error was
" Directory Services could not start because of the following errors: A transaction recover failed. Error status 0x0000227."

Rebooted into SAFE Directory Services Mode. I ran: ntdsutil files info. Some of my NTDS files were missing including the NTDS.dit file.
Went to my most recent backup and restored the NTDS folder. However the edb.log and temp.edb were missing from the backup so I just re-created them with nothing in them.
Still in DS mode, I restarted the DFS services, just to make sure.
I rebooted into normal mode. Same problem.
I rebooted into DS mode and went into System and saw the main DC was assigned to an "unknown domain". It did not even recognize the server as a DC.
So....I decided to clean everything off and start over. I went to one of my other DC's to try to seize the FSMO roles using ntdsutil, but I got the message that the server was unavailble.
My question is what do I do now?
I can't do a dcpromo /forceremoval and then ntdsutil metadata cleanup from one of the other DCs. I've bit the bullet and decided to spend 4 hours this weekend building the server up again(different name :)) but how do I get the FSMO roles over to one of my other DCs?
Thanks


0
Comment
Question by:PWyatt1
  • 2
4 Comments
 
LVL 70

Expert Comment

by:Chris Dent
ID: 21835401

Hey there,

First things first. Turn off the broken DC, it can't be back on the network if you've going to grab everything. I strongly recommend you rebuild it completely rather than trying DCPromo to Demote and Promote it again.

At the very least the server should be removed from the domain entirely (dropped back to a Workgroup). It is essential that it gains a new Computer Account.

First the FSMO Roles:

Start
Run
ntdsutil
Roles
Connections
Connect to Server <AnyWorkingDC>
quit

That gets us the Connection we need, the connection should be to the DC we want to hold the roles (not the current role holder). We should check we know where all the FSMO roles are:

Select Operation Target
List Roles for Connected Server
quit

That's shown us where they all are. Now you can Seize them:

Seize Domain Naming Master
Seize PDC
Seize RID Master
Seize Infrastructure Master
Seize Schema Master

The Seize operation will attempt a graceful transfer first, that should fail but Seize should work.

Now you need to perform Metadata Cleanup to get rid of the DC that died. There's an MS Article for that one here:

http://support.microsoft.com/kb/216498

If you have any questions, or any of it is unclear please don't hesitate to ask.

Chris
0
 
LVL 31

Expert Comment

by:Henrik Johansson
ID: 21835415
When restoring the NTDS-folder, did you do a authoritative restore when using ntdsutil?
0
 

Author Comment

by:PWyatt1
ID: 21835869
Hi Chris-Dent. Doh!. When I was doing the seizing I just looked at the first couple of lines which showed a transfer error. Dummy me. If I had read further sdown, I would have seen that each of the FSMOs were being seized OK.  They were already on the new authroritative server!

HI henjohn. The answer was that I did do an authroritative restore. Thanks for the hint.

However, I'll go ahead and give Chris-Dent the points, although I think I should get half of them :)
Thanks guys for the quick responses
0
 
LVL 70

Accepted Solution

by:
Chris Dent earned 250 total points
ID: 21836868

:) At least everything is working.

Chris
0

Featured Post

Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

Question has a verified solution.

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

Learn about cloud computing and its benefits for small business owners.
While rebooting windows server 2003 server , it's showing "active directory rebuilding indices please wait" at startup. It took a little while for this process to complete and once we logged on not all the services were started so another reboot is …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…

808 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