Debug NTP Server Windows Nano Server 2016

Yesterday I configured my Nano Server with a new NTP Server configuration and today I’ll enable NTP debugging that will show me If my NTP Server Is working correctly.

To enable debug on my NTP Server I type the line below which will create a log file on the C:\ Drive called NTP.log with a 20MB size.

w32tm /debug /enable /file:C:\NTP.log /size:20000000 /entries:0-300

Next, I will restart the NTP service and update the configuration.

Stop-service w32time

Start-service w32time

W32tm /config /update

Once enabled the log looks like the below example

To disable NTP debugging I run the line below:

W32tm /debug /disable