时间同步命令w32tm常用方法

查看帮助文档
w32tm /?

查看指定计算机的当前时间
net time \192.168.1.111

查询本机同步源
w32tm /query /source
查询指定计算机的同步源
w32tm /query /computer:192.168.1.111 /source

配置本机的时间同步源
w32tm /config /manualpeerlist:"192.168.1.88" /syncfromflags:manual /update
配置指定计算机的时间同步源
w32tm /config /computer:192.168.1.111 /manualpeerlist:"192.168.1.88" /syncfromflags:manual /update

重新同步本机时间
w32tm /resync
重新同步指定计算机时间
w32tm /resync /computer:192.168.1.111 /nowait /rediscover

查询本机同步状态
w32tm /query /status
查询指定计算机同步状态
w32tm /query /computer:192.168.1.111 /status

检查各域控主机的时间偏移
w32tm /monitor /domain:testdomain.com

posted on   越野兔  阅读(7635)  评论(0编辑  收藏  举报

相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
点击右上角即可分享
微信分享提示