Things used in this project

Hardware components:
Pi 3 02
Raspberry Pi 3 Model B
×1
Software apps and online services:
10
Microsoft Windows 10 IoT Core

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 TimezonePowershell
# Set TimeZone to Western Europe Standard Time

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

Credits

D7b5396abfd1594006ee8cfa79d5c098
Dieter
3 projects • 0 followers
Contact

Comments

Add projectSign up / Login