w32tm

T

Tracey

I would like to verify a sequence of execution.
To accommodate the [Daylight Saving Time] time change someone wrote a batch
file that executes:

C:\WINNT\SYSTEM32\w32tm /s
C:\WINNT\SYSTEM32\net time /setsntp:tick.usno.navy.mil
C:\WINNT\SYSTEM32\w32tm -once

Since I have never used w32tm before I would like to verify its use before I
implement it.

Does anyone know if the above sequence is correct? (I discovered 1 internet
site that had [-once] switch used before the [-s] switch)

Also is <slash><s> the same as <dash><s>? (I manually ran [w32tm /s] at the
commmand line and there were no error messages for syntax)

Any help will be greatly appreciated.
Thank, Tracey

-s [<computer>] force the given computer (or the local computer if none is
given) to resynchronize, then exit.
-once do only one synchronization, then exit.

Version: Microsoft Windows 2000 [Version 5.00.2195]
 
J

John Wunderlich

I would like to verify a sequence of execution.
To accommodate the [Daylight Saving Time] time change someone
wrote a batch file that executes:

C:\WINNT\SYSTEM32\w32tm /s
C:\WINNT\SYSTEM32\net time /setsntp:tick.usno.navy.mil
C:\WINNT\SYSTEM32\w32tm -once

Since I have never used w32tm before I would like to verify its
use before I implement it.

Does anyone know if the above sequence is correct? (I discovered 1
internet site that had [-once] switch used before the [-s] switch)

Also is <slash><s> the same as <dash><s>? (I manually ran [w32tm
/s] at the commmand line and there were no error messages for
syntax)

Any help will be greatly appreciated.
Thank, Tracey

-s [<computer>] force the given computer (or the local computer if
none is given) to resynchronize, then exit.
-once do only one synchronization, then exit.

Version: Microsoft Windows 2000 [Version 5.00.2195]

You need to read this Microsoft Knowledge Base article:

"How to configure an authoritative time server in Windows 2000"
<http://support.microsoft.com/kb/216734/en-us>

HTH,
John
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top