Re: Steve Maillet's FAQ for automating activesync

From: jeffs (anonymous_at_discussions.microsoft.com)
Date: 12/03/04


Date: Fri, 3 Dec 2004 15:22:24 -0800

Thanks Paul & Steve,

You are correct. Its quite a bit of stuff. For anyone
else doing this, I attached the result below:

Note quite sure what the first entry is doing there. I set
up a 38400 connection but the first entry shows a 19200. I
might presume I can eliminate this one and just keep the
"my connection" entry.

Thanks! -Jeff

[HKEY_CURRENT_USER\Comm]

[HKEY_CURRENT_USER\Comm\RasBook]

[HKEY_CURRENT_USER\Comm\RasBook\`Desktop @ 19200`]
"Entry"=hex:\
     
08,02,40,00,00,00,00,00,00,00,00,00,00,00,83,83,18,00,00,00,00,90,c4,03,00,\
     
90,c4,03,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,01,00,00,00,00,30,\
     
cb,83,c3,01,00,00,00,00,00,00,0c,00,00,00,01,00,00,00,cc,97,c4,03,c4,01,00,\
     
00,00,30,cb,83,03,00,00,00,35,00,00,00,01,00,00,00,1c,00,00,00,00,00,00,00,\
     
00,30,cb,83,35,00,00,00,e0,93,0e,80,46,bc,8b,63,01,00,00,00,6c,e0,04,10,6c,\
     
e0,04,10,d0,8c,3e,98,e0,93,0e,80,00,00,03,00,00,f0,c4,03,a8,be,80,83,cc,97,\
     
c4,03,80,b2,0e,80,00,90,c4,03,00,00,35,02,01,00,00,00,00,30,00,00,00,20,00,\
     
00,01,00,00,00,00,00,00,01,01,00,00,00,00,00,c0,03,04,00,00,00,01,00,00,00,\
     
cc,97,c4,03,40,17,c0,83,cc,97,c4,03,03,00,00,00,8c,bd,8b,83,00,00,c0,03,01,\
     
00,00,00,d4,e0,04,10,a0,10,40,98,80,af,0e,80,80,af,0e,80,80,af,0e,80,46,bc,\
     
8b,63,01,00,00,00,00,00,00,00,f4,e0,04,10,34,3d,3d,98,80,af,0e,80,01,00,00,\
     
00,01,00,00,00,09,00,00,00,01,00,00,00,e4,6f,82,83,64,37,a8,c0,00,00,00,00,\
     
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,01,00,00,00,64,00,69,00,72,\
     
00,65,00,63,00,74,00,00,00,00,00,d0,00,00,00,10,b7,05,08,00,30,cb,83,00,00,\
     
00,00,01,00,53,00,65,00,72,00,69,00,61,00,6c,00,20,00,43,00,61,00,62,00,6c,\
     
00,65,00,20,00,6f,00,6e,00,20,00,43,00,4f,00,4d,00,31,00,3a,00,00,00,cb,83,\
     
f0,b7,05,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,98,e1,04,10,70,\
     
1a,3a,98,00,00,00,00,cc,97,c4,03,46,bc,8b,63,01,00,00,00,a4,e3,04,10,a4,e3,\
     
04,10,00,00,00,00,07,00,00,00,b8,9c,86,83,01,00,00,00,e4,03,40,98,c8,e1,04,\
     
10,00,00,00,00,00,00,00,00,00,00,00,00,e4,03,40,98,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,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
     
00,00,00,00,00,00,cc,97,c4,03,04,00,00,00,00,00,00,00,00,00,00,00,01,00,00,\
     
00,00,00,00,00,08,00,00,00,00,00,00,00,1f,00,00,00,00,00,00,00,50,e2,04,10,\
     
00,00,00,00,00,00,00,00,03,00,00,00,00,00,04,10,dc,dc,f5,03,00,00,03,08,00,\
     
00,00,00,00,00,00,00,04,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,\
     
00,00,01,00,00,00,00,00,00,00,34,0d,bd,03,40,b5,05,00,18,c0,b9,03,40,b5,05,\
     
00,be,b6,05,00,74,cb,b9,03,14,e3,04,10,70,b6,05,00,0c,08,bd,03,78,b6,05,00,\
     
40,b5,05,00,b0,e2,04,10,98,98,39,98,b0,e2,04,10,47,00,00,00,cc,97,c4,03,08,\
     
00,00,00,00,00,e9,01,cc,97,c4,03,30,00,40,98,ab,ab,ab,ab,ab,ab,ab,ab,ab,ab,\
     
ab,ab,ab,ab,ab,ab,ab,ab,ab,ab,ab,ab,ab,ab,44,e4,04,10,08,e3,04,10,d4,e3,04,\
     
10,7c,01,40,98,e4,03,40,98,1f,00,00,80,08,e3,04,10,d0,cf,3f,98,a8,be,80,83,\
     
02,00,00,00,00,00,00,00,a8,be,80,83,01,00,00,00,cc,97,c4,03,00,00,00,00,28,\
     
cd,c3,03,10,0d,83,83,03,00,00,00,cc,97,c4,03,42,00,00,00,00,00,00,00,00,17,\
     
00,00,10,0d,83,83,03,00,00,00,00,d7,c3,03,00,00,00,00,00,00,00,00,30,03,00,\
     
80,18,0d,00,80,00,17,00,00,00,00,00,00,74,e3,04,10,c8,cb,3f,98,a8,be,80,83,\
     
00,c0,c3,03,1c,bf,80,83,03,00,00,00,06,00,00,00,00,00,00,00,a8,be,80,83,00,\
     
00,00,00,00,d7,c3,03,00,00,c0,03,1c,bf,80,83,00,d7,c3,03,00,00,00,00,42,00,\
     
00,00,ac,e3,04,10,fc,cd,3f,98,9d,7f,c7,83,e4,03,40,98,cc,97,c4,03,04,14,07,\
     
00,cc,97,c4,03,cc,97,c4,03,08,00,00,00,44,e4,04,10,e4,e4,04,10,30,00,40,98,\
     
ab,ab,ab,ab,74,04,40,98,3c,af,0e,80,94,98,c4,03,11,00,00,00,11,00,00,00,cc,\
     
97,c4,03,00,d7,c3,03,11,00,00,00,00,00,00,00,e4,e4,04,10,00,d7,c3,03,cc,97,\
     
c4,03,fc,e0,c6,83,cc,97,c4,03,01,00,00,00,cc,97,c4,03,a0,10,40,98,cc,97,c4,\
     
03,02,00,0e,80,28,e4,04,10,20,d3,3d,98,a8,be,80,83,01,00,00,00,18,77,c0,03,\
     
00,00,00,00,02,00,40,98,00,b1,0e,80,00,b1,0e,80,00,b1,0e,80,46,bc,8b,63,01,\
      00,00,00,5c,e4,04,10,00,00,00,00

[HKEY_CURRENT_USER\Comm\RasBook\My Connection]
"DevCfg"=hex:\
     
10,00,00,00,05,00,00,00,10,01,00,00,00,96,00,00,00,00,08,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,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,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,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,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,00,00,00,00,00,00,00,00,00,00,00,\
      00,00
"Entry"=hex:\
     
08,02,40,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,10,2c,5e,00,01,\
     
00,00,00,01,05,00,00,ff,ff,00,00,00,00,00,00,01,00,00,00,10,2c,5e,00,01,00,\
     
00,00,01,00,00,00,bc,e3,04,10,15,00,00,00,0c,dd,04,10,01,00,00,00,b8,dc,04,\
     
10,58,89,03,00,20,b3,1c,0a,b8,dc,04,10,ac,8b,03,00,c8,dc,04,10,2a,29,05,10,\
     
00,00,00,00,00,00,00,00,40,9a,ec,01,00,00,00,00,00,00,a6,46,20,b3,1c,0a,20,\
     
b3,1c,0a,00,00,00,00,15,00,00,00,38,7e,44,02,00,00,00,00,f4,dc,04,10,00,00,\
     
00,00,02,00,00,00,d0,b0,43,02,38,51,83,83,ff,ff,ff,ff,ff,ff,ff,ff,00,00,00,\
     
00,00,00,00,00,00,00,00,00,15,00,00,00,00,00,00,00,ff,ff,ff,ff,00,00,00,00,\
     
e0,60,3c,98,00,00,00,00,34,dd,04,10,00,00,00,00,81,00,00,00,00,00,00,00,20,\
     
b3,1c,0a,01,00,00,00,00,00,ff,ff,88,2f,05,00,81,00,00,00,01,00,00,00,90,1c,\
     
5e,0a,00,00,00,00,45,01,00,00,c9,01,00,00,5d,01,00,00,20,b3,1c,0a,01,00,00,\
     
00,c4,b9,f3,03,0c,dd,04,10,15,00,00,00,01,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,01,00,00,00,64,00,69,00,72,\
     
00,65,00,63,00,74,00,00,00,04,10,b0,a0,03,00,b4,dd,04,10,00,00,00,00,00,00,\
     
00,00,15,00,53,00,65,00,72,00,69,00,61,00,6c,00,20,00,43,00,61,00,62,00,6c,\
     
00,65,00,20,00,6f,00,6e,00,20,00,43,00,4f,00,4d,00,31,00,3a,00,00,00,00,00,\
     
15,00,00,00,e8,99,0e,80,00,00,00,00,0c,de,04,10,60,c5,0f,00,10,2c,5e,00,89,\
     
01,00,00,00,00,00,00,2a,29,05,10,00,00,00,00,00,00,00,00,15,00,00,00,2a,29,\
     
05,10,15,00,00,00,00,00,00,00,15,00,00,00,15,00,00,00,90,47,f4,03,2a,29,05,\
     
10,2a,29,05,10,50,de,04,10,34,97,0f,00,b0,2b,5e,00,81,00,00,00,2a,29,05,10,\
     
00,00,00,00,58,01,00,00,c5,01,00,00,59,01,00,00,2a,29,05,10,2a,29,05,10,00,\
     
00,00,00,38,51,83,83,ff,ff,ff,ff,ff,ff,ff,ff,b0,2b,5e,00,00,00,00,00,88,de,\
     
04,10,e4,51,f4,03,28,52,f4,03,f6,02,86,63,ff,ff,ff,ff,e0,60,3c,98,ff,ff,ff,\
     
ff,a4,de,04,10,48,b9,f3,03,81,00,00,00,f0,1f,05,00,20,00,5d,0a,81,00,00,00,\
     
24,b7,1c,0a,f0,1f,05,00,81,00,00,00,00,00,ff,ff,20,00,5d,0a,e0,60,3c,98,ff,\
     
ff,ff,ff,c0,0f,05,00,00,00,00,00,74,e0,04,10,f0,e0,04,10,90,17,e3,03,00,00,\
     
00,00,88,2f,05,00,0a,00,00,00,f6,02,86,63,15,00,00,00,01,00,00,00,01,00,00,\
     
00,00,00,00,00,b0,2b,5e,00,f6,02,86,63,2a,29,05,10,18,df,04,10,f6,02,86,63,\
     
0c,00,00,00,24,df,04,10,00,00,00,00,15,00,00,00,f6,02,86,63,f6,02,86,63,d4,\
     
3a,3c,98,f6,02,86,63,40,df,04,10,1c,54,08,00,2a,29,05,10,00,00,00,00,2e,57,\
     
b6,a3,f6,02,86,63,f6,02,86,63,a0,6a,f4,03,00,00,00,00,01,00,00,00,f6,02,86,\
     
63,f6,02,86,63,2e,57,b6,a3,74,df,04,10,00,2e,09,00,00,ff,04,10,20,b3,1c,0a,\
     
20,b3,1c,0a,40,dd,16,00,46,bc,8b,63,01,00,00,00,01,00,00,00,00,00,00,00,9c,\
     
df,04,10,dc,06,03,00,00,00,00,00,20,b3,1c,0a,ac,df,04,10,cc,52,08,00,bc,df,\
     
04,10,d8,df,04,10,cc,df,04,10,00,00,00,00,00,df,04,10,00,00,00,00,dc,91,0f,\
     
00,2e,57,b6,a3,d0,28,5e,00,00,00,00,00,2a,29,05,10,15,00,00,00,00,00,00,00,\
     
2a,29,05,10,20,b3,1c,0a,15,00,00,00,00,00,00,00,d0,28,5e,00,01,00,00,00,01,\
     
00,00,00,dc,df,04,10,01,dd,16,00,01,00,00,00,d0,28,5e,00,01,00,00,00,01,00,\
     
00,00,01,00,00,00,15,00,00,00,8c,e0,04,10,01,00,00,00,38,e0,04,10,58,89,03,\
     
00,20,b3,1c,0a,38,e0,04,10,ac,8b,03,00,48,e0,04,10,2a,29,05,10,00,00,00,00,\
     
00,00,00,00,d8,65,0c,80,e8,99,0e,80,10,ce,bc,83,e8,99,0e,80,02,00,00,00,00,\
     
00,00,10,6c,e0,04,10,d0,d7,39,98,b8,9c,86,83,01,00,00,00,e8,99,0e,80,10,ce,\
     
bc,83,e8,99,0e,80,02,00,00,00,70,11,05,00,48,e1,04,10,2a,29,05,10,98,f1,bf,\
     
83,0f,00,00,00,00,00,00,00,10,ce,bc,83,b8,9c,86,83,81,00,00,00,2a,29,05,00,\
     
00,00,00,10,00,00,00,00,00,00,00,00,88,96,0e,80,00,00,00,00,70,60,bc,03,10,\
      ce,bc,83,00,00,00,00,00,00,00,00

>-----Original Message-----
>You don't want to do 'searches'. Capture the registry
using Remote Registry
>Editor when the OS boots with the default registry. Then,
manually, set up
>ActiveSync's network connection and select that connectoid
with the PC
>Connection applet. Then, capture the registry again. Use
a differencing
>program to compare the two. Add anything missing from the
first that
>appears in the second to your platform.reg file and I bet
it all works...
>
>Paul T.
>
>"jeffs" <anonymous@discussions.microsoft.com> wrote in
message
>news:065301c4d98a$6a45cc90$a501280a@phx.gbl...
>> Hi Paul,
>>
>> I have searched for COM, SERIAL, 38400 & 384. COM & SERIAL
>> bring up several entries. These entries are unchanged
>> before & after adding the connectoid so I cannot locate the
>> registry changes for adding it automatically. Surely there
>> must be someone that has set up automatic activesync that
>> knows how to do this.
>>
>> Thanks again for any help!
>>
>> jeffs
>>
>>
>>>-----Original Message-----
>>>You'll have to use Remote Registry Editor to capture
>> before and after images
>>>of the registry and see what you get. That's one of those
>>>I-know-it-should-be-documented-somewhere-but-I've-never-seen-it
>> items.
>>>
>>>Paul T.
>>>
>>>"jeffs" <anonymous@discussions.microsoft.com> wrote in
>> message
>>>news:116201c4d97c$4aed1500$a401280a@phx.gbl...
>>>> Hi Paul,
>>>>
>>>> Thanks very much for the detailed reply. Yes it works
>>>> manually and yes I normally have to set up a serial port.
>>>> You are correct. I am missing this step. What are the
>>>> proper entries for the registry to automate setting up a
>>>> connectoid?
>>>>
>>>> Thanks! -Jeffs
>>>>
>>>>
>>>>>-----Original Message-----
>>>>>Well, your message seemed pretty detailed, right up until,
>>>> "...I can not get
>>>>>this to work." So what happens? Repllog doesn't start?
>>>> The connection is
>>>>>not established? If repllog starts and no connection
>>>> occurs, does the
>>>>>ActiveSync system tray icon on the PC turn green or not?
>>>>>
>>>>>Probably, you don't have a valid communication channel
>>>> defined. Normally,
>>>>>you have to go into the Network and DialUp Connections
>>>> applet and create a
>>>>>connectoid with the right serial port, baud rate, etc.
>>>> defined. Then you
>>>>>have to go to the Control Panel PC Connection applet and
>>>> select that
>>>>>connectoid. In order to automate all this, you have to
>>>> take those steps and
>>>>>put the right registry entries in your platform from the
>>>> start.
>>>>>
>>>>>You also have to use the right cable. Will everything
>>>> work if you do it
>>>>>manually?
>>>>>
>>>>>Paul T.
>>>>>
>>>>>"jeffs" <anonymous@discussions.microsoft.com> wrote in
>>>> message
>>>>>news:05d101c4d978$9d9e59c0$a501280a@phx.gbl...
>>>>>> Hello,
>>>>>>
>>>>>> This message is for Steve Maillet or anyone else who has
>>>>>> had this problem. I am trying to automate
activesync on a
>>>>>> PXA255 platform with winCE 4.2:
>>>>>>
>>>>>> (1) The serial driver sends the message
>>>>>> "NOTIFICATION_EVENT_RS232_DETECTED" is OK.
>>>>>>
>>>>>> (2) The "platform.db" file has an entry to pick up this
>>>>>> event and launch repllog:
>>>>>>
>>>>>> Database: "DB_notify_events" : 0 : 1 : 0001001F : 0
>>>>>> ; 0001001F - PROPIDR_NAME
>>>>>> ; 0002001F - PROPIDR_CMDLINE
>>>>>> ; 00030013 - PROPIDR_EVENT
>>>>>> Record :
>>>>>> Field : 0001001F : "repllog.exe"
>>>>>> Field : 0002001F : "AppRunAtRs232Detect"
>>>>>> Field : 00030013 : 9
>>>>>> End
>>>>>>
>>>>>> I must still be missing a step somewhere because I
can not
>>>>>> get this to work. I saw on several earlier posts that
>>>>>> Steve's old web site had a FAQ that goes over this. Is
>>>>>> this still available anywhere?
>>>>>>
>>>>>> Thanks very much in advance,
>>>>>>
>>>>>> -Jeffs
>>>>>>
>>>>>
>>>>>
>>>>>.
>>>>>
>>>
>>>
>>>.
>>>
>
>
>.
>



Relevant Pages

  • Re: Steve Maillets FAQ for automating activesync
    ... Note quite sure what the first entry is doing there. ... up a 38400 connection but the first entry shows a 19200. ... using Remote Registry ... >Paul T. ...
    (microsoft.public.windowsce.platbuilder)
  • RE: Windows 2000 RRAS and ipSEC /L2TP VPN
    ... How to Configure a L2TP/IPSec Connection Using Pre-shared Key Authentication ... This article contains information about modifying the registry. ... , Windows 2000 is compliant with IKE RFC ...
    (microsoft.public.win2000.networking)
  • Re: Clients not able to ftp
    ... I already have a EnableRSS record in my registry. ... FTP site from command line but cannot access it from IE after you install ... for the connection and the hardware hash code for the connection do not ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)
  • RE: Problems to create a new internet conection
    ... You Cannot Create a Network Connection After You Restore Windows XP ... This article contains information about modifying the registry. ... You cannot create a remote access or Dial-Up Networking connection. ...
    (microsoft.public.windowsxp.help_and_support)
  • Java Web Services issue
    ... When I attempt to publish into the registry, ... Created connection to registry ... Found classification ... Exception exception = null; ...
    (comp.lang.java.programmer)