Dieter
Published

Windows 10 IoT Time Service Coniguration on RaspberryPi 3

How to set timeserver and timezone on Windows 10 IoT on Raspberry Pi 3

BeginnerProtip15 minutes2,526
Windows 10 IoT Time Service Coniguration on RaspberryPi 3

Things used in this project

Story

Read more

Code

Configure Time Service w32time (w32tm.exe)

Powershell
As with other Windows systems, a NTP (Network Time Protocol) server can also be set as a time source with Windows 10 IoT Core.
The device queries the current time from this NTP server and adapts itself if necessary.
The settings for the time server and client are stored in the registry.
Here is a little tutorial on how to query and change the affected entries and how to enter an external time server.
# show configuration

w32tm /query /configuration

# set logging

w32tm /debug /enable /file:D:\w32tm.log /size:1000000 /entries:0-300

# query settings

reg.exe query "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\W32Time\Parameters\"

# set time server (for example de.pool.ntp.org)

w32tm /config /manualpeerlist:de.pool.ntp.org

# restart time service

net stop w32time
net start w32time

Set Timezone

Powershell
# Set TimeZone to Western Europe Standard Time

Set-TimeZone -Name "W. Europe Standard Time"

Credits

Dieter

Dieter

3 projects • 0 followers

Comments