Skip to content

Script Info: Test ExternalTimeSync

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

SYNOPSIS

Monitor AD External Time Sync

DESCRIPTION

This script monitors External NTP to the PDCE 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 compares it with all an External Time Source. 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:

17040 - Failure
17041 - Beginning of test
17042 - Testing individual systems
17043 - End of test
17044 - Alert Email Sent
17045 - Automated Repair Attempted

Currently Configured Output Options

Event Log
Email
Slack

NOTES

Authors: Mike Kanakos, Greg Onstot
Clone this wiki locally