error issued when run 'net time' under command line

E

engine

Dear all,
I have two question:
1. When I run 'net time' try to get the system clock
under command line, and I got the following error: 'System
error 5 has occured'. Why?
2. I try to use w32time service to sync my server's
clock with the ntp time server, but seams failed. I do as
below:
net time /setsntp:xxx.xxx.xxx.xxx
net start w32time
net time /querysntp
But the system clock did not change.
 
M

Marina Roos

On the server it would be:
net time /setsntp:time.nist.gov (or any other public timeserver)
net stop w32time
w32tm -once -v
net start w32time
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top