SBS Migration – Active Directory replication is taking longer than expected


 

Source

 

Whilst migrating from SBS 2003 server to SBS 2011, I was receiving a message saying “Active Directory replication is taking longer than expected”.  I clicked “Wait” a couple of times, but nothing was happening.

To try and find out what was going go; I pressed CTL-ALT-DELETE and loaded up task manager, then clicked on file selected run and entered "notepad.exe". Once notepad loaded I opened up the installation log (found in C:\Program Files\Windows Small Business Server) and saw that the section below kept being repeated in the logs:

Setup: DsGetDcName returned: 0
Setup: DsGetDcName returned name: sbs03.domain.local
Setup: Expected name: sbs08.domain.local
Task:       There are 0 pending replication operations.
Setup:       Attempting LDAP bind.
Setup:       Bind successful
Task: Waiting for replication to finish

First of all, I made sure all the correct services were running on the source server:

Computer Browser
File Replication Service
Remote Procedure Call (RPC)
Workstation

Then after trawling the web, I found that there is one registry key on the source server, and two on the destination server that need to be changed.

On the source server:
Load regedit and change the following key:
HK_LM\System\CurrentControlSet\Services\NTFrs\Parameters\Backup\Restore\Process at Startup – change the BurFlags key to decimal 4.

On the destination server:
Press CTRL-ALT-DELETE, load task manager, then click on file select run and enter regedit to change the following keys
HK_LM\System\CurrentControlSet\Services\NTFrs\Parameters\Backup\Restore\Process at Startup – change the BurFlags key to decimal 2
HK_LM\System\CurrentControlSet\Services\Netlogon\Parameters – change the SysVolReady key to decimal 1.

Next restart stop and start the File Replication service on both the source and destination machines. (On the destination machine hit CTRL-ALT-DELETE, click on file, select run and enter services.msc)

The migration should then continue as normal.

Advertisements