Skip to content

Instantly share code, notes, and snippets.

@tankmek
Created March 1, 2018 02:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tankmek/c51f3df895c556686dce4a73b0178df1 to your computer and use it in GitHub Desktop.
Save tankmek/c51f3df895c556686dce4a73b0178df1 to your computer and use it in GitHub Desktop.
Snippets for managing a windows DC
# 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