Help Restoring AD on a W2k8 PDC


Please help me get back a primary domain conrtoller up.

We have a Dell T110 server running Windows 2008 with Raid 1, one of the hard disks seems to have failed on the weekend and we found the system crashed on Monday. Due to some reason, the system was asking for System Restore and for the Local Administrator account password, which, much to our shock, was not written down, not what we can remember. So we had to restore from the previous day's backup done by Windows Server's built-in Backup.

The restore went fine and the system booted back in a Jiffy. But the clients were unable to access their shares and we found that the SYSVOL and NETLOGON share are not showing. dcdiag said errors about the kds not available etc. I set burflags to d4 and restarted the server. Now sysvol share comes up and netlogon still does not come.

Before all this event, there was another 2003 server set at PDC. this new server was gradually promoted but somehow, we were testing by powering down the old dc but we forgot to depromote the old dc. the new dc did report some journal wrap condition which was resolved by setting the same burflag to d4.

Now, after the restore today, we removed the oldserver from ad using metadata cleanup and removing the old server's records from the dns zones.

So now, Netlogon is not yet showing up, sysvol folder seemes pretty much empty except for some DO_NOT_REMOVE folder. I can still see old group policies defined in gp editor.

What can I do to bring back the server fully?
Who is Participating?
snusgubbenConnect With a Mentor Commented:
smtwklaAuthor Commented:
yes I tried it but how long should i wait between setting SysvolReady flag to 0 and 1? Is there something I should restart?
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

Darius GhassemCommented:
Restart the server after making the change.

Here is the issue though currently you have no data within the SYSVOl with no other system to copy the data from this might be a tuff road if the above fix doesn't work
I guess the SysvolReady key is 0?

If SYSVOL is already shared, set the flag to 1 and restart the Netlogon service.
smtwklaAuthor Commented:
the SysvolReady flag is 1, making it 0 and restarting netlogon and then to 1.
I now get this:
The Netlogon service could not create server share C:\Windows\SYSVOL\sysvol\polyoffice.local\SCRIPTS.  The following error occurred:
The system cannot find the file specified.

I guess it is due to the sysvol folder being empty. Can I rebuild it by restoring c:\windows\sysvol folder from the backup again?
smtwklaAuthor Commented:
zgiuffria, thanks, I have reset the password using ntdsutil
smtwklaAuthor Commented:
am also getting:
The processing of Group Policy failed. Windows attempted to read the file \\polyoffice.local\sysvol\polyoffice.local\Policies\{31B2F340-016D-11D2-945F-00C04FB984F9}\gpt.ini from a domain controller and was not successful. Group Policy settings may not be applied until this event is resolved. This issue may be transient and could be caused by one or more of the following:
a) Name Resolution/Network Connectivity to the current domain controller.
b) File Replication Service Latency (a file created on another domain controller has not replicated to the current domain controller).
c) The Distributed File System (DFS) client has been disabled.
Darius GhassemConnect With a Mentor Commented:
Restore the SYSVOl folder
smtwklaAuthor Commented:
Ok, I will restore the c:\windows\SYSVOL folder from the latest backup.
is there any right way to do it?
smtwklaAuthor Commented:
We have restored the SYSVOL folder entering ds rm and rebuilt it by setting burflags d4. now after reboot, everything is fine. Thanks guys for the support.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.