Created
March 1, 2018 02:09
-
-
Save tankmek/c51f3df895c556686dce4a73b0178df1 to your computer and use it in GitHub Desktop.
Snippets for managing a windows DC
This file contains 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
# Settings up external NTP on DC | |
w32tm /query /source # If you get CMOS continue | |
net stop w32time | |
w32tm /config /syncfromflags:manual /manualpeerlist:”pool.ntp.org,0x1” | |
# Make your PDC a reliable time source for the clients. | |
w32tm /config /reliable:yes | |
net start w32time | |
# Wait a few minutes and it should update | |
w32tm /query /source # Validate |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment