Cannot repair Active Directory

Posted on 2004-05-02
Last Modified: 2008-05-30
Hi everyone,

I have encountered the famous Active Directory 0xc00002e1 error in Windows 2003 Server after resizing a partition on the hard disk. Now, plenty information is given on how to recover everything. You have to run the server in Directory Services Repair Mode, then use ntdsutil.

The problem is, when I run the Directory Services Repair Mode and log in as Administrator, the system logs in normally and then after showing the "Applying Computer Settings", it simply logs off by itself before I can do anything. I've spent the whole day reading and trying things, but I'm strongly limited by the fact that I don't have a single way of logging to the server (no safe mode, no command prompt, no directory services repair mode, etc.)

If anyone has a clue, it would really be appreciated!
Question by:Lost_Beny

Accepted Solution

Tony_Ts earned 125 total points
ID: 10977291
In DSRM (Directory Service Restore Mode) do you have network support? Can you connect to the server's registry remotely ? If so then navigate to HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Control Panel\Desktop and change the SCRNSAVE.EXE value to cmd.exe. That way you will get a comand prompt, as a screen saver, which will help you since you can't logon to the server. Be sure to also set the ScreenSaveTimeOut value to a low value (the values are in seconds) so the screensaver kicks in as soon as the server has booted.

Of course, it goes without saying, if you don't feel confortable editting the registry DO NOT TRY the above.

Author Comment

ID: 10978052
It's not possible for me to test right now, but I think it should work and it's a very good idea, thank you.

Author Comment

ID: 10982722
No, it doesn't work!

There's no network support in DSRM.

I'm really getting despaired...
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.


Expert Comment

ID: 11004087
At first have a full backup of the system (clonning the disk might be a good idea) because if you follow the steps bellow you'll modify many things and it might be not possible to go back. So, in that case, a backup would be handy ;)
Then try replacing the Administrators profile with the contents of the default profile. You can do that by using the recovery console (boot from Windows CD and at some point you get an option of repairing, choose recovery console). The administrator's profile can be found at C:\Documents and Settings\Administrator. Try replacing everything in that folder with the contents of the C:\Documents and Settings\Default User folder.
If it is a profile problem this should fix it.

Author Comment

ID: 11007862
This is a good idea.
I have also found a way to load the registry hive from another partition. Changing to cmd.exe like you said did not work, there was simply no more screen saver.
If your solution doesn't work, someone suggested it might be the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\Userinit
which causes the problem. There are a few others which could make my logon do this in the Winlogon keys.

I'll tell you the results later.
Thanks a lot...

Author Comment

ID: 11019103
I've found the answer! After a week, believe me I'm quite happy.

After browsing through the registry, I finally found that the problem was in the HKEY_LOCAL_MACHINE\System\MountedDevices keys.
Since I had resized the partition from another OS, the keys hadn't been updated to reflect the change and the new partitions weren't associated to their corresponding letters. Therefore the system couldn't find anything and the first thing to bug was lsass.exe.
I copied the binary values of the other OS and it worked right after.

Thanks a lot for your help, I wouldn't have thought of checking the registry if you hadn't suggested it!

Expert Comment

ID: 11111971
I have the same problem. I ghosted a server 2003 disk to a larger hard drive so now the partitions are larger. When I start up I get the same error as above. I dont have an alternate OS to copy the binary information from. Does anyone have a suggestion on how I could get this to work?

Expert Comment

ID: 11412814
Dear Beny:
I encountered the same problem.
Would you please tell me how to load the registry hive from another partition?
Thank you so much!!

Expert Comment

ID: 11572715
Hey Lost Beny
Could you share How Did you accesses Win2k3 from Other operating system ??? or How Did you do Following,
 "I copied the binary values of the other OS and it worked right after."


Featured Post

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

773 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