Last active
May 21, 2018 12:25
-
-
Save robert-moses/6ee73c99bc6a48ff57480facc45483e9 to your computer and use it in GitHub Desktop.
Windows ntp - time shortcuts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #w32tm | |
| #On other DCs (not PDCe FSMO holder), servers and clients | |
| w32tm /config /syncfromflags:domhier /update | |
| # check configured status | |
| w32tm /query /status | |
| # Test Time Offset (in seconds) | |
| w32tm /stripchart /computer:us.pool.ntp.org /samples:10 /dataonly | |
| ## Use a GPO with WMI filter for PDCe FSMO role holder | |
| # Select * from Win32_ComputerSystem where DomainRole = 5 | |
| ## Use a seperate GPO if needed to enforce ntp time settings (and set them back correctly) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment