一、故障报错案例
小编需要用windows10系统的工作站作时钟源,在使用”net start w32time“开启时钟同步服务时报错:
“system error 1058 have occurred.
The service cannot started,either because it is disabled or because it has no enabled devices associated with it."
如下图:
二、故障报错反思及处置
1、我想了下,在把工作站设置为NTP服务器,开启时钟同步之前更改过工作站的调整"日期和时间"设置。
Date & Time里面的“Set time zone automatically” 开启“on”状态,“Set time automatically”关闭“off”状态;
是不是这个设置对windows运行NTP服务有影响呢?
2、于是我将这个设置改回了初始状态,Date & Time里面的“Set time automatically” 开启“on”状态,“Set time zone automatically”关闭“off”状态;
三、问题的解决
修改后,再尝试开始NTP服务,以管理员权限打开CMD,输入net start w32time
发现已经不报错了。
Nice,问题已经完美解决了。
附windows时钟源服务器开启和关闭时钟同步命令:
net start w32time
net stop w32time