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 /sourceIf the output says
Free-running System ClockorLocal CMOS Clock, the server is not using NTP. -
List NTP server list:
w32tm /query /peersIf 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 /sourceIf the output shows one of the servers in your peer list, the server is now using NTP.
Was this page helpful?