---
description: '#windows-automatic-time-settings'
---

# How do I fix the time synchronization error on my Windows PC?

## To resolve this error, enable an automatic time setting on your Windows PC.

{% stepper %}
{% step %}
### Open Date & Time Settings

* Press `Win + I` to open the **Settings** app.
* Go to **Time & language**.
* Select **Date & time**.
{% endstep %}

{% step %}
### Enable "Set Time Automatically"

* In the **Date & time** section, toggle the switch for **Set time automatically** to **On**.In the **Date & time** section, toggle the switch for **Set time automatically**&#x20;

<img src="https://259191462-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FuyOHOR3OwGZyNBk4Q8zL%2Fuploads%2F3SGdzYlOPliQKIhIkfVs%2Fimage.png?alt=media&#x26;token=a0a05f66-d784-45b9-92da-600f736bdd29" alt="" data-size="original">
{% endstep %}
{% endstepper %}

***

## Didn't work? Try the Command Prompt Method

{% stepper %}
{% step %}
### Open CMD as Administrator

* Press `Win + X` and select **Command Prompt (Admin)** or **Terminal (Admin)**.
{% endstep %}

{% step %}
### Disable the time server

* Copy and paste the script below

```
net stop w32time
```
{% endstep %}

{% step %}
### Configure the time server

* Copy and paste the script below (Replace `time.windows.com` with your preferred NTP server if needed).

{% code fullWidth="false" %}
```
w32tm /config /manualpeerlist:"time.windows.com" /syncfromflags:manual /reliable:YES /update
```
{% endcode %}

* Start the Windows Time service again:

```cmd
net start w32time
```

* Force the system to synchronize:

```cmd
w32tm /resync
```

* **Verify the synchronization status**&#x20;

```cmd
w32tm /query /status
```
{% endstep %}
{% endstepper %}
