SYSVOL Migration to DFRS
Primarily used to move from a Server 2008(R2) or 2012 environment to a Server 2016/2019 environment.
(1) Verify domain is 2008 or above
(2) Verify there are no replication issues using dcdiag
State 0: Start
dfsrmig /CreateGlobalObjectsRun commands below for each DC for verification:
dfsrdiag pollad /member:SERVERNAME
// replace SERVERNAME with name of server to be polledCheck the migration state of the server
dfsrmig /GetMigrationStateState 1: Preparation
dfsrmig /SetGlobalState 1Replication can run on just the DFRS Global Settings
repadmin /replsingleobj * SERVERNAME "CN=DFSR-GlobalSettings,
CN=System,DC=NAME,DC=local (or TLD)"Verify msDFR-Flags 16 is prepared
repadmin /showattr * "CN=DFSR-GlobalSettings,CN=System,DC=NAME,DC=local (or TLD)"
/atts:msDFSR-FlagsRun the command below on each DC to verify
dfsrdiag pollad /member:SERVERNAMEReplicate from the DC, verify there are no errors
repadmin /syncall /SAe SERVERNAMECheck the migration state
dfsrmig /GetMigrationStateState 2: Redirected
dfsrmig /SetGlobalState 2Run replication on just the DFRS Global Settings
repadmin /replsingleobj * SERVERNAME "CN=DFSR-GlobalSettings,CN=System,DC=NAME,
DC=local (or TLD)"Verfiy msDFR-Flags 32 is redirected
repadmin /showattr * "CN=DFSR-GlobalSettings,CN=System,DC=NAME,DC=local (or TLD)"
/atts:msDFSR-FlagsRun the command below to verify for each DC
dfsrdiag pollad /member:SERVERNAMEReplicate from DC, verify there are no errors
repadmin /syncall /SAe SERVERNAMECheck the migration state
dfsrmig /GetMigrationStateState 3: Eliminated
This is irreversible - once you go to State 3, there is no going back!
dfsrmig /SetGlobalState 3Run the command below for each DC to verify
dfsrdiag pollad /member:SERVERNAMEReplicate from DC, verify there are no errors
repadmin /syncall /SAe SERVERNAMECheck the migration state
dfsrmig /GetMigrationStateVerify msDFR-Flags 48 is eliminated
repadmin /showattr * "CN=DFSR-GlobalSettings,CN=System,DC=NAME,DC=local (or TLD)"
/atts:msDFSR-FlagsLast updated
Was this helpful?