In tip 7978, I described how to perform an Automated System Recovery.

NOTE: You can use NTBackup to perform an authoritative primary restore on a new Windows Server 2003 that is the first domain controller in a domain.

The subject problem occurs because the Sysvol folder cannot be restored authoritatively when you use ASR to perform an authoritative primary restore on a new Microsoft Windows Server 2003 computer that is the first domain controller in a domain.

To workaround this behavior:

1. Run FixASR.bat, which contains:

@echo off
net stop ntfrs
@echo REGEDIT4>"%TEMP%\BurFlags.reg"
@echo.>>"%TEMP%\BurFlags.reg"
<font size="-2">@echo \[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\NtFrs\Parameters\Backup/Restore\Process at Startup\]>>"%TEMP%\BurFlags.reg"</font>
@echo "BurFlags"=dword:000000d4>>"%TEMP%\BurFlags.reg"
@echo.>>"%TEMP%\BurFlags.reg"
@echo.>>"%TEMP%\BurFlags.reg"
regedit /s "%TEMP%\BurFlags.reg"
del /q "%TEMP%\BurFlags.reg"
<font size="-2">move "%SystemRoot%\sysvol\sysvol\%USERDNSDOMAIN%\NtFrs_PreExisting\*.*" "%SystemRoot%\sysvol\sysvol\%USERDNSDOMAIN%"</font>
net start ntfrs
exit /b 0
2. Shutdown Windows Server 2003.

3. Perform an authoritative primary restore on the Windows Server 2003 domain controller using ASR.

NOTE: See BurFlags.