我有一台运行 Windows CE 6.0 的 Motorola MC3100 移动条形码扫描设备。
现在我想让设备在启动时使用我创建的一些注册表文件与我们的域 Controller 同步其日期/时间。
我使用了下面这 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 小时,这真的很烦人。
我找不到任何其他设置来让它正确设置时间。
任何帮助将不胜感激。
最佳答案
我要刺一下......
HKEY_LOCAL_MACHINE\时区] @ = "UTC"<---- 该值需要更改为它需要的任何单词 UTC 将是 GMT:格林威治标准时间 是否可以手动将时间设置为任何时间并检查填写的单词然后将其复制到您的注册表文件中?
关于timezone - Windows CE 6.0 注册表中的时间设置,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15243805/