JSI Tip 5129. How do I replicate system policies from a Windows 2000 domains controller to a Windows NT 4.0 domain controller?

NOTE: Lbridge.cmd is available in the Windows 2000 Resource Kit Supplement.

NOTE: The text in the following Microsoft Knowledge Base article is provided so that the site search can find this page. Please click the Knowledge Base link to insure that you are reading the most current information.

Microsoft Knowledge Base article Q317368 contains:

IN THIS TASK


SUMMARY

This step-by-step article describes how to use the Lbridge.cmd script to replicate system policies from a Windows 2000-based domain controller to a Microsoft Windows NT 4.0-based domain controller.
The Lbridge.cmd script is available in the Microsoft Windows 2000 Resource Kit. You can edit this script to copy logon scripts from a Windows 2000-based domain controller to a Windows NT 4.0-based domain controller.

If you use system policies to configure client computers in a mixed-mode network (a network that contains both Windows 2000-based and Windows NT 4.0-based domain controllers), you must replicate the policies to all of the domain controllers in the network. In a Windows NT 4.0-based domain, this service is provided by the LANMan Directory Replication Service (LMRepl). Windows 2000-based domain controllers use the File Replication Service (FRS) to replicate changes between domain controllers. In effect, Windows 2000-based domain controllers replicate only with other Windows 2000-based domain controllers; Windows NT 4.0-based domain controllers replicate information only to other Windows NT 4.0-based domain controllers.

You can use the Lbridge.cmd script as a template to copy logon scripts that are stored on a Windows 2000-based domain controller to a Windows NT 4.0-based domain controller. You do this to bridge the FRS that is used by the Windows 2000-based domain controllers to the LMRepl topology that is used by the Windows NT 4.0-based domain controllers.

back to the top

How to Use Lbridge.cmd to Replicate System Policies

back to the top

Edit the Lbridge.cmd Script

Configure the Lbridge.cmd file by using a text editor, such as Notepad. To do this:
  1. Start Windows Explorer, and then copy the Lbridge.cmd script file to the Windows 2000-based domain controller from which you want to replicate logon files.


  2. Right-click the Lbridge.cmd file, and then click Edit .


  3. Edit the L-Destination variable to point to the share on the Windows NT 4.0-based export server to which you want to replicate the logon scripts. For example, if your destination computer is named WinntSrv3, set the L-Destination variable to \\WinntSrv3\REPL$. The line becomes similar to:


  4. Set L-Destination=\\WinntSrv3\REPL$
    NOTE : In a default installation of Windows NT 4.0, the %SystemRoot%\System32\Repl\Export folder is shared as REPL$.

  5. Locate the "XCopy" section of the script. Remove the "Echo" command from the following line:


  6. Echo Xcopy %L-Source% %L-Destination% /s /D
    The line becomes:
    Xcopy %L-Source% %L-Destination% /s /D
    NOTE : You can also use the Robocopy utility that is included with the Windows 2000 Resource Kit instead of the xcopy command. Robocopy can delete files on the destination share. This may be useful if you want to remove system policy files from the Export server folder. To use Robocopy, remove the "Echo" statement from the Robocopy command line instead of from the Xcopy command-line.

  7. Save the file, and then quit Notepad.


back to the top

Use Task Scheduler to Schedule the Lbridge.cmd Script

After you modify the Lbridge.cmd script to meet your requirements, use the Windows 2000 Task Scheduler tool to schedule the script to run at a specified time and date. It is a good idea to schedule the Lbridge.cmd script to run every two hours.
  1. Click Start , point to Settings , and then click Control Panel .


  2. Double-click Scheduled Tasks .


  3. Double-click Add Scheduled Task , and then click Next .


  4. Click Browse .


  5. In the Select Program to Schedule dialog box, browse to and then click the Lbridge.cmd file, and then click Open .


  6. Either accept the default name that is displayed in the Type a name for this task box, or type the name that you want to use.


  7. Click Daily , and then click Next .


  8. In the Start time box, click 12:01 AM , click Every Day , and then click Next .


  9. Type the user name and password of a user account with which to run the task. This account must be a member of the Administrators group. You must type the user name by using the following format, where domain is the domain name, and username is the user account with which you want to schedule the task:


  10. domain username
  11. Click Next .


  12. Select the Open advanced properties for this task when I click Finish check box, and then click Finish .


  13. Click the Schedule tab, and then click Advanced .


  14. Select the Repeat task check box.


  15. In the Every box, click 2 , and then click hours .


  16. Click Time , and then click 11:59 PM in the Time box.


  17. Click OK , and then click OK .


  18. Verify that the new task is displayed in the Scheduled Tasks window, and then click Close on the File menu.


For additional information about how to schedule a program, click the article numbers below to view the articles in the Microsoft Knowledge Base:
Q226795 How to Modify a Scheduled Task to Repeat by Minutes or Hours
Q300160 HOW TO: Schedule a Server Process in Windows 2000
back to the top

REFERENCES

For additional information about the File Replication Service, click the article numbers below to view the articles in the Microsoft Knowledge Base:

Q229928 Design Decisions, Defaults and Behavior for FRS File and Folder Filters in DFS and SYSVOL Replica Sets
Q257338 Troubleshooting Missing SYSVOL and NETLOGON Shares on Windows 2000 Domain Controllers
Q224512 FRS Builds Full-Mesh Replication Topology for Replicated DFS ROOT and Child Replicas
For additional information about Windows NT replication, click the article numbers below to view the articles in the Microsoft Knowledge Base:
Q101602 Configuring Windows NT for Replication
Q101473 Replication Overview in the Windows NT Operating System
Q138125 How to Set Replication Interval to Minimum
back to the top

Hide comments

Comments

  • Allowed HTML tags: <em> <strong> <blockquote> <br> <p>

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
Publish