Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1516
  • Last Modified:

NTP on Windows Questions

NTP is supposed to be running on our domain controllers.  But I have receiving some error messages from my phone servers that NTP appears unavailable.  From my Windows 7 workstation, how can I test if NTP is up and running on a particular server?  You can see two attempts below and the windows help and documentation does not give a good example.

C:\Users\medfly>w32tm /query /source:10.10.10.139
The following arguments were unexpected:
 /source:10.10.10.139

C:\Users\medfly>w32tm /query /computer:10.10.10.139
The following error occurred: missing parameter

Part II: How can I tell with which ntp server my Win 7 laptop computer is syncing?  

Thanks.
0
amigan_99
Asked:
amigan_99
  • 3
  • 2
1 Solution
 
GovvyCommented:
Try:

w32tm /query /computer:10.10.10.139 /status
0
 
pritamduttCommented:
you query the status by issuing the following command to know the status on ur PC

w32tm /query /status

Open in new window


and use the following command to test the NTP server <use your server ip/name instead of 0.pool.ntp.org>

w32tm /stripchart /computer:0.pool.ntp.org /samples:1

Open in new window


Hope this helps
0
 
amigan_99Author Commented:
C:\Users\medfly>w32tm /query /computer:10.10.10.139 /status
The following error occurred: Access is denied. (0x80070005)
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
GovvyCommented:
Run as Administrator for target machine
0
 
amigan_99Author Commented:
Yes!

C:\Users\medfly>w32tm /stripchart /computer:10.10.10.139 /samples:1
Tracking 10.10.10.139 [10.10.10.139:123].
Collecting 1 samples.
The current time is 10/7/2011 8:27:59 AM.
08:27:59 d:+00.0449910s o:+00.2432309s  [                           |*
0
 
amigan_99Author Commented:
That was it indeed.  Thank you.  Both pieces worked.
0

Featured Post

Put Machine Learning to Work--Protect Your Clients

Machine learning means Smarter Cybersecurity™ Solutions.
As technology continues to advance, managing and analyzing massive data sets just can’t be accomplished by humans alone. It requires huge amounts of memory and storage, as well as the high-speed power of the cloud.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now