Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Microsoft: NT 4.0 Time synchronization

Status
Not open for further replies.

Ahuot

IS-IT--Management
Feb 15, 2000
3
US
Is there a way to synchnorize all the internal clocks on a network when an individual signs onto a server? We have a small network, and we want all the clocks on the individual computers to be the same.Possibly through the login script?
 
If you use the following syntax in your login scripts, it will sync the time with the server you specify:<br>
<br>
net time \\servername /set /y
 
This is the help on the Net Time command, all the login scripts I've ever written have used the command in the previous post, I've never used a workgroup switch:<br>
<br>
NET TIME [\\computer ¦ /WORKGROUP:wgname] [/SET] [/YES]<br>
<br>
computer Specifies the name of the computer (time<br>
server) whose time you want to check or<br>
synchronize your computer's clock with.<br>
/WORKGROUP Specifies that you want to use the clock on a<br>
computer (time server) in another workgroup.<br>
wgname Specifies the name of the workgroup containing<br>
a computer whose clock you want to check or<br>
synchronize your computer's clock with. If<br>
there are multiple time servers in that<br>
workgroup, NET TIME uses the first one it<br>
finds.<br>
/SET Synchronizes your computer's clock with the<br>
clock on the computer or workgroup you<br>
specify.<br>
/YES Carries out the NET TIME command without<br>
first prompting you to provide information or<br>
confirm actions.<br>

 
I've never seen it with the workgroup switch. I you use NET TIME /DOMAIN:&lt;dname&gt; /SET /YES you will synchronize with the PDC of your domain. <p> Jeff<br><a href=mailto: masterracker@hotmail.com> masterracker@hotmail.com</a><br><a href= > </a><br>
 
net time \\servername /set /yes<br>
<br>
The above worked great<br>
<br>
Thanks for the help
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top