Skip to content

Script Info: Test InternalTimeSync

Mike Kanakos edited this page Apr 20, 2019 · 1 revision

SYNOPSIS

Monitor AD Internal Time Sync

DESCRIPTION

This script monitors DCs for Time Sync Issues

Script Type:

This script runs from a source server and retrieves the time from the DC with the PDC Emulator role, and compare it with all the other DC in the Domain. If the time drift is higher than the defined limit, an alert will be generated.

Connection type:

WMI

Automatic repair option:

Yes, if the time drift is higher than the defined limit, the script will run 'w32tm /resync' on the DC that is over the limit.

EventID Definitions:

17030 - Failure
17031 - Beginning of test
17032 - Testing individual systems
17033 - End of test
17034 - Alert Email Sent
17035 - Automated Repair Attempted

Currently Configured Output Options

Event Log
Email
Slack   

NOTES

Authors: Mike Kanakos, Greg Onstot

Clone this wiki locally