One of our domains was inadvertently left at Windows 2000 functional level after a rebuild from Windows 2003 domain controllers to Windows 2008 R2. We remediated this situation by raising the forest and domain functional levels to Windows 2008 R2. As a best practice, domain replication needed to be updated to DFS replication as well.
Below are the steps we took to perform the domain replication update after raising the forest and domain functional levels to Windows 2008 R2.
First Step: Verify Domain Health
- Run the net share command to verify that the SYSVOL folder is shared.
- Verify SysVol registry entries:
- HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters and verify that the value of the SysVol registry entry is [drive:\]Windows_folder\SYSVOL\sysvol,
- and that the value of the SysvolReady registry entry is 1.
- Verify that the DFS Replication service is listed with the values of Started in the Status column and Automatic in the Startup Type column.
- Run repadmin /ReplSum to get a status of replication between domain controllers.
- Run dcdiag and examine the output for possible errors.
Second Step: Migrate Replication to DFS Replication
- In PowerShell, type dfsrmig /setglobalstate 1. The new global migration state is now set to “prepared”.
- Type dfsrmig /GetMigrationState and verify that the new state is “consistent”.
- Verify that the SYSVOL_DFSR folder has been created under C:\Windows.
- Type dfsrmig /setglobalstate 2 to go from the “Prepared” state to the “Redirected” state.
- Examine the migration process by typing dfsrmig /GetMigrationState. Once the domain controllers have reached a consistent state, proceed to the next step.
- Ensure that all domain controllers have successfully migrated to the ‘REDIRECTED’ state before changing the global migration state to the ‘ELIMINATED’ state.
- Type dfsrmig /setGlobalState 3.
There will be a series of tasks that now will be performed in the background: the FRS service is stopped, the Active Directory configuration settings required for the FRS service to replicate the SYSVOL share between domain controllers are deleted. Thus, all global settings of the FRS service that pertain to the SYSVOL content set are deleted. The ‘SYSVOL’ folder which was being replicated by the FRS service is now deleted.
- Verify that the File Replication Service is now stopped.