Solved

How to Create New Active Directory from Directory Services recovery mode

Posted on 2006-07-13
12
538 Views
Last Modified: 2012-08-13
I have a Server 2003 std machine with a completely corrupt AD. I have tried repair and recovery but no joy.
ALL the existing backups seem to have been made after the corruption occured (it went unnoticed for just over a week).
My only option is to create a new AD and add the users etc. all over.
There is no Exchange Server installed so what's the quickest way to do this I can't seem to work it out (bearing in mind I can only get in in Directory Services recovery mode)?

Thanks
0
Comment
Question by:CoreDigital
  • 6
  • 5
12 Comments
 
LVL 48

Expert Comment

by:Jay_Jay70
ID: 17098811
i havent tried but can you demote the machine in DS restore mode? run DCPROMO if that fails, run DCPROMO /FORCEREMOVAL and then use ntdsutil to perform a metadats cleanup

i do not know if this will run as i havent tried in the restore mode
0
 
LVL 51

Accepted Solution

by:
Netman66 earned 500 total points
ID: 17098920
You can't.  There is no way to remove/install AD from the Recovery Console.

It's a re-install, I'm afraid.

0
 
LVL 4

Author Comment

by:CoreDigital
ID: 17099867
Full re-install? Or will a repair install work?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 17099930
A repair won't work because your AD is no longer a base default installation - and it's this NTDS.DIT that's bad.

0
 
LVL 4

Author Comment

by:CoreDigital
ID: 17100437
That is kind of what I feared.
I have found a system state backup on some old media from about 2 years ago but I'm assuming that it will be too old.
0
 
LVL 51

Expert Comment

by:Netman66
ID: 17101857
Yes.  Tombstone is 60 days.

0
What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

 
LVL 51

Expert Comment

by:Netman66
ID: 17101879
If you're looking to recover data rather than care about the domain, then install a temporary IDE HDD and install server, put the drivers on for the RAID controller then access and copy off any data you need from the array.

0
 
LVL 4

Author Comment

by:CoreDigital
ID: 17102147
As a last resort before a complete rebuild I copied over the NTDS folder from an old demoted raid drive from about six months ago and it now lets me back in and I can see all the users, computers etc. Only problem is that no workstations can log in (The message says that no domain controller can be found).
Am I any closer now? Or should I just bite the bullet?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 17102520
You're no closer - the NTDS.DIT file is the AD database.  If it's not usable, then your domain is toast.

0
 
LVL 4

Author Comment

by:CoreDigital
ID: 17103674
Yes but I DO now have a "good" NTDS.DIT file it's just that it's a bit old and hasn't been restored in the usual manner. At least now I can access the server.
The reasoning I have is that there's just too much stuff installed on the server for it to be desirable to rebuild.
Now that I can login normally can I not demote then promote again (at the very worst)?
0
 
LVL 51

Expert Comment

by:Netman66
ID: 17104999
You can try DCPROMO /forceremoval - but I have my doubts.

Since this is the only DC you're going to lose the domain and all security principals so unless the applications installed are tolerant with all that then you're still in for a world of hurt.

The old NTDS.DIT is beyond 60 days so it will be a big problem if you try to use it again - besides, it's not as simple as copying the file there - it has to be restored with System state.

0
 
LVL 4

Author Comment

by:CoreDigital
ID: 17107196
Oh well it was worth a try. Time to go bury my head in it now.
Thanks
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

I have never ceased to be amazed how many problems you can encounter on a fresh install of a Windows operating system.  This is certainly case in point& Unable to complete ANY MSI installation.  This means Windows Updates are failing and I can't …
Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

746 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

8 Experts available now in Live!

Get 1:1 Help Now