時間同步命令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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM