Most Domain Time II components can be installed or removed from the command-line, including on remote machines.
If you prefer to write your own batch files, or want to install/remove individual components manually, you can use the command-line parameters.
Pick the program you're interested in from the drop-down list,
then click the "Select" button to see the command-line parameters for
If no command-line parameters are provided, the program will display a dialog box that lets you
choose whether to install, upgrade, or remove the program.
Command line parameters can be provided with either a leading dash or leading forward slash.
Slashes are shown below. Parameters can usually be abbreviated to the first letter of the command.
For example, you can use /install, /i,
-install, or -i to specify the install directive.
Specify one of these directives to install, remove, upgrade, or display
dtclient.exe /version - displays version information dtclient.exe /install - installs the program dtclient.exe /remove - removes the program dtclient.exe /upgrade - installs the program, upgrading if necessary
The following options may be added to any directive:
Example: dtclient.exe -install -nocpl -vq
Installs the program without showing the control panel applet or any confirmation messages.
Suppresses confirmation questions and successful completion notices (but not error messages).
Does not start the control panel applet after installation.
Does not stop and restart the Windows Management Instrumentation (WMI) services, even if WMI has locked files open. Note that upgrades may fail if WMI isn't stopped during installation.
-quiet or -q
Suppresses confirmation questions, successful completion notices, and the progress bar. -quiet implies -noack. Like -noack, -quiet will not suppress error messages.
-veryquiet or -vq
Suppresses all messages during installation or removal.
-reset or -re
Reloads the dtserver.reg default settings template file (overwriting any existing values). This option may only be used with the /upgrade directive.
The Domain Time Client and Server installation routines use template files to configure most of the default settings of the component.
These files are simply modified registry settings files (.reg) in REGEDIT4 format. You may use the included default settings .reg files or, as of version 5.2.b.20180303,
you may specify custom files of your own.
The .reg files containing the manufacturer's default settings for Server and Client are located in the installation folders (i.e.
\i386 or \amd64)
for each component (DTSERVER.REG for Server, DTCLIENT.REG for Client).
If you decide to modify these files to change the overall defaults, be sure to make a backup copy so you can revert if necessary.
To specify a custom template, copy your custom .reg file to the installation folders (both /i386 and /amd64) and add this directive to your command line:
IMPORTANT: A number of registry settings on a running Domain Time system are machine-specific,
and are likely to cause problems if directly copied into another machine's registry. You should not simply export the
HKLM\SOFTWARE\Greyware\Domain Time Client key
and apply it to other systems. Files exported using Windows Registry Editor in registry formats than REGEDIT4 may not even import correctly. Rather, use the Import/Export function to export a .reg template. Alternately,
you may use the PrepClone feature of the DTCheck utility to prepare a machine before exporting the key (see this KB article).
You may optionally specify a remote target machine (machine where the install, removal, or
upgrade is to take place).
Targets are specified by the Windows Networking computer name, also known as
the NetBIOS name. You may also use the target machine's IP address or fully-qualified
DNS name instead of the NetBIOS name, as long as your WINS and DNS subsystems are functioning correctly.
You may combine any directive and option with the target machine. Below are some examples:
dtclient.exe -install -noack \\fred - installs the service, showing the progress
bar but not any confirmation questions or success messages, to the machine named \\fred
dtclient.exe -remove \\barney - removes the service from the machine \\barney
and displays both a progress bar while working and a confirmation message when the removal has completed
dtclient.exe -upgrade -quiet \\172.16.240.1 - installs the program, upgrading if necessary,
to the machine with IP address 172.16.240.1, without confirmations or progress bar.
Note: For remote installation or removal using the command-line to work, both the machine you are working on and the
target machine must be running on the same hardware platform (32-bit or 64-bit), and you must be logged
on under an account that has administrative privileges on the target machine.