我们已经了解了如何更改 Windows Internet 时间更新间隔(change the Windows Internet Time Update Interval)。但也许您的 Windows时间(Time)是错误的并且没有同步 - 或者您可能无法配置您的Windows Internet 时间(Windows Internet time)设置以自动与Internet时间服务器同步,例如time.windows.com。虽然您可以手动同步时间,但通过单击立即更新(Update now),您可能会发现它不会自动同步。
Windows在Windows上同步时间时(Time)发生错误
在我们开始解决此问题之前,最好运行系统文件检查器。为此,您必须在提升的CMD中键入(CMD)sfc /scannow并按Enter。稍等片刻(Wait),作业完成后,重新启动Windows计算机。完成此操作后,我们可以继续尝试解决Windows 时间(Windows Time)同步问题。
Windows时间(Time)同步不起作用
要更改您的时间(Time)设置,您可以单击任务栏右侧的时间,然后选择日期和时间设置。(Time)同步设置位于Internet 时间(Internet Time)选项卡下。
Windows时间(Windows Time)服务不工作
如果您的Windows 时钟时间错误,首先要做的是确定您的Windows 时间服务(Windows Time service)是否设置为自动(Automatic)并已启动(Started),否则您可能会看到错误消息:Windows 时间服务未运行(The Windows Time service is not running)。
修复日期和时间不同步
为此,请在Start Search中键入(Start Search)services.msc并按Enter。在Services Manager中,导航到Windows 时间(Windows Time)服务并双击它。
检查并查看它是否已启动并设置为Automatic。如果没有,请将启动类型更改为Automatic并单击Apply/OK。
如果这有效,很好,启动(Start)服务并退出。这应该是你的问题的结束。如果没有,您会收到错误消息 - 请继续阅读!
Windows 时间(Windows Time)服务无法启动并出现错误 1079
如果您发现Windows 时间(Windows Time)服务无法启动并出现错误 1079(Error 1079),您可能需要确保该服务是由本地系统(Local System)帐户而不是本地服务(Local Service)帐户 ( NT AUTHORITY\LocalService ) 启动的。更多细节在这里(here)。
该系统找不到指定的路径
你得到一个错误框:系统找不到指定的路径(The system cannot find the path specified)。
在这种情况下,您可能需要重新注册 dll 文件。这里涉及的 dll 文件是 w3time.dll。为此,请以管理员(Administrator)身份打开命令提示符,键入regsvr32 w32time.dll并按 Enter。
如果这可行,那很好,否则您还会收到此消息吗?
模块 w32time.dll 已加载,但对DllRegisterServer的调用失败,错误代码为 0x80070003
接下来您可能还想注册名为W32tm.exe的相关(W32tm.exe)Windows 时间文件(Windows Time file),看看这是否有帮助!
W32tm.exe 位于 System32 文件夹中,用于配置 Windows 时间服务设置。它还可用于诊断时间服务的问题。W32tm.exe 是用于配置、监视或故障排除 Windows 时间服务的首选命令行工具。您可以在TechNet(TechNet)上查看其所有参数。(W32tm.exe, located in the System32 folder, is used to configure Windows Time service settings. It can also be used to diagnose problems with the time service. W32tm.exe is the preferred command line tool for configuring, monitoring, or troubleshooting the Windows Time service. You can check out all its parameters here at TechNet.)
我们将使用/register参数。此参数在为W32tm.exe运行时,注册时间服务以作为服务运行并将默认配置添加到注册表。
为此,在提升的命令提示符下,依次(elevated command prompt, )键入这些命令并按 Enter:
net stop w32time
w32tm /unregister
w32tm /register
强制 Windows使用CMD同步(CMD)时间(Time)
您还可以强制Windows使用W32tm.exe同步时间(Time)。W32tm.exe是一个命令提示行,用于配置、监控或排除Windows 11/10 PC中的Windows 时间服务。(Windows Time Service)
为此,请打开提升的命令提示符并依次键入以下命令:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync
重新启动(Reboot)您的计算机,看看它是否有帮助。
看看这是否有助于解决您的问题……如果没有……叹息……您在注册 w32tm.exe 时可能会再次收到一条消息:
发生以下错误:系统找不到指定的路径。(0x80070003)
请确保您以管理员身份登录并以管理员身份打开命令提示符 - 但即使您已遵守这些要求,您也可能会收到错误消息。
在这种情况下,您将不得不打开注册表编辑器(Registry Editor)。
打开 regedit 后,导航到以下注册表项:
HKLM\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl\services\TapiSrv
现在在右窗格中右键单击ImagePath并选择Modify。在数值(Value)数据框中,确保值为:
%SystemRoot%\System32\svchost.exe -k NetworkService
单击确定并退出。
Hope something helps!
如果没有任何帮助,您可以使用另一个时间服务器(Time Server),使用一些 免费的时间同步软件(free Time synchronization software),或者尝试 修复/重置/重新安装 Windows ,看看它是否对您有帮助。如果您不想考虑最后一个选项,我能给您的唯一实用建议是取消选中与 Internet 时间服务器同步框(Synchronize with an Internet time server box),手动设置时间,然后偶尔检查一下!
想检查您的系统时钟的准确性(check the accuracy of your System Clock)吗?(Want to check the accuracy of your System Clock?)
Windows Time Service not working, Time Synchronization fails with error
We have already seen how tо change the Windows Internet Time Update Interval. But maybe your Windows Time is wrong and not synchronizing – or maybe you are unable to configure your Windows Internet time settings to automatically synchronize with an Internet time server, like say, time.windows.com. While you may be able to manually synchronize the time, by clicking on Update now, you may find that it just does not do so automatically.
Error occurred while Windows was synchronizing Time on Windows
Before we start troubleshooting this issue, it would be a good idea to run the System File Checker. To do so, you have to type sfc /scannow in an elevated CMD and hit Enter. Wait for a while and when the job is completed, restart your Windows computer. Once you have done this, we can move forward to try to troubleshoot the Windows Time synchronization problem.
Windows Time synchronization not working
To change your Time settings, you would click on the Time, on the right side of the taskbar and select date and time settings. The synchronization settings are under the Internet Time tab.
The Windows Time service is not working
If your Windows Clock Time is wrong, the first thing to do is to find out if your Windows Time service is set on Automatic and Started, else you may see the error message: The Windows Time service is not running.
Fix Date and Time not syncing
To do so, type services.msc in Start Search and hit Enter. In Services Manager, navigate to Windows Time service and double-click on it.
Check and see if it is Started and set on Automatic. If not, change the startup type to Automatic and click on Apply/OK.
If this works, great, Start the service and exit. This should be the end of your problems. If not, and you get error messages – read on!
Windows Time service fails to start with Error 1079
If you find that the Windows Time service fails to start with Error 1079, you may want to ensure that the service is being started by the Local System account instead of by the Local Service account (NT AUTHORITY\LocalService). More details on this here.
The system cannot find the path specified
You get an error box: The system cannot find the path specified.
In such a case, you may want to re-register dll file. The concerned dll file here is w3time.dll. To do so, open a command prompt as an Administrator, type regsvr32 w32time.dll and hit Enter.
If this works, fine, else do you still get this message?
The module w32time.dll was loaded but the call to DllRegisterServer failed with the error code 0x80070003
You may then next also want to register the concerned Windows Time file which is named as W32tm.exe and see if this helps!
W32tm.exe, located in the System32 folder, is used to configure Windows Time service settings. It can also be used to diagnose problems with the time service. W32tm.exe is the preferred command line tool for configuring, monitoring, or troubleshooting the Windows Time service. You can check out all its parameters here at TechNet.
We will use the /register parameter. This parameter, when run for W32tm.exe, registers the time service to run as a service and adds the default configuration to the registry.
To do so, in an elevated command prompt, type these commands one after the other and hit Enter:
net stop w32time
w32tm /unregister
w32tm /register
Force Windows to sync Time using CMD
You can also force Windows to sync Time using W32tm.exe. W32tm.exe is a command prompt line used to configure, monitor or troubleshoot the Windows Time Service in Windows 11/10 PC.
To do this, open an elevated command prompt and type the following commands one after the other:
net stop w32time
w32tm /unregister
w32tm /register
net start w32time
w32tm /resync
Reboot your computer and see if it has helped.
See if this helps resolve your issue… if not … sigh … you may again get a message while registering w32tm.exe:
The following error occurred: The system cannot find the path specified. (0x80070003)
Do ensure that you are signed in as an administrator and opened the command prompt as an administrator – but you may get the error, even if you have complied with these requirements.
In such an eventuality, you will have to open your Registry Editor.
Once you have opened regedit, navigate to the following registry key:
HKLM\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControl\services\TapiSrv
Now in the right pane right-click on ImagePath and select Modify. Here in the Value data box, make sure that the value is:
%SystemRoot%\System32\svchost.exe -k NetworkService
Click OK and exit.
Hope something helps!
If nothing helps, you, use another Time Server, make use of some free Time synchronization software or then try to repair/reset/reinstall Windows and see if it helps you. If you do not want to consider this last option, The only practical advice I can give you is that you uncheck the Synchronize with an Internet time server box, set the time manually and then check on it once in a while!
Want to check the accuracy of your System Clock?