12.16 SyncTime

Use this Knowledge Script to synchronize the system time among computers. This script uses the Windows net time command to synchronize the system time to a specified Windows computer, such as the Primary Domain Controller in a workgroup. If you do not specify a computer name, the Domain Controller for the local computer is used. This script raises an event if the time synchronization operation fails.

12.16.1 Resource Objects

Windows 2003 Server or later

12.16.2 Default Schedule

The default schedule for this script is Daily.

12.16.3 Setting Parameter Values

Set the following parameters as needed:

Parameter

How to Set It

Event?

Set to y to raise an event if the time synchronization operation fails. The default is y.

Name of computer with standard time

Specify the name of the computer whose system time you want the target computers synchronized to match. If you do not specify a computer name, this script uses the Domain Controller associated with the managed computer on which the script is running.

Event severity

Set the event severity level, from 1 to 40, to indicate the importance of an event in which the time synchronization operation fails. The default is 12 (yellow event indicator).