Detour Logo

Trigger any level of domain synchronization from the command line!


Include in batch files to have your domain database changes happen immediately!


No need to check event logs to be sure your synchronization completed - DomSync will let you know!


Great time saving tool for busy administrators - no need to pull up Server Manager and wait for domain discovery!

 Overview

DomSync is a command-line utility for Windows NT. It allows you to synchronize the NT user database for the local domain, a trusted domain, or any particular BDC.

DomSync may be used interactively, in batch files, or as a scheduled job. It returns appropriate ERRORLEVEL codes as well as text messages to indicate success or failure.

DomSync is a great time-saver for admins or others who have to enter or modify user accounts. Especially useful on large domains. No need to wait for the domain pulse on a slow WAN or to pull up cumbersome network admin tools (and wait for the entire browse list of servers on the network to display) to trigger a sync.

DomSync can be run from any Windows NT4/2K/XP/2003/Vista/2008 system where you are logged in with administrator rights. Also handy for administrators who make user changes from machines without Server Manager or ADS tools installed - simply trigger a domain synchronization from your workstation.

Requirements
    DomSync requires NT 3.51, 4.x (either Intel or Alpha), Windows 2000, Windows XP, or Windows Server 2003. You must be logged on with administrative rights to use the program.

Setup and Installation
    DomSync is a command-line utility. It has no components other than the main executable file, and requires no configuration or setup. All parameters that DomSync needs are passed on the command line when you use it or derived dynamically at runtime. DomSync does not use the registry.

Version History
  • 1.2.b.19990608 - first public release
  • 1.2.b.19990509 - added /wait and /wait:x functions
  • 1.1.b.19981015 - added /domain function
  • 1.0.b.19970305 - internal use release

Notes
    Purpose:  DomSync synchronizes the NT user database on demand.

    Syntax:  DOMSYNC [options]

    Options:

      DOMSYNC /?
      Displays these options.

      DOMSYNC
      Asks the PDC of the default domain to synchronize the domain.

      DOMSYNC /wait
      Asks the PDC of the default domain to synchronize the domain and then waits for the command to complete. The /wait option uses intelligent defaults to determine an appropriate timeout value, based on the type of synchronization requested. You may override this behavior by using the /wait:nn option (see below).

      DOMSYNC /wait:nn
      Asks the PDC of the default domain to synchronize the domain and then waits nn seconds for the command to complete.

      DOMSYNC \\machine
      Asks machine to synchronize its database with its PDC. Machine may be any BDC or PDC in the default or a trusted domain. If machine happens to be a PDC, that PDC's domain is synchronized. May be combined with the /wait or /wait:nn options.

      DOMSYNC \\machine /full
      Asks machine to do a full replication of its datbase with the PDC. May be combined with the /wait or /wait:nn options.

      DOMSYNC /domain:domainname
      Asks the PDC for domainname to synchronize with all of its BDCs. May be combined with the /wait or /wait:nn options.

    ERRORLEVEL Return Codes:

      0  operation completed successfully

      5  access denied (make sure you are logged on with administrative rights)

      1460  operation timed out

      57xx  Netlogon error (same as error code that would show up in Event Viewer if this error happened while Netlogon was performing the synchronization; see Microsoft's documentation to discover the cause)

      other  Generic NT system error code

Copyright © 1995-2010 Greyware Automation Products, Inc.  All Rights Reserved
All Trademarks mentioned are the properties of their respective owners.
Greyware Automation Products, Inc.
308 Oriole Ct, Murphy, TX 75094
972-867-2794 (voice) 972-208-1479 (fax)

Close Printer-Friendly Version