- Open the local Group Policy Editor (
gpedit.msc
) - Navigate to
Administrative templates
->System
->Windows Time Service
->Time Providers
- Open
Enable Windows NTP Server
, then selectEnabled
and clickOK
- Navigate back to the
Windows Time Service
window - Open
Global Configuration Settings
, then selectEnabled
- Review the Windows Time Service docs and update settings, then click
OK
- Validate and update any Windows Firewall settings, if needed
- To add a new rule, issue the following command in an administrative PowerShell console:
New-NetFirewallRule -DisplayName "NTP Server UDP 123" -Direction Inbound -LocalPort 123 -Protocol UDP -Action Allow -RemoteAddress LocalSubnet
- In an administrative PowerShell console, issue:
Start-Service w32time