To configure Network Time Protocol (NTP) for Horizon DaaS, check the NTP configuration on Windows Server and make modifications as needed.
Procedure
- Open a command prompt.
- Check time sync:
w32tm /query /source
If the output says
Free-running System Clock
or
Local CMOS Clock
, the server is not using NTP.
- List NTP server list:
w32tm /query /peers
If the output shows that the peer list is empty and state
pending
, the server is not using NTP.
- Update the peer list:
w32tm /config /update /manualpeerlist:SPACE_LIMITED_NTP_SERVERS /syncfromflags:manual /reliable:yes
- Force sync:
w32tm /resync /rediscover
- Check if the server is now using NTP:
w32tm /query /source
If the output shows one of the servers in your peer list, the server is now using NTP.