DC Promotion Blocked by FRS: Migrate SYSVOL to DFS Replication

Install-ADDSDomainController fails: the specified domain is still using the File Replication Service (FRS). Migrate SYSVOL to DFS Replication with dfsrmig: Prepared, Redirected and Eliminated states, checks and stalls.

Home › Guides › DC install blocked by FRS

Last updated 20 November 2026

Quick answer

Adding a replica domain controller that runs Windows Server version 1709 or later fails when the domain still replicates SYSVOL with the File Replication Service (FRS). This is by design: FRS is deprecated, and Windows Server 2016 is the first release that ends support for it. Microsoft's fix (KB 4023141) is to migrate SYSVOL replication from FRS to DFS Replication (DFSR) with the dfsrmig tool, then promote the new DC.

The migration in one view, all run on the PDC emulator:

dfsrmig /setglobalstate 1     (Prepared)
dfsrmig /getmigrationstate    (repeat until every DC is in the global state)
dfsrmig /setglobalstate 2     (Redirected)
dfsrmig /getmigrationstate
dfsrmig /setglobalstate 3     (Eliminated: no way back)
dfsrmig /getmigrationstate

Check AD health, the domain functional level and a system state backup first, and don't jump straight from 0 to 3.

What the error looks like

When Install-ADDSDomainController installs a replica DC running Windows Server version 1709 into an FRS domain, it fails with:

The specified domain %1 is still using the File Replication Service (FRS) which is deprecated.  This server does not support FRS and cannot be promoted as a replica into the specified domain.  You should migrate the specified domain to use DFS Replication by using the DFSRMIG command before continuing.

Server Manager runs the same cmdlet in the background, so promotion from Server Manager is blocked too. On versions earlier than 1709 you only get a warning:

The File Replication Service (FRS) is deprecated. To continue replicating the SYSVOL folder, you should migrate to DFS Replication by using the DFSRMIG command.  If you continue to use FRS for SYSVOL replication in this domain, you might not be able to add domain controllers running a future version of Windows Server.

Check whether SYSVOL still uses FRS

Before you start

  1. Domain functional level. dfsrmig is supported only on DCs at the Windows Server 2008 domain functional level or higher. Raise it in Active Directory Domains and Trusts (right-click the domain, Raise Domain Functional Level) only when every DC runs Windows Server 2008 or later: upgrading a DC's OS doesn't raise the level, and you can't lower it again.
  2. AD replication health. Run repadmin /replsum; it should show no errors for any DC. Remote DCs only start migrating after the migration directive replicates to them. Fix errors first; the common AD replication errors table links a guide for each code.
  3. SYSVOL health. net share on every DC should show SYSVOL and NETLOGON. Check there is enough free disk space on the SYSVOL drive for a full copy of SYSVOL.
  4. DFS Replication service started with Startup Type Automatic on every DC.
  5. Backup. Back up the system state of each DC with wbadmin start systemstatebackup so you can return to the pre-migration state.
  6. Test it. Microsoft recommends testing the procedure in a lab first, especially if DCs are separated by firewalls.

The migration states

You set a global state on the PDC emulator; it is stored in AD DS and replicates to all DCs. DFS Replication on each DC polls AD DS and moves its local state to match.

StateSYSVOL folder (FRS)SYSVOL_DFSR folder (DFSR)SYSVOL share maps tomsDFSR-Flags
0 StartPresent, replicated by FRSNot present (unless a rollback left it); not replicatedSYSVOL0
1 PreparedPresent, replicated by FRSPresent, replicated by DFSR (a copy, not used to serve other DCs)SYSVOL16
2 RedirectedPresent, replicated by FRSPresent, replicated by DFSR (now the production copy)SYSVOL_DFSR32
3 EliminatedDeleted (empty folders can remain if it was open)Present, replicated by DFSRSYSVOL_DFSR48

On the way, a DC passes through local transition states: 4 Preparing (read-only DCs only, msDFSR-Flags 64), 5 Waiting for initial synchronization (80), 6 Redirecting (96), 7 Eliminating (112), 8 Undo redirecting (128) and 9 Undo preparing (144). You can only set stable states (0 to 3) as the global state. The global value is on CN=DFSR-GlobalSettings,CN=System and each DC's local value on its CN=DFSR-LocalSettings object, both in the msDFSR-Flags attribute.

Step 1: Prepared

On the PDC emulator:

dfsrmig /setglobalstate 1
dfsrmig /getglobalstate

The second command should print Current DFSR global state: Prepared. Run /getglobalstate only on the PDC emulator: other DCs may show an older value because of AD replication latency. Then wait and check every DC:

dfsrmig /getmigrationstate

When all DCs are done it prints:

All Domain Controllers have migrated successfully to Global state (Prepared).
Migration has reached a consistent state on all Domain Controllers.
Succeeded.

Otherwise it lists the DCs that are behind with their local state, for example CONTOSO-DC3 (Preparing) Writable DC, and warns that state information might be stale due to AD latency. FRS still serves SYSVOL in this state.

Step 2: Redirected

When every DC reports Prepared, run dfsrmig /setglobalstate 2 on the PDC emulator and wait for dfsrmig /getmigrationstate to report Redirected on all DCs. Now the DFSR copy in SYSVOL_DFSR serves SYSVOL; FRS still replicates the old folder as a fallback. Check net share on each DC: SYSVOL should now point to C:\Windows\SYSVOL_DFSR\sysvol. Up to this point you can roll back to Prepared or Start with dfsrmig /setglobalstate 1 or 0.

Step 3: Eliminated

Move on only when every DC has consistently reached Redirected and DFSR handles SYSVOL correctly: Eliminated can't be rolled back.

dfsrmig /setglobalstate 3
dfsrmig /getmigrationstate

Afterwards, on each DC:

Now run Install-ADDSDomainController (or the Server Manager wizard) on the new server again.

Microsoft advises against setting state 3 directly from Start: each DC then runs through all the intermediate steps on its own, with no chance to catch problems before FRS is gone.

If the migration stalls

Related tools and guides

Look up DFS Replication events 2213 and 4012 in the Windows Event ID Lookup, copy the dfsrmig, net share and repadmin /replsum lines from the PowerShell Cheat Sheet, pull lagging DC names and states out of dfsrmig /getmigrationstate output with the Regex Tester, check which site subnets your remote domain controllers sit in before you plan the migration with the IPv4 Subnet Calculator or IPv6 Subnet Calculator, and identify the network adapter vendor on the server you are promoting with the MAC Vendor Lookup. Related guides: DFSR SYSVOL not replicating (events 2213 and 4012), Group Policy events 1058 and 1030, AD DS install: the specified user already exists and common AD replication errors.

Every AD replication error code with its cause and fix: common Active Directory replication errors.

FAQ

Why can't I add a new domain controller to a domain that uses FRS?

FRS is deprecated, and Windows Server 2016 is the first release that ends support for it. When Install-ADDSDomainController adds a replica DC running Windows Server version 1709 or later to a domain that still replicates SYSVOL with FRS, it fails on purpose. Migrate SYSVOL to DFS Replication first.

How do I migrate SYSVOL from FRS to DFSR?

On the PDC emulator run dfsrmig /setglobalstate 1, wait until dfsrmig /getmigrationstate shows every DC in Prepared, then repeat with 2 (Redirected) and 3 (Eliminated). Check AD replication, the domain functional level and a system state backup before you start.

Can I roll back a SYSVOL migration?

Yes, until the Eliminated state: from Redirected you can go back to Prepared or Start with dfsrmig /setglobalstate. Once the domain reaches Eliminated, the original SYSVOL folder is deleted and you cannot go back to FRS.

What domain functional level does dfsrmig need?

Windows Server 2008 or higher. Raise it only when every domain controller runs Windows Server 2008 or later; upgrading the operating system does not raise the level and you cannot lower it again.

A domain controller is stuck in the Preparing state. What do I do?

The global DFS Replication settings in AD DS may be missing or deleted. Recreate them with dfsrmig /createglobalobjects. Do the same if a read-only DC was promoted after the domain reached Prepared, because its objects are not created automatically.

Want the full kit?

Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.