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

标签 timezone registry windows-ce

我有一台运行 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/

相关文章:

database - 错误 : invalid value for parameter "TimeZone": "Canada/East-Saskatchewan"

android - 更新安卓时区数据

.net - 如何使用 LINQ 获取集合中的项目数

ssl - Windows CE 上 SSL 的 Padarn 要求

python - 更改spark中的时间戳TZ

javascript - 将 jquery-ui-timepicker.js 的 'Now' 按钮设置为 UTC 时区

windows - 注册表项和值名称的有效字符是什么?

scripting - 如何使用 Inno Setup 根据注册表项选择性地在文件夹中安装插件/文件?

windows - 使用 .reg 文件将字符串值添加到注册表时出现问题

crash - 应用程序崩溃时,没有致命异常的迹象NLog版本2 |紧凑框架3.5