How to Change Windows Server Time

 

The Windows operating system has its own time synchronization function, which will automatically obtain the time from the Internet time server to ensure the accuracy of the system time. However, sometimes we need to change the time server for more accurate time synchronization. The editor will introduce how to change the Windows time server and how to configure the Windows time server.

  1. How to change the Windows time server

  Before changing the Windows time server, you need to know the time server used by the current system. You can check the time server currently used by the system by:

  1. Using the command line

  Press Win+R to open the run window, enter cmd and press Enter to open the command line window. Enter the following command and press Enter:

  w32tm /query /peers

  This command will display the time server currently used by the system.

  2. Use system settings

  Click the time display on the taskbar, select Date and Time Settings, and then click Change Date and Time Settings.

  In the window that pops up, select the "Internet Time" tab and click the "Change Settings" button.

  In the pop-up window, you can view the time server currently used by the system.

  To change the Windows time server, you can follow the steps below:

  1. Open the command line window, enter the following command and press Enter:

  w32tm /config /manualpeerlist: time server IP address /syncfromflags:manual /reliable:yes /update

  Among them, "Time Server IP Address" is the IP address of the time server you want to use. For example, you can use the time server of the National Time Service Center, whose IP address is time.nist.gov.

  2. Enter the following command and press Enter:

  net stop w32time

  net start w32time

  This will restart the Windows Time service.

  Two, Windows time server configuration method

  In addition to changing the Windows time server, you can also configure the Windows time server to obtain more accurate time synchronization. Here's how to configure Windows Time Server:

  1. Open the command line window, enter the following command and press Enter:

  w32tm /config /manualpeerlist: time server IP address /syncfromflags:manual /reliable:yes /update

  Among them, "Time Server IP Address" is the IP address of the time server you want to use. For example, you can use the time server of the National Time Service Center, whose IP address is time.nist.gov.

  2. Enter the following command and press Enter:

  w32tm /config /update

  net stop w32time

  net start w32time

This will restart the Windows Time service, and update the configuration.

  3. Check whether the Windows time server configuration is successful. Enter the following command and press Enter:

  w32tm /query /configuration

  This command will display the configuration information of the current Windows time server.

  The Windows time synchronization function can ensure the accuracy of the system time, but sometimes it is necessary to change the time server to obtain a more accurate time synchronization effect. This article describes how to change the Windows time server and how to configure the Windows time server. If you find that your system time is not accurate, you can change and configure it as described in this article.

Guess you like

Origin blog.csdn.net/HoewDec/article/details/130440538