注册表中的 Windows CE 6.0 时间设置 [英] Windows CE 6.0 time setting in registry
问题描述
所以我有一台带有 Windows CE 6.0 的摩托罗拉 MC3100 移动条码扫描设备.
So I have a Motorola MC3100 Mobile Barcode scanning device with Windows CE 6.0.
现在我想让设备使用我创建的一些注册表文件在启动时与我们的域控制器同步其日期/时间.
Now I want to get the device to sync its date/time on boot up with our domain controller using some registry files that I have created.
我使用下面的这 2 个注册表文件来接近我所需要的.
I have used these 2 registry files below to get close to what I require.
注册 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 小时,这真的很烦人.
Now it gets the correct date and shows the time zone correctly however the time is always 5 hours behind on Pacific Standard Time, which is really annoying.
我找不到任何其他设置来让它正确设置时间.
I cannot find any other setting to get it to set the time correctly.
任何帮助将不胜感激.
推荐答案
我要去刺....
HKEY_LOCAL_MACHINE\时区]@ = "UTC" <---- 此值需要更改为它需要的任何单词 UTC 将是 GMT:格林威治标准时间可能手动将时间设置为什么,并检查填写了哪些单词,然后将其复制到您的 reg 文件中?
HKEY_LOCAL_MACHINE\Time Zones] @ = "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?
这篇关于注册表中的 Windows CE 6.0 时间设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!