您好!
Windows时间服务是否自动启动取决于计算机是加入Active Directory域服务(AD
DS)域环境还是配置为工作组计算机。触发事件发生时,加入域的计算机上的Windows时间服务开始。在未加入到AD DS域的工作组计算机上,Windows时间服务的启动值为“手动”,服务状态为“已停止”。
要在系统启动时启动Windows时间服务,请使用以下任何方法。
方法1
运行以下命令删除已注册为默认设置的触发事件,并将Windows时间服务的启动类型设置从手动更改为自动:
sc triggerinfo w32time delete
方法2:
运行以下命令来定义适合您的环境的触发事件。在本例中,该命令确定IP地址是否提供给主机,然后启动或停止服务。
sc triggerinfo w32time start/networkon stop/networkoff
方法3:
将Windows时间服务的启动类型从手动更改为自动(延迟启动)。
注意如果Windows时间服务的启动类型设置为自动(延迟启动),则可以通过“服务控制管理中心启动Windows时间服务之前的时间同步”任务启动Windows时间服务。(这取决于所讨论的Windows操作系统的启动时间。)
在这种情况下,服务会在时间同步任务成功后触发自动停止。因此,如果您使用方法3,则必须禁用“时间同步以避免任务启动Windows时间服务”任务。要这样做,请按照下列步骤操作:
-
启动任务计划程序。
-
在任务计划程序库 / Microsoft / Windows / 时间同步下,单击同步时间。
-
用鼠标右键单击,然后在快捷菜单上单击禁用。
详细信息您可以参照以下链接:
Windows Time service doesn't start automatically on a workgroup computer that's running Windows 7 or Windows Server 2008 R2
https://support.microsoft.com/en-sg/help/2385818/windows-time-service-doesn-t-start-automatically-on-a-workgroup-comput
希望以上信息可以帮助到您。
如果还有问题,可以随时在论坛回复我。
祝您工作愉快!
Best regards,
Michael
Please remember to mark the replies as an answers if they help.
If you have feedback for TechNet Subscriber Support, contact
tnmff@microsoft.com