configure NTP client

sahil-sabir
sahil-sabir used Ask the Experts™
on
Hi,
We have couple of Windows 2003 servers and windows XP Pcs in our environment, we do not have domain controller yet. I have configured one of our server with an external time source and the time sync is fine. Now I need to sync all my servers and Pcs to this server so please provide me an easy way to do it.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®

Commented:
On each pc:

net time /rtsdomain:ipaddress_of_synced_machine /set
Hello

net time /rtsdomain:ipaddress_of_synced_machine /set /yes

should help also !

regards
bytesleuth
If you want all the machines to sync time .please run "w32tm /resync"  .Put this in a simple batch file and put it in the login Script just for once so that all machines will sycn the time.. :)

thanks .
Acronis in Gartner 2019 MQ for datacenter backup

It is an honor to be featured in Gartner 2019 Magic Quadrant for Datacenter Backup and Recovery Solutions. Gartner’s MQ sets a high standard and earning a place on their grid is a great affirmation that Acronis is delivering on our mission to protect all data, apps, and systems.

Author

Commented:
after creating the batch file do i have to put this in the login script for all the pcs since the pcs are not in domain heirarchy
Commented:
One time run should be enough. Since you don't have a domain policy that can be enforced on all PCs centrally, you will need to have a way to distribute this script to each pc. I suggest putting it in a share, and either run it your self, or instruct the users to do it.
If these machines are not in Domain then i would say you either have to run this on all the machines but in that case no need to create a batch file just type w32tm /resync  at the command prompt  or put this bacth file in a share and ask Users to run it once  .

Thanks .

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial