PDA

View Full Version : setting time from internet using command line


Gary Roach
January 6th 04, 01:00 AM
i'm trying to set the time using a ntp server from the command line. i'm
doing:

net time /setsntp:time.microsoft.com
net time /set

the first command succeeds. the second fails with:

Could not locate a time-server.

More help is available by typing NET HELPMSG 3912.

the helpmsg is just : 'Could not locate a time-server.'

when i look at the traffic on the link, there aren't any packets being sent
as a result of the second command. no wonder it can't find a server! anybody
know how to do this? i need to do it on the command line. any help is
greatly appreciated.

gary

--
Gary Roach
ADB Services
490-0287

Google