지식

Window Server를 NTP 서버로 설정하기

깜자왕 2024. 2. 20. 16:32
반응형

 

 

 

Step 2: Go to the NtpServer Path

Follow the following Registry tree to arrive where our target configuration lies. Computer>HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>W32Time>TimeProviders>NtpServer.

The image below shows us at the end of the tree. As you can see, the right pane has files which are what as are looking for.

Step 3: Enable NtpServer

Double click on “Enabled” file which will open a small window. On the window, there is a part called “Value data”. Change the value from 0 to 1 as illustrated below. Click “OK” after changing.

Step 4: Make the AnnounceFlags 5

 

Within this path: Computer>HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>W32Time>, go into “Config”, that is: Computer>HKEY_LOCAL_MACHINE>SYSTEM>CurrentControlSet>Services>W32Time>Config.

 

 

While there, you will see a file named “AnnounceFlags” on the right pane as shown above. As you can guess, double click on it. That will open a small window similar to the one in Step 3. Under “Value data“, change the value from a to 5.

From Microsoft, the following are the description of all available AnnounceFlags:

 

Entry controls whether this computer is marked as a reliable time server. A computer is not marked as reliable unless it is also marked as a time server.

  • 0x00 Not a time server
  • 0x01 Always time server
  • 0x02 Automatic time server
  • 0x04 Always reliable time server
  • 0x08 Automatic reliable time server
    The default value for domain members is 10. The default value for stand-alone clients and servers is 10.

Step 5: Restart NtpServer

Open up “Services” by hitting on the Windows key and searching for Services. Once open, look for “Windows Time”. Right-click on it and click on “Restart

Step 6: Open UDP port 123 in Firewall

 

For this, follow How To open a port in Windows Server Firewall guide. Remember that this port is UDP and not TCP.

 

 

 

'지식' 카테고리의 다른 글

ESXi Keyerror  (0) 2024.02.20
ESXi 업그레이드, vib install Command  (0) 2024.02.20
Dump 추출 / 케이스 오픈  (0) 2024.02.20
vCenter, ESXi 업그레이드 이슈  (0) 2024.02.20
VMware PowerCLI 설치  (0) 2023.12.28