SETTIME

Action

Synchronizes the system clock of the local computer with the time on a specified source.

 

Syntax

SETTIME "source"

 

Remarks

Source can be one of the following:

A server name expressed in UNC format

KiXtart connects to the server specified to retrieve the time.

A domain name

KiXtart browses the domain for a server running the Time Source service.

"*"

KiXtart browses the local domain for any server running the Time Source service.

 

On Windows NT or higher, SETTIME requires the current user to have the ‘Change the system time’ privilege.

For more information on running the Windows NT Time Source Service, see Knowledge Base article Q131715 (also available on TechNet).

 

Examples

SETTIME "*"

SETTIME "\\MYTIME"

SETTIME "TIMEDOMAIN"