Repllog / ActiveSync parameters - Windows Mobile Development and Hacking General

Hi,
I'm looking for a one-button solution to start a bluetooh connection and sync with ActiveSync. If any one knows a working solution please let me know.
So far I'm able to start the bluetooth connection (using MortScript) and get a workig tcpip connection. But because ActiveSync didn't start the connection it refuses to sync with the local Outlook, it will only sync the Exchange server account.
Maybe I can solve this by starting repllog with the right parameters but I can't find any info on it. Anyone know the parameters or know where I can find info on it?
TIA, cheers,
Cacti

Try VJBlueSync: http://www.vijay555.com/?Releases:VJBlueSync

Nah, don't try my app, it's crap. I was investigating a better mechanism yesterday, check out repplog.exe /remote I think.
I haven't made much progress yet, I got distracted by Call of duty, but I'll continue. let me know how you get on though.
V

Thanks,
But VJBlueSync only works on WM2003 (forgot to mention I was looking for a solution on WM5).
I tried /remote, /sched and /h and various combinations of them but all to no avail...
Cheers,
Cacti

Never mind, it got it...
Needed to set the Cradled registry key for AS to understand it could do a full sync.
/me thanks SKTracker
Cheers,
Cacti

le_cactus said:
Never mind, it got it...
Click to expand...
Click to collapse
Please mind, ain´t got all of it.
I´d really appreciate, if anyone could list the paramaters of repllog.exe or point us to them. Tmail.exe would be nice too. :?:
p.e., what does /p:all exactly do to repllog?
Thx!!

Related

ActiveSync Auto Starts By Itself in Running Programs

Hi Guys
I have the JJ working well, and I have always seemed to have this problem, but the ActiveSync always just starts up by itself without being connected or requested to.
I have read a few forums on this but nothing really helped. My original thought was SPB Weather wanting to auto update, but any changes to these settings didnt help.
I have done a full hard reset today, and keeped the apps pretty straight forward, ie the SPB suite (PP, Diary, Play, Weather, GPRS), and Resco (Explorer, Audio, Radio, Photo). Switched to MSVC rather than the original phone dialler. The rest is pretty much as it has come.
I havent done any registry hacks yet as I thought I would test a clean run on this to see how it goes.
I have read that ActiveSync is a big drain on the memory, and never likes to give all the memory back from what it needs when starting up, so every time I kill it in running programs, it comes back. I get about 600kb every time I kill it, but I am sure it takes more than that to run and start it.
Anyway, any ideas as to what might be causing it to startup by iteslf would be great. Further ideas on how to stop it from automatically starting would be wonderful.
activesync autostart
doesnt anybody have any comments or feedback as to their experiences with activesync auto starting of it own accord? it constantly needs to be shut down from running programs.
Does it happen to you? does it not happen to you? do you know what the cause is? do you know how to fix it?
anybody?
Simon, I have no major issues with activesync running.
Are you saying that AS is popping up even from hard reset?
Ensure that you're not running an RSS reader etc, I use Newsbreak and it loves to try to connect up to the 'net.
It seems that it is likely to be the weather, or possibly gprs prog, that is requesting access to a net connection. Try disabling the weather app completely. I use weather panel, and it took some arm twisting to get it to stop automatically seeking out a net connection.
Worst case, set up a spoof or dummy network connection that is unable to connect to the net. Set this as your default connection when you're offline, and then any progs trying to access the net will be thwarted. This solution at least works perfectly for me with Newsbreak for reading the news "offline".
V
I had the same problem with my JJ and I found a setting ("Schedule") in AS on the JJ that allowed me to set the syn to "Manual". Funny, I've not this problem on my Exec.
hi
this happens as AS is by default required to connect to server automatically at a given interval
inorder to get rid of this...go into AS and create a fake server (put any values) then after creating it..reclick options and go into schedule and change the settings to manual sync and check the roam box aswell
tht shod take care of it
Thanks zohaer21 and jah
I will let you know how it goes, it was more frustrating than anything, not sure if it is the cause of my memory drain. I knew of sync manually option somewhere from my 2003 days, but since I didnt setup a sync with a server connection, the ability to set a schedule was always greyed out.
I'll see how long it takes, if at all before it pops up again.
Cheers
Simon
I have the same problem... AS starts without been requested...
simon_darley says, I will let you know how it goes..
Click to expand...
Click to collapse
Any feedback on zohaer21 and jah procedure?
_________________
BetoX
iMate JASJAR
ROM Version: 1.13.53 WWE
ROM Date: 23-09-2005
Radio version: 1.04.02 (AFTER MANUAL UPDATE)
Protocol Version: 42.36.P8
ExtROM version: 1.13.137 WWE (installed manually using Total Commander)
@Betox, from what I remember you need to be linked via AS to your PC/laptop and then from either the JJ or the PC you should be able to change the Schedule to "manual".
JJ & AS
worked perfectly thanks people for your help.
create the dummy server sync, set the sync connections to manual.
delete the server sync.
havent seen head nor tail of activesync since.
Cheers
Simon

ActiveSync 4.1 with Win2K

Hi
I have a KJam and I am trying to sync it at work. I downloaded AS 4.1 on my Win2K pc but it keeps giving me the Retrieving Settings message for ever. I dont think there is firewall on the pc and I need some help to get it running
Thanks a lot
any help guys, still have the problem
XP Needed
i think you have to use microsoft windows xp to sync your wizard.
So no luck with Win2K, I thought that people can do it with Win2000 and aslo from Microsoft Site AS seems to be working on 2000
Thats really bad
Me too
I also have this problem with one Wizard - my wife also has a Wizard, exactly the same which has no problem syncing to the same PC. I get the same message you get " retrieving settings" which hangs for ever until I disconnect. I'm on W2k.
Did you find and answer? It's obviously not a W2k issue if one Wizard can sync.
No I cant still sync with WIN2K, someone suggested that you do hard reset and it should work. I tried on mine and still didnt work
A random guess- applied SP4? Also which firmware version you are using?
Finally I have it working!
William - Yes, I'm on SP4
Akronica - I've finally managed to get both Wizards sync'ed. Here's what I had to do. Firstly, I'm using Sygate Personal Firewall, so I follwed the directions via the link here to set up the advanced rules. See http://www.pocketpcfaq.com/faqs/activesync/tshoot-as4x.htm This also might be useful to you for troubleshooting.
Then I added/altered 3 registry settings in my PPC (as also mentioned in the above link) using a freeware called "PHM Regedit". I downloaded the PHM Regedit from here:
http://www.pocketpcfreewares.com/en/index.php?soft=31
Just a note: I obviously couldn't use the ActiveSync installer to get this product installed, so I copied the entire directory over to my phone (via mini SD card) and then tried to launch each file. The first few didn't install successfully, but I finally did get one to install OK. The file that worked for me was "regedit_Mrln_ARM.CAB".
So, after all that I connected up and as soon as the cable was in, I soft reset the PPC. Sure enough, it made a new connection via the connection wizard and off it went.
Another note: I also turned off any passwords on the PPC, just in case. I'll do some more playing and see if this makes any difference.
Hope this helps!
Rob
William Yeung said:
A random guess- applied SP4? Also which firmware version you are using?
Click to expand...
Click to collapse
Interesting
On mine it connects (win2k SP4), but drops the connection about 60s into sync.
:wink:
I've now confirmed that the passwords had no impact.
I don't have any problems with it dropping connection either.
Wow yeah, I've had absolutely no problems synching with my win2k sp4. hm.

Active Sync 4.1 and VPN - PLEASE HELP!!!!!

Hi All,
Same ole Active Sync Error message problems that others have complained about:
"Support Code 85010014"
I am using Active Sync 4.1 and Outlook 2003. I am using my company's laptop so uninstalling/installing Outlook was not an option. I do think the error is appearing b/c I am trying to sync while Outlook is off-line. Common sense says just put it on-line. Tried that! My Outlook will only work online when our VPN is connected but is appears that Active Sync and our VPN are not compatable. Connect device - VPN gets disconnected. Connect VPN - then device is no longer connected. Our VPN is by Nortel. Any suggestions??
HELP!!!!!
edit: added Active Sync version
bump....I really need help with this one. Without being able to sync with my Outlook it almost makes the device useles.... Thanks.
Hi,
Have you tried moving your storage to your computer? I did it on my corp laptop and I think it was part of the fix for me. I believe it is called remote store if you do a search in help you should find the directions. If not then post back and I will post the ones our it folks set out.
Or perhaps you need the usbswitch.exe program to change the connection to usb serial then it might not knock off your vpn connection.
Where else to try???
Ok...so I got it that no one can figure out a solution to this problem. Can someone please suggest some place for me to go? I tried searching Microsofts website for a forum/newsgroup I can post this question to but I came up with nothing. Any suggestions would be really beneficial!!!!
Thanks,
Re: Where else to try???
ms_guy99 said:
Ok...so I got it that no one can figure out a solution to this problem. Can someone please suggest some place for me to go? I tried searching Microsofts website for a forum/newsgroup I can post this question to but I came up with nothing. Any suggestions would be really beneficial!!!!
Thanks,
Click to expand...
Click to collapse
How are you connecting your device? Bluetooth,USB, WiFi...? Maybe some more details.
You shouldn't need to reinstall Outlook. Try the following:
Right Click on "Mailbox - Person Name".
Choose Properties.
Click on Advanced.
Click on Advanced.
Tick "Use Cached Exchange Mode" (make a note of the old setting).
Click on General.
Select "Manually control connection state" (make a note of the old setting).
Tick "Choose the connection type when starting" (make a note of the old setting).
Tick "Connect with the network" (make a note...).
Close the dialogue with "OK", then all other dialogues.
Close Outlook.
Re-open Outlook.
Choose "Connect".
Allow Outlook to synchronise.
Close Outlook.
Re-open Outlook.
Choose "Work Offline".
Disconnect your VPN.
Plug in your phone.
Regards,
Jon "The Nice Guy".
Another tip???
Jon,
Thanks. I just tried that and still got the error message. I followed every strep you wrote, one-by-one!! But the error message still came back up. :?
Also, I am trying to do this via USB. The laptop is not BT capable and I broke the IR window during one of the many drops it suffered from.
Thanks.
SOLUTION FOUND!!!!
ALAS!!! A solution has been found. I found the link to the site below in the Microsoft ActiveSync newsgroup.
http://groups.google.com/group/microsoft.public.pocketpc.activesync/msg/7c134690e78923cb
Basically they suggest removing a script blocking of an antivirus program via the Windows Registry Editor.
It worked like a charm. It took a few minutes and I still haven't tested to see if it can be done while Outlook is on-line but I can deal with syncing while it is off-line.

For anyone having problems with activesync - my solution...

Okay - I was having no end of problems connecting to Activesync and syncing to Exchange (local desktop would work ok), sometimes activesync on the desktop pc would stay at 'connecting' other times it would try to connect, but fail with error code 80072efd or 0x85002003. I also kept getting the error message on the PDA - unable to connect with your network settings (or something like it...).
After a couple of days trying to get it working (and occasionally succeeding after hard resets etc) I started investigating...
So, I checked a few things... Activesync 4.X uses a Remote-NDIS host on the PDA to make an IP based lan-type connection to your pc. Check your settings in
Settings > Connections > Network Cards > Network Adapters
for the 'Remote-NDIS Host'.
Mine had been set on 'Use Specific IP Address'. Change this to 'Use Server-Assigned IP Address'
Now check that it says ' My network card connects to' and that work is selected.
Now check Settings > Connections > Network Cards > Connections'
and check that the proxy server states - This network connects to the Internet' and that there is no proxy server specified.
I don't know if this will sort any issues out for anyone else - but it worked a treat with mine, so having spend days trying to get it working I thought I would share my horribly annonying experiences!!!
Hope it helps,
Liamo
on secoind thoughts - this has caused me more problems... grr I hate activesync - ignore my babbeling....
If I sort it properly I will post again..
i'm off to eat some apple-humble pie.
liamo
:-(
Okay,
so I uninstalled version 4.1 of activestink and installed the latest version 4.2. I created the pairing and hey presto - it's synching again.
Yup - it's great fun.
ohh, I also hard-reset in between 'cause I was annoyed!!!
;-)
liam
this worked for me.
i too faced the 'spinning wheel' problem with active sync.
i figured out that it was the configuration of the desktop or laptop and not the wizard as such.
1. after connecting the USB, i cud see messages like RNDIS device ready and all.
2. after this click on the lan icon in the taskbar of desktop. it displays all the lan connections. select the one that is for windows based mobile device.
3. in the properties for this lan connection, in general tab, check the box for Internet protocol.
4. In the advanced tab, click on settings for windows firewall.
5. check if activesync is added to the exceptions list. if not, check the box for activesync. click ok.
this should solve the problem. i sometimes have to do each time i connect thru usb.
hope this works.
hey guy i also had the same problem and although the first post was somewhat helpful, i still had to take an extra step in order for activesync to connect properly.
1. after changing to " Use Server-Assigned IP Address" in the connections tab i then had to:
2.go to the "usb to pc" interface and uncheck "enable advanced network funciotnality"
thanks for this post - i couldnt get my activesync to woork for the past 5 days
Activestink 4.2 won't even start on my computer :lol:
I don't really need it anyway :roll:
Anyone got stuck when Activesync keeps "Retrieving Settings" endlessly ???
moedinha said:
Anyone got stuck when Activesync keeps "Retrieving Settings" endlessly ???
Click to expand...
Click to collapse
You should make the activesync on the phone a serial connection instead of a ndis connection, this cab helped me:
great man! i tried everything and this really works. thanks a lot
mrjay said:
great man! i tried everything and this really works. thanks a lot
Click to expand...
Click to collapse
You're welcome
It was driving me crazy the first day I had my wizard.
you can also use a registery hack:
use your favourite regeditor;
change
HKLM\Drivers\USB\FunctionDrivers\“DefaultClientDriver“=“RNDIS“
into:
HKLM\Drivers\USB\FunctionDrivers\“DefaultClientDriver“=“Serial_Class“
Erase:
HKCU\Comm\RasBook\’USB\“Entry“
do a Soft-Reset.
check after the reset if a:
HKCU\Comm\RasBook\’USB\“Entry“ key has been made for serial communication otherwise it won't work.
the-equinoxe said:
moedinha said:
Anyone got stuck when Activesync keeps "Retrieving Settings" endlessly ???
Click to expand...
Click to collapse
You should make the activesync on the phone a serial connection instead of a ndis connection, this cab helped me:
Click to expand...
Click to collapse
How can I run this cab if I can't use Activesync? (My PPC (MDA Pro) is in a vanilla state)
in my case was easier because i was able to copy on the ppc but i couldn't copy from it. trry to load it somewhere where you can take it from with your phone.
I've tried d/ling it from here but It doesn't save as a cab file.
Slave1 said:
the-equinoxe said:
moedinha said:
Anyone got stuck when Activesync keeps "Retrieving Settings" endlessly ???
Click to expand...
Click to collapse
You should make the activesync on the phone a serial connection instead of a ndis connection, this cab helped me:
Click to expand...
Click to collapse
How can I run this cab if I can't use Activesync? (My PPC (MDA Pro) is in a vanilla state)
Click to expand...
Click to collapse
This is the trick I found out:
Connect your phone, wait till activesync starts.
Run taskmanager on your pc and kill:
WCESMgr.exe and wcescomm.exe
Go to your explorer (again PC) and doubleclick:
C:\Program Files\Microsoft ActiveSync\wcescomm.exe
Activesync will run now without errors (but doesn't sync!).
click on explore, copy the cab to the phone.
Disconnect the usb-cable, start the cab on the phone.
Reboot the pc, reconnect the usb-cable and activesync will sync again
the-equinoxe said:
mrjay said:
great man! i tried everything and this really works. thanks a lot
Click to expand...
Click to collapse
You're welcome
It was driving me crazy the first day I had my wizard.
you can also use a registery hack:
use your favourite regeditor;
change
HKLM\Drivers\USB\FunctionDrivers\“DefaultClientDriver“=“RNDIS“
into:
HKLM\Drivers\USB\FunctionDrivers\“DefaultClientDriver“=“Serial_Class“
Erase:
HKCU\Comm\RasBook\’USB\“Entry“
do a Soft-Reset.
check after the reset if a:
HKCU\Comm\RasBook\’USB\“Entry“ key has been made for serial communication otherwise it won't work.
Click to expand...
Click to collapse
I've make the registry changes but after soft resetting, no HKCU\Comm\RasBook\’USB\“Entry“ key has been created. Can you please post the contents of that reg key so I can put in manually otherwise is there something else I need to do to get the key created?
I have also had a similar problem with my computer and my Qtek 9100 not "finding each other" properly for a sync over USB ince the day I bought it over a year ago. Haven't been too bothered with it, as I've synced via BT instead (which works perfectly).
Still, technology that doensn't work properly seriously anoys me. Having tried all other available and suggested solutions I stumbled across the-equinoxe's recepie of reg-changes. After following the instructions I also ended upp with no HKCU\Comm\RasBook\’USB\“Entry“ for serial communication.
Therefore, I would like to repeat sunseakers call for help... Could anyone tell me what the contents of that entry is supposed to be?
Thanks for any help!
...i don't know if this will work for you, but i attached mine usbreg...
Thanks Krinkie.
ActiveSync must be one of the most frustrating applications out there. I have tried all recommended fixes and still cannot get ActiveSync to recognize my MDA. The last time I did a sync was 9/06. Too much BS using this application. I have searched all over the web and cannot find any application that will allow me to update my PIM file without ActiveSync. So, I guess I will finally give up on this. Thanks to all of you who have tried to help me. Thank You!!
I've been trying for days to connect to my laptop and the file above 'rndis to serial' finally did the trick... I'd read elsewhere about turning off your firewall etc, in the end I'd uninstalled all my firewall, anti spyware and antivirus programs...
Thank god for everyone here at XDA-developers... there wasn't anything useful on the Microsoft site.

ActiveSync Guest Mode

So, I have the HTC TyTn II and I sync only with my laptop and use my desktop just to transfer files and maybe install applications. The most annoying this is that ActiveSync wants to create a sync profile with my phone but I always have to click cancel and then it goes to "Guest" mode as noted on the top. I finally dug out the disassembler and nop'd out the call to the Synchronization Wizzard so it enters Guest mode immediately and quietly. Uploaded is A/S version 4.5.0 Build 5096 if anyone has a dedicated computer to upload files/download apps but not necessarily want to keep track of outlook/contacts/notes/etc
Hope someone can find this usefull.
good work!
but, IMHO, dont think this is the best solution
here's MS' official solution:
http://support.microsoft.com/kb/270136/en-us
Nice read. I would suppose the registry modification would be easier for upgrades/updates as well. Thanks for the tip.
Thanks for this! I'll try it on my work laptop tomorrow.
liay said:
good work!
but, IMHO, dont think this is the best solution
here's MS' official solution:
http://support.microsoft.com/kb/270136/en-us
Click to expand...
Click to collapse
I know that trick but it's not working for me.
When I make that key in my registry, I can connect my PDA to my laptop, and it will be in Guest-Mode.
BUT, when I open Active Sync on my device to sync with my works exchange server, I will not work.
However, when I simply cancel Active Sync partnership wizard on my laptop, (so connect in guest-mode) I can sync fine.
I hoped this would have been the solution for us.
We have a lot of users with there smartphone. Coz they use flexible workspaces The sync on several pc's. We don't want to make a new partnership every time. Canceling the partnership makes it possible to sync with Exchange. But with this ActiveSync version this doesnt work. Also the GuestOnly register change syncing with exchange is not possible.
Anyone a solution?
Activesync Didn't Synch contacts
Hi,
Pls, when connecting my Touch cruise with Activesync, i found a message (Registered owner name does not match that in device information, make sure that is speleed exactly the same) in spite of write down the owner information in the PDA as the same mentioned in Computer name, i can't sych my contacts.
Pls advice
Thanks man, a couple of posts above I said I would test if it worked.
I totally forgot to test it. Now I did and it seems to work perfect!!
WHERE CAN I DONATE TO YOU!!
kaiser4782787890 said:
So, I have the HTC TyTn II and I sync only with my laptop and use my desktop just to transfer files and maybe install applications. The most annoying this is that ActiveSync wants to create a sync profile with my phone but I always have to click cancel and then it goes to "Guest" mode as noted on the top. I finally dug out the disassembler and nop'd out the call to the Synchronization Wizzard so it enters Guest mode immediately and quietly. Uploaded is A/S version 4.5.0 Build 5096 if anyone has a dedicated computer to upload files/download apps but not necessarily want to keep track of outlook/contacts/notes/etc
Hope someone can find this usefull.
Click to expand...
Click to collapse
I get an error, "cannot find pegconv.dll" when I launch the program. I have activesync 4.5.0 (Build 5096).
AS + activetweak...
http://w15.easy-share.com/1701928313.html
fiddle with it..
nothin said:
AS + activetweak...
http://w15.easy-share.com/1701928313.html
fiddle with it..
Click to expand...
Click to collapse
I think when using this program to force ActiveSync guest mode, it just adds:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"GuestOnly"=dword:00000001
to the registry.
That tweak is not working for me.
I can connect succesfully, but my device won't sync.
Clicking "sync" on my device, just doesn't do anything.
BTW: I sync with an Echange server through LAN network.
johanromijn said:
I think when using this program to force ActiveSync guest mode, it just adds:
Code:
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows CE Services]
"GuestOnly"=dword:00000001
to the registry.
That tweak is not working for me.
I can connect succesfully, but my device won't sync.
Clicking "sync" on my device, just doesn't do anything.
BTW: I sync with an Echange server through LAN network.
Click to expand...
Click to collapse
just so you ppl know:
The trick from the MS link>>>
APPLIES TO
Microsoft ActiveSync 3.0
Microsoft ActiveSync 3.1
Microsoft ActiveSync 3.5
Microsoft ActiveSync 3.6
Microsoft ActiveSync 4.2
NOT Microsoft ActiveSync 4.5
just so you know.
wbr
V

Categories

Resources