How to Find NTP Server in a Domain to Sync All PCs

Don’t worry, we show you where to begin

To keep all PCs synchronized, updating the internet time will help you pull it off. And to do that, you need to find the NTP (Network Time Protocol) server first.

Windows’Command Promptwill get you there. And if you don’t know where to begin, don’t worry.

In this post, you’ll learn what you need on how to find the NTP server for the domain.

Register and Start

If you haven’t registered Windows Time Service yet, the commands below will show you how to do it. You also need to start the service before you can sync your computer time with your NTP server.

First up is to launch theCommand Prompt. ChooseRun as administrator.

Then enter the following command to register your system:w32tm /register

Once you hit enter, you will find out if the registration was a success.

Now, start things up by issuing this command:sc start w32time

W32tm /query

Now that the Windows Time Service is registered and running, you can get information from it. You can do this by typing the following:w32tm /queryand match it with the following parameters.

/status

This will show you the status of Windows Time Service.

/status

/verbose

This will set the verbose mode to show you more information.

/source

This will show you the time source.

/configuration

This will show you the run-time’s configuration and settings.

/peers

This will show a list of people using your system.

W32tm

/resync

You can also use theCommand Promptto resynchronize the clock the soonest time possible.

Here’s a discussion on each parameter of this command:

/computer:<name

of computer to be resynchronized>

This lets you specify a computer that will be resynchronized. If you leave this blank, the subject will be the local computer.

/nowait

This lets you eliminate the wait time for the resynchronization. It means that you will not have to wait for the process to be completed before the results are returned.

/soft

This lets you resync the clock using the existing errors. Of course, this wouldn’t do you any good. But you can refer to the information it provides for compatibility.

W32tm

/config

Use this command to configure your system.

Let’s look at its components:

/manualpeerlist:

This lets you set a list of peers. It’s a list of IP addresses.

You can leave it blank and by default, it will be set to .

/update

This allows you to notify the service that there are new changes that need to take effect.

/localclockdispersion:<in

seconds>

This configures the Internal clock’s accuracy.

/reliable:<YES

or NO>

This allows you to specify whether the system is a reliable source for time.

/largephaseoffset:<in

milliseconds>

This lets you set the time difference involving your local and network time.

W32tm

/dumpreg

To get information about a registry key, you can also go to theCommand Prompt. There, enter the following, along withw32tm /dumpreg

/subkey:

This shows you the values that are associated with the sub-key of the default key.

/computer:<name

of the computer>

This shows you the queries registry settings for a specified computer.

W32tm

/debug

TheCommand Promptis also where you can access your computer’s private log. Here’s a short discussion of the parameters in this category.

/enable

or /disable

This lets youenableordisablethe private log. Because you want to access this log, enabling is the way to go.

/file:<name

of your file>

This lets you specify the name of your file. In the example below, let’s say the name of our file is “xxx”.

/size:<size

of your file>

This lets you specify the size of your file. What you should enter here is the maximum number of bytes.in the example, the size of our file is 100 bytes.

/entries:<number

of entries>

This allows you to list down the value for your entries. The valid numbers for this field are in between 0 to 300. In the example, the value is 10.

Christopher Jan Benitez is a freelance writer for hire who provides actionable and useful web content to small businesses and startups. In his spare time, he religiously watches professional wrestling and finds solace in listening to ’80s speed metal.Read Christopher’s Full Bio

Welcome to Help Desk Geek- a blog full of tech tips from trusted tech experts. We have thousands of articles and guides to help you troubleshoot any issue. Our articles have been read over 150 million times since we launched in 2008.

HomeAbout UsEditorial StandardsContact UsTerms of Use

Copyright © 2008-2024 Help Desk Geek.com, LLC All Rights Reserved