Replication is the process of duplicating a directory and its contents from an
export server to any number of import servers. With NT Server as the export
server, NT Server, NT Workstation and LAN Manager servers can be import servers.
The Replication service is not enabled by default.
Data placed in an export server’s export directory will be duplicated
(replicated) to all import servers’ import directories. NT’s default for the
export and import directories are:
The service performs whatever actions are necessary to ensure that the import
directory tree matches the export directory tree. For example, files deleted
from the export directory tree will be removed from the import directory. Only
subdirectories under the export directory will be replicated, not files in the
export directory itself, that is the Export root directory, \Winnt\System32\Repl\Export\.
A standard default standard directory in the replication root is named
“Scripts”. This is where logon scripts are placed. The NetLogon share points to
the \Import\Scripts directory. This makes defining user profiles easy by
allowing the general share name to proceed the script name, such as
To get replication working:
- Apply current SP
You should understand that the replication service for
NT was broken out of the box until SP3. I recommend SP6a or later.
- Create an account to run the replication service
The account must be
named repluser and it must be a member of the Replicator
- Service parms
Set the Directory Replicator service under Control Panel,
setting the Directory Replicator service to startup type=Automatic, Logon
- Server Manager
Open the Properties dialog box for the export or import
server (by double-clicking the computer name), and click the Replication button.
If the server is an export server, select the Export Directories radio button.
The default directory will appear in the From Path
field. If the server is an import server, select the Import Directories radio
button. The default directory will appear in the To
Path field. My experience strongly suggests leaving these defaults asis.
- Click Add under Export or Import, and select the computer to export to or
- Place scripts or other files in the Export directory.
- Reboot all export and import servers.
min=1, Default=2, maximum=60
min=0, Default=2, maximum= 1/2 value of Interval
Value: # of
Default=2 times. Max time import
servers wait before requesting an update:
Value: # of
Default=60 seconds, legal range 1 – 120 seconds.
Replication will halt if an application is accessing or viewing the export or
import directories. The Replication service can not know if files are being
changed. It is designed to wait until files and directories are inactive before
Replication will only occur between computers with system clocks set within
59 minutes of each other. Lets say you set two servers to the correct time and
date. They may be side-by-side. Should you not have set the time zone, and they
have different time zones, then replication will fail because they will have
times set > 59 minutes difference. Everyone checks date/time on servers. Fair
number don’t check timezone setting.
Although Microsoft documentation stated that replication service was of
general utility, only use it for built in NT functionality. Don’t try to
replicate data or word processor files or such. It will clog your network. To
replicate those kinds of files, create scripts and use xcopy or scopy driven by
Don’t get confused. Export to the import directory on your export server.