If you are trying to promo windows server 2019 as domain controller, it happened “Verification of replica failed. The specified domain {Domain-Name} is still using the File Replication Service (FRS) to replicate the SYSVOL share. FRS is depreciated.” Error, this is because Windows Server version 1709 (or after version) can no longer be added as an Active Directory domain controller (DC) to an existing domain that is still using File Replication Service (FRS) for replication of the SYSVOL share.
Today, I am going to show you how to migrate the existing SYSVOL FRS replication to DFS replication.
1.Login to PDC domain controller server. You can use below command to find it if you are not sure.
netdom query fsmo
2.Run below command to make sure replication status without issues.
repadmin /replsum
3.If you check the services status, you will see the File Replication Service is running.
4.If you check the SYSVOL status, there is SYSVOL folder under C:\Windows.
5.To make sure the forest function level is Windows Server 2008 or up.
6.To make sure the domain function level is Windows Server 2008 or up.
7.Run below command to make sure SYSVOL is health.
dcdiag /e /test:sysvolcheck /test:advertising
8.Run below to check Share status.
net share
9.Run below command to start process migrate FRS replication to DFS replication. This command will migrate all domain controller to PREPARED state.
dfsrmig /setglobalstate 1
10.Run below command to check the migration status.
dfsrmig /getmigrationstate
11.if you check the folders list at C:\Windows, you will see the new folder—SYSVOL_DFSR
12.If you check the event logs, you will see the DFSR has successfully migrated the Domain Controller to the ‘PREPARED’ state.
13.Repeat running below command to check the migration global state until all domain controller has migrated successfully to the Global state (‘Prepared’).
14. Run below command to migrate all domain controllers to REDIRECTED state.
dfsrmig /setglobalstate 2
15. Run below command to check the migration status.
dfsrmig /getmigrationstate
16. If you check the event logs, you will see the DFSR has successfully migrated the Domain Controller to the ‘REDIRECTED’ state.
17. Repeat running below command to check the migration global state until all domain controller has migrated successfully to the Global state (‘Redirected’).
18. Run below command to migrate all domain controllers to ELIMINATED state.
dfsrmig /setglobalstate 3
19. Run below command to check the migration status.
dfsrmig /getmigrationstate
20.If you check the event logs, you will see the DFSR has successfully migrated the Domain Controller to the ‘ELIMINATED’ state.
21. Repeat running below command to check the migration global state until all domain controller has migrated successfully to the Global state (‘Eliminated’).
22. If you check the services status, you will see the File Replication Service is be disabled.
23. Run below command to make sure replication status without issues.
repadmin /replsum
24. Run below to check Share status.
net share
Hope you enjoy this post.
Cary Sun
Twitter: @SifuSun
Web Site: carysun.com
Blog Site: checkyourlogs.net
Blog Site: gooddealmart.com
Author: Cary Sun
Cary Sun has a wealth of knowledge and expertise in data center and deployment solutions. As a Principal Consultant, he likely works closely with clients to help them design, implement, and manage their data center infrastructure and deployment strategies.
With his background in data center solutions, Cary Sun may have experience in server and storage virtualization, network design and optimization, backup and disaster recovery planning, and security and compliance management. He holds CISCO CERTIFIED INTERNETWORK EXPERT (CCIE No.4531) from 1999. Cary is also a Microsoft Most Valuable Professional (MVP), Microsoft Azure MVP, Veeam Vanguard and Cisco Champion. He is a published author with several titles, including blogs on Checkyourlogs.net, and the author of many books.
Cary is a very active blogger at checkyourlogs.net and is permanently available online for questions from the community. His passion for technology is contagious, improving everyone around him at what they do.
Blog site: https://www.checkyourlogs.net
Web site: https://carysun.com
Blog site: https://gooddealmart.com
Twitter: @SifuSun
in: https://www.linkedin.com/in/sifusun/
Amazon Author: https://Amazon.com/author/carysun