• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

RE: Time

DBohner-(db)

Legendary Poster
RE: Time

From the NT Realm... use the Net Time command within a login Script.

Snipped from the command reference -

Net time
Synchronizes the computer's clock with that of another computer or domain.
Used without the /set option, displays the time for another computer or
domain.
net time [\\computername | /domain[:domainname] | /rtsdomain[:domainname]]
[/set]
net time [\\computername] [/querysntp] | [/setsntp[:ntp server list]]
Parameters
none
Displays the current date and time at the computer designated as the time
server for the local computer's Windows Server domain.
\\computername
Specifies the name of a server you want to check or with which you want to
synchronize.
/domain[:domainname]
Specifies the domain with which to synchronize time.
/rtsdomain[:domainname]
Specifies the domain of the Reliable Time Server with which to synchronize
time.
/set
Synchronizes the computer's clock with the time on the specified computer or
domain.
/querysntp
Displays the name of the Network Time Protocol (NTP) server currently
configured for the local computer or the one specified in \\computername.
/setsntp[:ntp server list]
Specifies a list of NTP time servers to be used by the local computer. The
list may contain IP addresses or DNS names, separated by spaces. If multiple
timeservers are used, the list must be surrounded by quotes.
Related Topics


Daniel Bohner
drbohner@existinglight.net
www.existinglight.net

or my day job

Daniel Bohner
Simplot Corporate Information Systems
Pioneer Building
Boise, ID 83702
(208)250-1917 personal cell
dbohner@simplot.com
 
Top