Same time on my stations

Hi experts,
we have four offices each far away from the rest and need all computers to have the same time.
How can I automatically update the clock of each station from a GOOD time server around Aruba or which is the best for this purpose???
I'm using visual basic 6.0
Please send me some code.
Best regards,
RGuillermoProject ManagerAsked:
Who is Participating?
on a workstation without a domain i use the utility "about time" it runs after windows starts sets time then shuts down. works perfectly
Put in the logon script

net time \\servername /set /yes
Walter PadrónCommented:
Hi rguillermo,

If you have an AD domain, your wks should automatically have the same time.

Read "How to configure an authoritative time server in Windows Server 2003" if you need to configure an external clock

"A List of the Simple Network Time Protocol Time Servers That Are Available on the Internet"


Just issue this command in each of the computer:

net time /

If they are behind a firewall, make sure they can access to port 123 in the Internet.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.