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
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.
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.
net share on a DC. With FRS, SYSVOL maps to the original folder:NETLOGON C:\Windows\SYSVOL\sysvol\corp.contoso.com\SCRIPTS SYSVOL C:\Windows\SYSVOL\sysvol Logon server shareAfter migration to Redirected or Eliminated it maps to
C:\Windows\SYSVOL_DFSR\sysvol.HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Netlogon\Parameters: the SysVol value is [drive:\]Windows_folder\SYSVOL\sysvol under FRS and ...\SYSVOL_DFSR\sysvol after redirection. SysvolReady should be 1.dfsrmig /getglobalstate on the PDC emulator to see the domain's current global migration state.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.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.wbadmin start systemstatebackup so you can return to the pre-migration state.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.
| State | SYSVOL folder (FRS) | SYSVOL_DFSR folder (DFSR) | SYSVOL share maps to | msDFSR-Flags |
|---|---|---|---|---|
| 0 Start | Present, replicated by FRS | Not present (unless a rollback left it); not replicated | SYSVOL | 0 |
| 1 Prepared | Present, replicated by FRS | Present, replicated by DFSR (a copy, not used to serve other DCs) | SYSVOL | 16 |
| 2 Redirected | Present, replicated by FRS | Present, replicated by DFSR (now the production copy) | SYSVOL_DFSR | 32 |
| 3 Eliminated | Deleted (empty folders can remain if it was open) | Present, replicated by DFSR | SYSVOL_DFSR | 48 |
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.
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.
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.
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:
net share shows SYSVOL mapped to the SYSVOL_DFSR folder.[drive:\]Windows_folder\SYSVOL folder is gone. If it was open in a command prompt or Explorer during the change, some subfolders can remain, but without files.sc \\<servername> stop ntfrs sc \\<servername> config ntfrs start= disabled
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.
dfsrmig /createglobalobjects. Use the same command if a new read-only DC was promoted after the domain reached Prepared but before Eliminated, because its objects aren't created automatically.dfsrmig /deleterontfrsmember <RODC name> (no name = all RODCs). For a rollback from Prepared to Start that stalls on an RODC, use dfsrmig /deleterodfsrmember <RODC name>.HKLM\System\CurrentControlSet\Services\DFSR\Parameters\SysVols\MigratingSysVols holds Local State (1, 2 or 3 when stable), DFS-R SYSVOL Path and NTFRS SYSVOL Path; ADSI Edit shows the DFSR-LocalSettings, DFSR-GlobalSettings and FRS objects described above.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.
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.
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.
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.
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.
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.
Runbooks, checklists and helpdesk templates: IT Admin Packs on Gumroad.