title: Windows CE 6.0 time setting in registry
body: <p>So I have a Motorola MC3100 Mobile Barcode scanning device with Windows CE 6.0.</p>
  
  <p>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.</p>
  
  <p>I have used these 2 registry files below to get close to what I require.</p>
  
  <hr>
  
  <p>REG 1</p>
  
  <pre><code>[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
  </code></pre>
  
  <p>Reg 2</p>
  
  <pre><code>[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
  </code></pre>
  
  <hr>
  
  <p>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.</p>
  
  <p>I cannot find any other setting to get it to set the time correctly.</p>
  
  <p>Any help would be greatly appreciated.</p>