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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syncing all network computer clocks 1

Status
Not open for further replies.

itjeff

Technical User
Apr 1, 2001
1
US
What is the easiest way to sync all the computers on my network with the server clock?
 
You don't even need to do that - time server just updates that clock to one on the Net.

Use net time /set /yes \\servername which will set the workstation time to the server. Ensure that server is set correctly...
 
Yeah thats right it's been a little time since I moved from IT admin to programming, my memory's going! And if you didn't know itjeff, you put the command Zelandakh said into your login.bat file(s) so it sets every time a user logs on.
 
Is there any way to run that command more often that at each boot up. Just curious for my own information, I can't see why you would need to synch more often that once a day, but you never know what sombody may want.
 
Sure, use the AT command. First, make sure the "Schedule" service is set to start automatically and started. Then type from a command prompt:

at 04:00 /EVERY:M,T,W,Th,F "net time \\server /set /y"

(substitute your time reference server for the word "server"). This causes the time to sync at 4am every weekday.

Hope this helps... :cool:

- Bill

"You can get anything you want out of life, if you'll just help enough other people get what they want" - Zig Ziglar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top