Active Directory: Migrate SYSVOL from FRS to DFSR#Part 2

in #morocco6 years ago

I. Presentation

II. Check the state of health

III. Migration with the "dfsrmig" utility

III. Migration with the "dfsrmig" utility

Everything will be done in the command line with the utility dfsrmig, already integrated with Windows. You will see that the process is very simple, but do not go too fast.

Open a command prompt as an administrator on your DC that is PDC emulator and run:

dfsrmig / setglobalstate 1

The migration goes into preparation mode, a copy of SYSVOL will be created with the name SYSVOL_DFSR.

active-directory-frs-to-dfsr-02.png

Before continuing, you must execute the following command:

dfsrmig / getmigrationstate

It allows to visualize the state of progress of the stage that we have just launched. If one or more CDs are returned is that it is not over yet, we must wait again.

active-directory-frs-to-dfsr-03.png

You can restart the command from time to time ... until you get this:

active-directory-frs-to-dfsr-04.png

So we can go to the second step with the following command:

dfsrmig / setglobalstate 2

The SYSVOL_DFSR copy will be mounted on the SYSVOL share instead of the copy that runs on FRS. During this operation you have to wait again.

active-directory-frs-to-dfsr-05.png

As for the first step, follow the evolution with the same command, as a reminder:

dfsrmig / getmigrationstate

active-directory-frs-to-dfsr-06.png

When you get this message, you can continue to the 3rd step.

active-directory-frs-to-dfsr-07.png

This is the 3rd and final step, where we will completely remove FRS and its SYSVOL, to switch completely on DFSR. Enter the following command:

dfsrmig / setglobalstate 3

active-directory-frs-to-dfsr-08.png

It is necessary to wait until FRS is removed on all DCs and DFSR is operational.

active-directory-frs-to-dfsr-09.png

When you reach this state, you can consider that the replication is migrated to DFSR!

active-directory-frs-to-dfsr-10.png

If you access the Event Viewer, you will notice different events related to DFSR. This takes a little more detail what we saw in the command line with dfsrmig.

You will see the message "The DFSR migration for the my-server domain controller is complete" within an event with ID 8019.

active-directory-frs-to-dfsr-11.png

Finally, if you look on your domain controllers you have a folder "SYSVOL_DFSR" which is shared as SYSVOL and now corresponds to your SYSVOL in production.

active-directory-frs-to-dfsr-12.png

If your antivirus is suspicious with SYSVOL, consider changing the SYSVOL exclusion path to SYSVOL_DFSR.

Good luck with your migration!

Coin Marketplace

STEEM 0.18
TRX 0.13
JST 0.028
BTC 57298.55
ETH 3059.61
USDT 1.00
SBD 2.29