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 Prompt will 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 the Command Prompt. Choose Run 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
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 /query and match it with the following parameters.
This will show you the status of Windows Time Service.
This will set the verbose mode to show you more information.
This will show you the time source.
This will show you the run-time’s configuration and settings.
This will show a list of people using your system.
You can also use the Command Prompt to resynchronize the clock the soonest time possible.
Here’s a discussion on each parameter of this command:
This lets you specify a computer that will be resynchronized. If you leave this blank, the subject will be the local computer.
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.
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.
Use this command to configure your system.
Let’s look at its components:
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 .
This allows you to notify the service that there are new changes that need to take effect.
This configures the Internal clock’s accuracy.
This allows you to specify whether the system is a reliable source for time.
This lets you set the time difference involving your local and network time.
To get information about a registry key, you can also go to the Command Prompt. There, enter the following, along with w32tm /dumpreg
This shows you the values that are associated with the sub-key of the default key.
This shows you the queries registry settings for a specified computer.
The Command Prompt is also where you can access your computer’s private log. Here’s a short discussion of the parameters in this category.
This lets you enable or disable the private log. Because you want to access this log, enabling is the way to go.
This lets you specify the name of your file. In the example below, let’s say the name of our file is “xxx”.
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.
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.