If you see the following error message when your Windows system tries to synchronize time:
Can't connect to time.windows.com
"Connection to time.windows.com failed. Please check your network settings and ensure that access to time.windows.com is not blocked by your firewall or proxy."
This error indicates that your computer cannot connect to the Network Time Protocol (NTP) server time.windows.com to update its system clock. Maintaining accurate time is essential for many applications, including license authentication, as it helps prevent fraud and ensures the integrity of operations.
Allow NTP (Time Sync) Through the Firewall
To configure Windows Defender Firewall:
- Press Win + R, type
wf.msc, and press Enter. - On the left panel of the Windows Defender Firewall window, click Outbound Rules.
- On the right side, click New Ruleā¦
- Select Port, and click Next.
- Select UDP, in the Specific local ports field, type
123, and click Next. - Select Allow the connection, and click Next.
- Apply the rule to Domain, Private, and Public profiles. Click Next.
- Name the rule (e.g., Allow NTP (Port 123)) and click Finish.
- Restart the Windows Time Service:
- Open Command Prompt as administrator.
- Type
net stop w32timeand press Enter. Type
net start w32timeand press Enter.You can try to force a synchronization:
w32tm /resync
Once configured, your system should be able to connect to time.windows.com and synchronize time successfully.