Configure Windows NTP Client: registry value NtpServer and 1 more (Parameters)ComputerHKLM\Software\Policies\Microsoft\W32time\Parameters
- Policy ID
- W32TIME_POLICY_CONFIGURE_NTPCLIENT
- Scope
- Computer Configuration
- Supported on
- At least Windows Server 2003 operating systems or Windows XP Professional
- Source
- Administrative Templates (.admx) for Windows 11 2026 Update (26H2) (version 1.0)
- Category
- System › Windows Time Service › Time Providers
Registry
NtpServer
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- NtpServer
- Value type
- REG_SZ
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\Parameters] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "NtpServer"="<enter value>"
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\W32time\Parameters" /v "NtpServer" /t REG_SZ /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Name 'NtpServer' -PropertyType String -Value '<enter value>' -Force | Out-Null
Type
REG_SZComputer- Enabled value
- Depends on the option value
- Element
- Type
| Item | Stored value |
|---|---|
| NoSync | NoSync |
| NTP | NTP |
| NT5DS | NT5DS |
| AllSync | AllSync |
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\Parameters] ; Options (use only one) ; NoSync "Type"="NoSync" ; NTP "Type"="NTP" ; NT5DS "Type"="NT5DS" ; AllSync "Type"="AllSync"
CMD
:: Options (use only one) :: NoSync reg add "HKLM\Software\Policies\Microsoft\W32time\Parameters" /v "Type" /t REG_SZ /d "NoSync" /f :: NTP reg add "HKLM\Software\Policies\Microsoft\W32time\Parameters" /v "Type" /t REG_SZ /d "NTP" /f :: NT5DS reg add "HKLM\Software\Policies\Microsoft\W32time\Parameters" /v "Type" /t REG_SZ /d "NT5DS" /f :: AllSync reg add "HKLM\Software\Policies\Microsoft\W32time\Parameters" /v "Type" /t REG_SZ /d "AllSync" /f
PowerShell
# Common: create the key New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Force | Out-Null # Options (use only one) # NoSync New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Name 'Type' -PropertyType String -Value 'NoSync' -Force | Out-Null # NTP New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Name 'Type' -PropertyType String -Value 'NTP' -Force | Out-Null # NT5DS New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Name 'Type' -PropertyType String -Value 'NT5DS' -Force | Out-Null # AllSync New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\Parameters' -Name 'Type' -PropertyType String -Value 'AllSync' -Force | Out-Null
CrossSiteSyncFlags
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- CrossSiteSyncFlags
- Value type
- REG_DWORD
- Maximum value
- 2
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "CrossSiteSyncFlags"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient" /v "CrossSiteSyncFlags" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Name 'CrossSiteSyncFlags' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
ResolvePeerBackoffMinutes
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- ResolvePeerBackoffMinutes
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "ResolvePeerBackoffMinutes"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient" /v "ResolvePeerBackoffMinutes" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Name 'ResolvePeerBackoffMinutes' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
ResolvePeerBackoffMaxTimes
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- ResolvePeerBackoffMaxTimes
- Value type
- REG_DWORD
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "ResolvePeerBackoffMaxTimes"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient" /v "ResolvePeerBackoffMaxTimes" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Name 'ResolvePeerBackoffMaxTimes' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
SpecialPollInterval
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- SpecialPollInterval
- Value type
- REG_DWORD
- Maximum value
- 131072
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "SpecialPollInterval"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient" /v "SpecialPollInterval" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Name 'SpecialPollInterval' -PropertyType DWord -Value '<enter value>' -Force | Out-Null
EventLogFlags
REG_DWORDComputer- Enabled value
- Depends on the option value
- Element
- EventLogFlags
- Value type
- REG_DWORD
- Maximum value
- 3
Apply with .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient] ; Value names and types follow the ADMX. Replace <enter value> below with your own data "EventLogFlags"=dword:<enter value>
CMD
:: Value names and types follow the ADMX. Replace <enter value> below with your own data reg add "HKLM\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient" /v "EventLogFlags" /t REG_DWORD /d "<enter value>" /f
PowerShell
# Value names and types follow the ADMX. Replace <enter value> below with your own data New-Item -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Force | Out-Null New-ItemProperty -Path 'HKLM:\Software\Policies\Microsoft\W32time\TimeProviders\NtpClient' -Name 'EventLogFlags' -PropertyType DWord -Value '<enter value>' -Force | Out-Null