Synchronize File Replication Services
Updated: March 28, 2003
Applies To: Windows Server 2003, Windows Server 2003 R2, Windows Server 2003 with SP1, Windows Server 2003 with SP2
After upgrading the Windows NT 4.0 PDC, create a script to copy logon script and profile information from the NETLOGON shared folder on the new Windows Server 2003–based domain controller to the REPL$ share on the Windows NT 4.0 BDC that is providing export services to other Windows NT 4.0 BDCs in the domain.
To create logon script and profile replication between Windows Server 2003–based and Windows NT 4.0–based domain controllers
Create a user account on a Windows NT 4.0 BDC in the Windows Server 2003 domainby using User Manager for Domains and the information in Table 8.9.
Table 8.9 User Account Information for Logon Script and Profile Replication
When Prompted For Use
Account used by lbridge.cmd for replication.
password (where password is any password that meets the security requirements for your organization).
Select User Must Change Password At Next Logon to clear the checkbox.
Use the information listed in Table 8.10 to ensure that the LbridgeAcct has the correct permissions on both the Windows Server 2003–based domain controller and on the Windows NT 4.0 BDC.
Table 8.10 Permissions for the LbridgeAcct User Account
On the Windows NT 4.0 BDC, ensure that the LbridgeAcct is granted Full Control to the REPL$ share.
In Server Manager, select the computer configured as the export server, click Computer, and select Shared Directories. Select REPL$, and then click Properties. In the Share Properties dialog box, click Permissions, click Add, and then click Show Users. Select the LbridgeAcct. In the Type of Access drop-down list box, select Full Control.
On the Windows Server 2003–based domain controller in the new Windows Server 2003 domain, ensure that the LbridgeAcct is granted Read access to the NETLOGON shared folder.
Access the NETLOGON shared folder by typing \\win_dc\Netlogon (where win_dc is the name of the Windows Server 2003–based domain controller) in the Run dialog box.
Create a destination folder on the Windows Server 2003–based domain controller where you will install the Lbridge.cmd script and the Robocopy.exe tool.
Modify the path statement in Environment Variables to include the destination folder. Right-click My Computer, click Properties, click the Advanced tab, and then click Environment Variables. In the System Variables list, select Path and click Edit. Append the Variable value with the location of the destination folder (;C:\destination folder).
The Lbridge.cmd script and Robocopy.exe tools are available on the Windows Server 2003 Deployment Kit companion CD.
On the Windows Server 2003–based domain controller, in Windows Explorer, right-click the Lbridge.cmd script, and then click Edit. Edit as indicated in Table 8.11.
Table 8.11 Modifications to the lbridge.cmd Script
Script Line Change To
Set L-Destination=\\winnt_dc\REPL$ (where winnt_dc is name of the Windows NT 4.0 BDC hosting the LMRepl export server.
@Rem Call :Xcopy
@Rem Call :Robocopy
Echo Robocopy %L-Source%%L-Destination% /E /PURGE
Robocopy %L-Source%%L-Destination% /E /PURGE
On the Windows Server 2003–based domain controller, open Control Panel, point to Scheduled Tasks, and then click AddScheduled Task.
Complete the Scheduled Task Wizard by using the information in Table 8.12. Accept the default settings when no information is supplied.
Table 8.12 Scheduled Task Wizard Actions for Lbridge.cmd
The FRS - LMRepl Replication Bridge dialog box opens.
Wizard Page Action
Click the program you want Windows to run
In the Select Program to Schedule dialog box, click lbridge.cmd.
Type a name for this task
Type FRS - LMRepl Replication Bridge.
Perform this task
Enter the time and date that you want the replication to start.
Enter the user name
Enter the password
Type the password that you have chosen for LbridgeAcct.
Confirm the password
Confirm the password for LbridgeAcct.
Open advanced properties for this task when I click Finish
Select the check box.
In the FRS - LMRepl Replication Bridge dialog box, on the Schedule tab, click Advanced.
In the Advanced Schedule Options dialog box, select the Repeat task check box.
In the Every box, specify how often you want the script to run.
In the Duration box, specify how long you want the script to run, and then click OK.
In the FRS - LMRepl Replication Bridge dialog box, on the Schedule page, click OK.
To verify that the script ran successfully and replication is occurring from the Windows Server 2003–based domain controller to all Windows NT 4.0–based domain controllers, place a file called Test.txt into the \\Win_dc\SYSVOL\sysvol\domainname\scripts folder. After replication is scheduled to take place, verify that the Test.txt file has replicated to the \Winnt_dc\system32\REPL\Import\scripts folder.