How To Use Windows 7 As SNTP Timeserver

Modified on Sun, 11 May, 2025 at 10:33 PM

Introduction

Many Omron PLC's with Ethernet supports auto adjustment of the clock by using SNTP. This requires a computer with a running NTP Server. In Windows 7, the NTP Server uses a "Authoritative Time Server", which requires authentication.

Solution

The NTP server needs to be enabled without using "Authoritative Time Server" in order to work without authentication. Follow these steps to properly setup the server:

  • Open a CommandPrompt as Administrator.
  • Run the command "regedit"
  • Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\Config\AnnounceFlags to "5"
  • Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\NtpServer\Enabled to "1"
  • Change HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W32Time\TimeProviders\VMICTimeProvider\Enabled to "0"
  • Close regedit.
  • Run the command "net stop w32time"
  • Run the command "net start w32time"
  • Close the CommandPrompt. 

More info on the windows timer server can be found at microsoft : http://technet.microsoft.com/en-us/library/cc773061(v=ws.10).aspx

 

 

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article