Solved

How to Create New Active Directory from Directory Services recovery mode

Posted on 2006-07-13
12
540 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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
 
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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Preface Having the need * to contact many different companies with different infrastructures * do remote maintenance in their network required us to implement a more flexible routing solution. As RAS, PPTP, L2TP and VPN Client connections are no…
The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
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…

810 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