To keep all computers in sync, updating the Internet time will help you with this. And for that, you need to first find an NTP (Network Time Protocol) server.
Windows Command Prompt takes you to this. And if you don’t know where to start, don’t worry.
In this post, you will learn what you need to find an NTP server for a domain.
Register and get started
If you haven’t registered the Windows Time service yet, the commands below will show you how. You also need to start the service before you can synchronize the computer time with the NTP server.
First you need to run the command line. Select Run as administrator.
Then enter the following command to register your system: w32tm / register
As soon as you hit “Enter”, you will know if the registration was successful.
Now run this command: sc start w32time
W32tm / query
Now that the Windows Time service is registered and running, you can receive information from it. You can do this by typing the following: w32tm / query and matching it with the following parameters.
This will show you the status of the Windows Time service.
/ status / verbose
/ State / verbose
This will set the verbose mode to show you more information.
This will show you the source of the time.
This will show you the configuration and runtime settings.
A list of people using your system will open.
W32TM / Resync
You can also use the command line to re-sync the clock as soon as possible.
Here is a discussion of each parameter of this command:
This allows you to specify the computer to be resynchronized. If you leave this field blank, the topic will be local computer.
/ No waiting
This reduces the waiting time for resynchronization. This means you don’t have to wait for the process to complete before the results are returned.
This allows the clock to be re-synchronized using existing errors. Of course, it won’t do you any good. But you can refer to the information it provides for compatibility.
W32TM / configuration
Use this command to configure your system.
Let’s take a look at its components:
This allows you to establish a peer list. This is a list of IP addresses.
You can leave this field blank and the default will be .
This allows you to notify the service of new changes that should take effect.
This adjusts the accuracy of the internal clock.
This allows you to indicate whether the system is a reliable time source.
This allows you to set the time difference based on your local and network time.
W32TM / dump
You can also go to the command prompt to get information about the registry key. There enter the following along with w32tm / dumpreg
This shows the values ??associated with the default key plugin.
Shows the request registry settings for the specified computer.
W32TM / patch
The Command Prompt is also where you can access your computer’s personal log. Here’s a quick discussion of the options in this category.
/ enable or / disable
Activate or disable
This allows you to enable or disable personal journal. Since you want to access this log it is best to enable it.
This allows you to specify the name of your file. In the example below, let’s say our file name is “xxx”.
This allows you to specify the size of your file. Here you must enter the maximum number of bytes. In this example, our file size is 100 bytes.
This allows you to enumerate the value for your entries. Valid numbers for this field are between 0 and 300. In this example, the value is 10.