Windows CE 6.0 注册表中的时间设置

问题描述 投票:0回答:1

所以我有一台配备 Windows CE 6.0 的 Motorola MC3100 移动条形码扫描设备。

现在我想让设备在启动时使用我创建的一些注册表文件与我们的域控制器同步其日期/时间。

我使用了下面这 2 个注册表文件来接近我的要求。


注册1

[HKEY_LOCAL_MACHINE\Services\TIMESVC]
"UserProcGroup"=dword:00000002
"Flags"=dword:00000010
"multicastperiod"=dword:36EE80
"threshold"=dword:5265C00
"recoveryrefresh"=dword:36EE80
"refresh"=dword:5265C00
"Context"=dword:0
"Autoupdate" = dword:1 
"server" = "NAMEOFMYSERVER" (obviously I have the real name in the actual reg file)
"ServerRole" = dword:0
"Trustlocalclock" = dword:0 
"Dll"="timesvc.dll"
"Order"=dword:0000000b
"Keep"=dword:1
"Prefix"="NTP"
"Index"=dword:0

注册2

[HKEY_LOCAL_MACHINE\Time]
@ = "UTC"
"TZI"=hex:\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
      00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00

[HKEY_LOCAL_MACHINE\Time Zones]
@ = "UTC"

[HKEY_LOCAL_MACHINE\Microsoft\Clock]
"AutoDST" =dword:0

现在它获得了正确的日期并正确显示了时区,但是时间总是比太平洋标准时间晚 5 小时,这真的很烦人。

我找不到任何其他设置来让它正确设置时间。

任何帮助将不胜感激。

timezone registry windows-ce
1个回答
0
投票

我要刺一下......

HKEY_LOCAL_MACHINE\时区] @ =“UTC”<---- this value will need to be changed to what ever word it requires UTC would be GMT: Greenwich Mean Time possibly set the time manually to what ever and check what word gets filled in then copy it to your reg file?

© www.soinside.com 2019 - 2024. All rights reserved.