When the Windows date and time are not syncing, it poses issues in managed or enterprise environments. If your PC times aren’t synced, it can cause Kerberos domain issues, inaccurate event log timestamps, derail task scheduling, certificate validity, and updates. Plus, devices may fail to authenticate, update, or function within Active Directory environments.
To resolve the issue where Windows 11 time sync is not working, you can use Windows Settings, the Command Prompt, PowerShell, and Group Policy. Achieving time consistency across the network is crucial for smooth workflows, letting computers and their users handle tasks efficiently. This guide provides the requirements, steps, and troubleshooting tips to fix time is not syncing automatically in windows.
Methods for syncing Windows 11 time and date
Before beginning any of these methods, ensure the following:
- The system is connected to the internet or the domain network.
- You have administrative privileges for the Command Prompt, PowerShell, and Group Policy methods.
- You have enabled the Windows Time Service (W32Time) feature.
- Domain-joined devices are synchronized from a domain controller, which is common in enterprise environments.
For in-depth details of these prerequisites, please proceed to the “Requirements for fixing Windows 11 time sync” section.
Once all the requirements are sorted out, you can fix Windows 11’s time and date sync. Several methods exist, including via Windows Settings, the Command Prompt, Windows PowerShell, and Group Policy.
Method #1: Using Windows Settings to sync time and date
This method is the simplest and quickest way to manually sync time and date on individual Windows computers that rely on the Network Time Protocol (NTP). Though ideal for fixing standalone devices, it’s not ideal for managed environments where you have to sync time for multiple systems simultaneously.
- Open Settings via the Windows + I shortcut. Go to Time & Language > Date & Time.
- Ensure that the Set time automatically toggle is switched on. Furthermore, if you frequently travel and cross time zones, you can also tweak Set time zone automatically.
- Next, manually sync time by scrolling down to the Additional settings section.
- Click the Sync now button. A status update should appear in the window, whether it was successful or otherwise.
- Finally, confirm that Time zone has been set correctly. Select the correct one from the drop-down list.
Method #2: Syncing time using the Command Prompt
This method is ideal if using Windows Settings doesn’t work. It’s also your best bet if the Windows Time (W32Time) service is not syncing correctly.
- Open the Command Prompt as an administrator.
- Once the console is open, run this command to force a time sync:
w32tm /resync
. - If successful, you will see this message: “Sending resync command to local computer… The command completed successfully.” Meanwhile, if this fails, you will encounter “The service has not been started” error which indicates W32Time needs to be reset.
- Reset the Windows Time Service by entering the following codes one at a time:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
⚠️ If you see the message “The service has not been started,” and receive the error “The computer didn’t resync because no time data was available,” it means the time source is missing. To fix, enter the following command:
w32tm /config /manualpeerlist:"time.windows.com,0x1" /syncfromflags:manual /reliable:yes /update
And then:
net stop w32time && net start w32time
After entering these codes, try rerunning w32tm /resync
to confirm it works.
Method #3: Sync time using Windows PowerShell
Using PowerShell to sync time is best for applying fixes across multiple machines, making it a go-to for enterprise environments.
- Open PowerShell as an administrator. Press Start, type PowerShell, right-click Windows PowerShell, and select Run as administrator.
- Next, run this command to restart the W32Time service:
Restart-Service w32time
. - Force a time sync by running this Windows time sync command:
w32tm /resync
. - Finally, check if this method works by viewing the current time source and last sync details using this code:
w32tm /query /status
. This will confirm whether your system is syncing with the correct server. Additionally, it will give you information about when the last sync occurred, helping you troubleshoot missed or failed syncs.
Method #4: Enforce Time Sync via Group Policy
This method is best for Windows 11 Pro and domain-joined environments to have centralized control over time synchronization settings.
- Open the Group Policy Editor by pressing Win + R, typing gpedit.msc, and pressing Enter.
- You can access the Time Provider settings by going to Computer Configuration > Administrative Templates > System > Windows Time Service > Time Providers.
- On the Time Providers screen, double-click Enable Windows NTP Client and set the policy to Enabled. Click Ok.
- Next, you need to tweak the NTP Client to enable time sync.
- Double-click Configure Windows NTP Client and set the policy to Enabled.
- Next, configure the following fields:
- NtpServer. Enter your time server, like time.windows.com,0x1, or dc01.contoso.local,0x1.
- Type: Use NTP for standalone PCs or NT5DS for domain-joined devices.
- Adjust these optional fields:
- SpecialPollInterval to 3600 to sync every hour
- EventLogFlags to 1 to reduce noise.
Click OK.
-
-
- Apply the group policy changes by opening the Command Prompt as an administrator and running this command:
gpupdate /force
. After this, restart the Windows Time service via these codes:net stop w32time
andnet start w32time
.
- Apply the group policy changes by opening the Command Prompt as an administrator and running this command:
-
Requirements for fixing Windows 11 time sync
Before fixing time synchronization issues on Windows 11, ensure you’ve fulfilled the following requirements:
- Your system must be connected to the internet or a domain network, especially in enterprise environments.
- You need to have administrative privileges. Tools like the Command Prompt, PowerShell, or Group Policy require you to run them as an administrator.
- Windows Time Service should be enabled. This is responsible for handling time sync using NTP (Network Time Protocol), which syncs your system clock with time servers over the internet. Here’s how to ensure it is not disabled:
- Access the Services Console by opening the Run dialog (Win + R) and typing services.msc.
- In the Services window, scroll down and look for Windows Time.
- If the status column displays “Running,” the service is active. However, if it is blank or says “Stopped,” you must restart it manually.
- To activate it, double-click Windows Time. Under the General tab, find Startup type. Set it to Automatic (recommended) or Manual. Click Apply, then OK.
- Finally, start the service by tapping the Start button under the Service status in the Properties window. Once it’s running, you may close the Services Console.
⚠️ Note: Windows Time Service can be missing due to policy restrictions, data corruption, or it may be absent from your Windows version. To fix, run the following commands on Command Prompt (Admin) one at a time:
sc triggerinfo w32time start/networkon stop/networkoff
sc config w32time start= auto
net start w32time
If this does not work, re-register the service:
w32tm /unregister
w32tm /register
net start w32time
- Confirm synchronization from a domain controller for domain-joined devices (which are common in enterprise environments). Here’s how:
- Open the Command Prompt as an Administrator.
- Type the following command:
w32tm /query /status
. Press Enter. - Look for the line that says Source: <server>.
- If you’re syncing directly from a domain controller, the source should look like this: Source: DC01.domain.local or another recognizable domain name.
Troubleshooting Windows date and time sync issues
If Windows time sync isn’t working as expected, you can perform these checks and fixes to identify and resolve issues.
How to check if your computer is syncing with the right sync source
Verify if your computer is running on the right sync source using this code on PowerShell or the Command Prompt as an admin: w32tm /query /source
.
If it’s working, the output will show the DC01.domain.local or time.windows.com, or another configured server. However, if the status shows Local CMOS Clock, time sync isn’t working.
How to verify if Windows Time Service is running
To check the status of the Windows Time Service, run this command on PowerShell and Command Prompt as an admin: sc query w32time
.
The Windows Time Service is functioning if the output displays STATE: RUNNING. However, if it doesn’t, you can start it with the command: net start w32time
.
How to check sync logs via Event Viewer
Open the Event Viewer via Run (Win + R), then navigate to Applications and Services Logs > Microsoft > Windows > Time-Service > Operational. Look for Warning or Error events, which will tell you what you need to fix.
How to confirm if UDP Port 123 is open
NTP uses UDP port 123 to communicate with Windows’ time servers. At times, security programs like firewalls (including Windows Defender) can block it. To check firewall settings, here are the necessary steps:
- Open Win + R and type wf.msc to open Windows Defender Firewall.
- Go to Inbound Rules and Outbound Rules.
- Look for rules allowing UDP port 123.
- If missing or blocked, create a rule to allow it. Here’s how:
- In the left pane, click Inbound Rules.
- Next, on the right pane, click New Rule.
- In the New Inbound Rule Wizard, make a rule based on these parameters:
- Rule Type: Select Port and click Next.
- Protocol and ports:
- Select UDP.
- Pick Specific local ports and enter 123.
- Click Next.
- Action: Choose Allow the connection.
- Profile: Check Domain, Private, and Public.
- Name: Enter a relevant name for easier tracking.
- Click Finish.
How to restart the time service
Sometimes, restarting the Windows Time Service will resolve sync issues. You can resort to either of these two methods to get this done:
- In the Command Prompt (admin), enter
net stop w32time
. After you receive confirmation that the service has stopped, runnet start w32time
. - In PowerShell (admin), enter this code:
Restart-Service w32time
and await confirmation that the service has restarted.
Fix Windows time sync issues for smoother workflows and consistent network access
Consistent time sync is important in Windows 11 networks, especially in managed networks and hybrid environments. You can easily use Windows Settings for individual devices, and alternative methods include PowerShell, Group Policy, and the Command Prompt for a large number of systems.
Accurate time ensures secure logins, precise and reliable system logs, and avoids Kerberos and domain join failures, leading to a secure network and consistent workflow.