I have asked this question on stack overflow but its probably better suited here.
So I have a Motorola MC3190 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 a registry file that I have created.
I have used this registry file below to get close to what I require.
REG 1
REGEDIT4
[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"
"ServerRole" = dword:0
"Trustlocalclock" = dword:0
"Dll"="timesvc.dll"
"Keep"=dword:1
"Prefix"="NTP"
"Index"=dword:0
[HKEY_LOCAL_MACHINE\nls]
"DefaultLCID" = dword:00000809
[HKEY_LOCAL_MACHINE\nls\overrides]
"LCID" = dword:00000809
[HKEY_LOCAL_MACHINE\Time]
@ = "UTC"
"TimeZoneInformation"=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\SOFTWARE\Microsoft\Clock]
"AutoDST" = dword:00000000
Now it gets the correct date and shows the time zone correctly however the time is always 5 hours behind on Eastern Standard Time, which is really annoying.
I have researched heavily into this and this question has been asked before here
As you will see I have copied what it suggests but it doesnt work.
Something is overiding the time which I dont understand enough about to resolve.
I cannot find any other setting to get it to set the time correctly.
Any help would be greatly appreciated.