windows客户端时间更新脚本NTP
2017-02-08 09:04
162 查看
Windows XP 客户端时间更新脚本NTP
Windows 7,10 客户端时间更新脚本NTP(管理员身份运行)
::Windows XP 客户端时间更新脚本NTP reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /ve /t REG_SZ /d 3 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /v 1 /t REG_SZ /d time.windows.com /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /v 2 /t REG_SZ /d time.nist.gov /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /v 3 /t REG_SZ /d time1.aliyun.com /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters" /v NtpServer /t REG_SZ /d time1.aliyun.com /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient" /v SpecialPollInterval /t REG_DWORD /d 3600 /f sc config w32time start= auto net time /setsntp:time1.aliyun.com ping -n 3 127.0.0.1 >nul net stop w32time ping -n 3 127.0.0.1 >nul net start w32time ping -n 3 127.0.0.1 >nul w32tm /resync
Windows 7,10 客户端时间更新脚本NTP(管理员身份运行)
::Windows 7,10 客户端时间更新脚本NTP(管理员身份运行) reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /ve /t REG_SZ /d 3 /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /v 1 /t REG_SZ /d time.windows.com /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /v 2 /t REG_SZ /d time.nist.gov /f reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\DateTime\Servers" /v 3 /t REG_SZ /d time1.aliyun.com /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Parameters" /v NtpServer /t REG_SZ /d time1.aliyun.com /f reg add "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpClient" /v SpecialPollInterval /t REG_DWORD /d 3600 /f sc config w32time start= auto ping -n 3 127.0.0.1 >nul net stop w32time ping -n 3 127.0.0.1 >nul net start w32time ping -n 3 127.0.0.1 >nul w32tm /config /manualpeerlist:"time1.aliyun.com" /syncfromflags:manual /reliable:yes /update ping -n 3 127.0.0.1 >nul w32tm /resync
相关文章推荐
- Windows 客户端时间更新脚本NTP
- 使用windows自带ntp客户端进行时间同步的方法
- NTP客户端时间同步的脚本
- windows时间(NTP)客户端工作原理
- 使用windows自带ntp客户端进行时间同步的方法
- 定时更新NTP时间
- windows下mysql自动备份压缩打包时间命名批处理脚本
- Oracle自动导出脚本(WINDOWS停的,导出文件名自动加上日期和时间)
- Oracle自动导出脚本(WINDOWS停的,导出文件名自动加上日期和时间)
- 使用ntpdate更新系统时间
- Windows 添加计划任务 每隔一定时间执行指定批处理脚本
- 取到服务器时间的JS脚本给客户端显示时间
- 客户端时间脚本(中国、美国时间)
- Windows设置时间自动更新并且自定义更新间隔
- windows客户端同步NTP服务
- windows下NTP的配置(服务端和客户端)
- 用C#读取Windows注册表中的多重字串和二进制字串开发者在线 Builder.com.cn 更新时间:2008-07-20作者: 来源:
- 定时器:为 Windows 实现一个连续更新,高精度的时间供应器
- Ubuntu下启用root账户和设置固定IP && ntp解决虚拟机Ubuntu时间与windows时间不同步
- Windows 2000的客户端时间同步