Skip to content

Instantly share code, notes, and snippets.

@HiteaFR
Created September 26, 2023 20:13
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 HiteaFR/8b13848c1e1b10f66414f26bfe712e2d to your computer and use it in GitHub Desktop.
Save HiteaFR/8b13848c1e1b10f66414f26bfe712e2d to your computer and use it in GitHub Desktop.
Configurer le NTP d'un contrôleur de domaine
#For DC on Hyper-V, Disable the TimeSync service.
#On DC
w32tm /config /update /manualpeerlist:"time.windows.com,0x8" /syncfromflags:MANUAL
Restart-Service w32time
#Verify on DC and Computer
w32tm /query /source
w32tm /resync
w32tm /query /status
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment