configureNTPdebug.cmd
10:35 PM@echo off:: ===================================================================================================:::: Name: configureNTP.cmd:: Description: Script that configures all existing domain controllers NTP settings:: Written By: Aslam Latheef:: Date: 1/31/2012:::: Script Usage: configureNTP.cmd:: Example: D:\Windows\Scripts\configureNTP.cmd:::::: *** Notes ***:::: 1) This script is only for domain controllers in the APPS & CUST domains:: 2) New domain controllers in new data centers need to be manually added here:: 3) ASHOPSAD01P and ASHOPSAD03P are the primary NTP/PDC Emulator servers located in ASH01 and have:: a different configuration to poll the OpSource NTP router as well as outside servers:: 4) For more information or help, please email wninobla@opsource.net:::::: Revision History:::: 1/31/2012 - Creation of script with new format:::: ===================================================================================================:: ===================================================================================================:::: *** WARNING - DO NOT MODIFY!!! ****:::: Please do not modify the code below this section as that can cause the script to fail or perform:: in an unintended manner. If you decide to anyways, do at your own risk.:::: ===================================================================================================:: Update server configurations for the domain controller enabling NTP debug loggingw32tm /debug /enable /file:D:\ntp.log /size:10240000 /entries:0-300w32tm /config /update:: Initiate initial sync with manual peer list (i.e. w32tm /query /peers)w32tm /resync /rediscover
0 comments