Solved

How to recover FSMO Role Holder DC

Posted on 2008-06-20
4
1,715 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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

Suggested Solutions

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
Edureka is one of the fastest growing and most effective online learning sites.  We are here to help you succeed.

912 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now