Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save gregjhogan/4a83c087af0a54a9a600187b79a39d7f to your computer and use it in GitHub Desktop.
Save gregjhogan/4a83c087af0a54a9a600187b79a39d7f to your computer and use it in GitHub Desktop.
Windows VM disable the VM IC Time Synchronization Provider
Set-ItemProperty -Path HKLM:\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider -Name Enabled -Value 0
Restart-Service "Windows Time"
# check if domain controller is being used for time
# (you don't want to see VM IC Time Synchronization Provider as the source)
w32tm /query /source
w32tm /query /status
@Jenie101
Copy link

Jenie101 commented Jan 5, 2023

I am seeing VM IC Time Synchronization Provider as the source. Please, what do I do from here? Thank you

@JRivett-ITSG
Copy link

@Jenie101 - I use this to change the time source:
w32tm /config /syncfromflags:domhier
You can also use the /manualpeerlist to specify which NTP servers you want to use.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment