AD 巡检(8) 时间同步检查

  • 确认PDC
    • netdom query pdc
  • 查看pdc 时间
    • net time \pdc.abc.com
  • 查看其它DC 的时间
    • net time /domain:thtfpc.com
  • 查看时间服务器及与PDC 是否同步 w32time
    • w32tm /query /configuration | findstr “Type”
    • Type 输出参数有:
      • 1、Nosync 使用硬件时钟
      • 2、NTp  使用外部NTPserver
      • 3、NT5DS  使用域架构同步时间
      • 4、ALLSync 包括NTP和 Nt5DS
    • 查看时间源服务器
      • w32tm /query /source
    • 手动同步时间
      • net time \\pdc.abc.com /set /y