Solution: To get ActiveSync Running Again - 8525, TyTN, MDA Vario II, JasJam General

Getting ActiveSync running again. (Revised)
(Applies to situations where Active Sync fails to connect following the use of third party applications that clear the notifications queue but may include situations where AS does not connect through corrupt or missing notification files)
Using applications such as Scarybear, Memmaid, Pocket Mechanic and Sktools to clear the notifications queue is often a necessity to solve problems with alarms (either not going off or not cancelling etc.)
However, the file repllog,exe will show up using these applications and should NOT be deleted unless it is duplicated (exact duplicate, there may be 4 or 5 repllog files 2 of which are essential and may look like duplicates but are not). This is because these files notify the device that a USB cable has been connected and readies the device for Syncing. ActiveSync will not load if repllog.exe is missing in the TWO forms listed below:
1
repllog.exe
AppRunAtRs232Detect
AND
2.
repllog.exe
AppRunAfterRndisFnDetected
Adapted for the following but probably applies to other windows mobile devices:
HTC TyTN / XDA trion / MDA Vario II / VPA Compact III / SPV M3100 / Dopod CHT 9000 / Dopod 838 Pro
Step 1
To Replace repllog.exe - AppRunAtRs232Detect
(i.e. to get Active Sync to detect when you plug in the USB cable)
(Steps written for Memmaid, but Sktools is just as good. To ‘add’ a notification in Sktools just go to notifications and tap/hold an existing entry in the top list and an option to add appears in box drop down box1 enter "Start if RS232 connection......" and then tap gray "..." box and navigate to the windows folder and tap repllog.exe, finally tap OK in bottom left corner.)
1) Open 'MemMaid and go to the Notification Queue tab
2) Tap Add
3) In the Add Notification - Program field, tap the '...' icon.
4) In the folder tree, find \windows\repllog.exe and tap it.
5) In Add Notification - Event', choose 'An RS232 connection was made'.
6) Tap the 'Add' icon.
7) Exit and long-press the on/off button until the warning appears and tap yes to turn off the device.
8) Long-press the on/off button to restart the device and Active Sync should work on connection of the USB cable.
Step 2
To Replace repllog.exe AppRunAfterRndisFnDetected
(i.e. to get Active Sync to open/connect to network on detection of the USB cable)
The second notification you need is repllog.exe AppRunAfterRndisFnDetected
Follow same procedure as above choosing the option in sktools or memmaid to start when a network is detected OR just use this little application that will make the entry for you:
http://forum.xda-developers.com/atta...6&d=1155128708
(to use this application save the file to your PC or Device. Put it on the storage card (using a PC card reader if necessary) and tap to run. (it is a PPC EXE file not to be run on PC) You will simply get a screen that has an OK button. Tap it and you are done. Restart your SKtools or Memmaid and the key should be there.
Check you now have both replllog notifications present. You may have other repllog.exe notifications listed but you MUST have the two named above. The sub names of the repllog entries may differ slightly from those given above. The above names are in an abbreviated form as they appear on an untouched device, but so long as you have one that mentions RS232 and one that mentions network or RNDIS you should be OK.
You may be able to run AS now or may need to restart device and or PC.
NB: I have run a full test of the procedures here to test whether replacing these files reactivates Activesync. I deliberately deleted all my notifications (a risky thing as we know) - Activesync refused to start as expected. Using the methods above I replaced the two repllog entries and confirmed their presence. Activesync is working again.
Mike

Hello!
Great explanation, thanks for the information.
Since a few months when I have this problem I've to reboot the ppc and/or the pc untill I discovered this app that reboots the activesync connection
http://www.pocketpcfaq.com/applications/resync.htm
I don't know if it do it in the same way than your post explains.
Greetings to all.

oh my god I LOVE YOU! i've spent almost the entire day trying to fix my herald and finally it now syncs!!! thank you so much!!!!

i guess this wont help my email sync problem to exchange will it? no, i thought not
i can sync contacts and calendar items wirelessly with exchange but not emails
EDIT:
I eventually fixed it by the software equivalent of the power cycle. i unticked Email, let it delete all sync'd emails (none) then ticked it again. it's always the easy fix isn't it - i was ploughing through detailed settings, reg keys etc

bitziz said:
oh my god I LOVE YOU! i've spent almost the entire day trying to fix my herald and finally it now syncs!!! thank you so much!!!!
Click to expand...
Click to collapse
I Love you too
Mike

Deleted Notifications
Hi,
I use an HTC Charmer with WM5 on a Win XP system.
I deleted all my notifications the other day - I have no idea why I thought that was a good idea but at the time I did
I have not been able to sync since.
I am about to try the 'resync' tool - linked from the second post in the thread and will post again either way.
EDIT: Resync did not work for me either.
Will.

Mike,
Your fix worked a treat. Thank you again.
Will.

Wobwill said:
Mike,
Your fix worked a treat. Thank you again.
Will.
Click to expand...
Click to collapse
Good news
I think what I need to do is add the second part (i.e. adding the second Repllog notification) as a standard part of this fix or at least get folk to check which Repllog items are there and which are missing without assuming it's just the cable-connected one that's gone. It's been useful to have you as a test case!!
Mike

I have tidied up this thread and revised the 1st post to reflect feedack and perfect the solution. Apologies to those whose posts I edited so they still made sense with the changes I made! Thanks to all for feedback.
Mike

Hi Mike,
I am having the same USB sync problem.
Active sync is not starting/device USB is not detected when plug-in usb cable.
Where do i get Memaid or SKtools ???
sundram

Sundram said:
Hi Mike,
I am having the same USB sync problem.
Active sync is not starting/device USB is not detected when plug-in usb cable.
Where do i get Memaid or SKtools ???
sundram
Click to expand...
Click to collapse
Google's always useful
Memmaid
http://www.pocketgear.com/software_detail.asp?id=14279
SKtools
http://www.pocketgear.com/software_detail.asp?id=14288
Please note though, that the above fix is designed for folk who have deleted their repllog entries - it may be useful in other situations where active sync fails, but it is not meant to solve other problems. Also if you have not installed much to your device it may be as easy to do a hard reset that will also replace the missing files.
Good Luck
Mike

Hi There
I am still having problems - ActiveSync doesnt seems to start - USB connection is not recognised by my VPA Compact III.
I have tried yous recommended steps..
I used SKTools (Notification Queue) to clear off the duplucates entries for repllog.exe ....
By mistake, all repllog.exe entries was removed, So, as you have suggested, I used Memmaid, to "Add" both entries.
Now under SKTooks - Notifications Queue , i see both enrties now:
Application Notify Type Event Status Event Type Arguments
---------- ----------- ------------- ----------- -----------
repllog.exe CNT_EVENT InActive RS232_DETECTED AppRunAtRs232Detect
repllog.exe CNT_EVENT InActive UNKNOWN AppRunAfterRndisFnDetected
But ActiveSync still not working - i cant use Internet Sharing as well.
When USB is plugged in, the AMBER (charge LED) lights up only for 1 sec and then turns off and , of course, AS wont work.
If i use infra-red connection, it syncs well!
pls help.
thanks.

Sundram said:
Hi There
I am still having problems - ActiveSync doesnt seems to start - USB connection is not recognised by my VPA Compact III.
I have tried yous recommended steps..
I used SKTools (Notification Queue) to clear off the duplucates entries for repllog.exe ....
By mistake, all repllog.exe entries was removed, So, as you have suggested, I used Memmaid, to "Add" both entries.
Now under SKTooks - Notifications Queue , i see both enrties now:
Application Notify Type Event Status Event Type Arguments
---------- ----------- ------------- ----------- -----------
repllog.exe CNT_EVENT InActive RS232_DETECTED AppRunAtRs232Detect
repllog.exe CNT_EVENT InActive UNKNOWN AppRunAfterRndisFnDetected
But ActiveSync still not working - i cant use Internet Sharing as well.
When USB is plugged in, the AMBER (charge LED) lights up only for 1 sec and then turns off and , of course, AS wont work.
If i use infra-red connection, it syncs well!
pls help.
thanks.
Click to expand...
Click to collapse
Hi there
I'm not sure but those two entries seem odd to me - the InActive and UNKNOWN parts.
Could you try the following?:
1
In my above post there is a link to an application that you download and put on your SD card and tap to install - could you try it. When you run the app it does not appear to do much just ok it and it will close. That app installs AppRunAfterRndisFnDetected.
2.
Using Sktools go to the notifications queue.
In the upper window tap and hold on any entry and an option to "add" appears - select it. In the drop down box at the top scroll down until "Start if RS232 connection..." appears and select it.
In the next box "filename and arguments" tap the grey box with "..." This opens a directory listing - go to the windows directory and scroll untill you find repllog.exe and tap it.
Now tap the ok tab bottom left.
The two required entries should now be present.
Connect or reconnect your device to the PC and hopefully a connection will be established.
Post back with problems.
Mike

Hello Mike. Thamks for your reply.
By the way, I tried your suggestions to create back (add) both the Notifications entry.
I deleted off both repllog.exe entries shown in my Notification Queue (shown using SKtools).
Before I proceeded, SKtools show no entries with repllog.exe.
For the first one, I use "add" function on the MemMaid - Notification Queue Tab.
I checked the notifications outcome, using SKtools.
The result, show below:
Application Notify Type Event Status Event Type Arguments
---------- ----------- ------------- ----------- -----------
repllog.exe CNT_EVENT InActive RS232_DETECTED AppRunAtRs232Detect
Then I used the small script "FixASRunAt.exe" copied to the SDCard, and executed it.
As expected, the Notification Queue in SKtools shown the 2nd entry being added as below. (take note - Event Type its also shown as unknown).
Application Notify Type Event Status Event Type Arguments
---------- ----------- ------------- ----------- -----------
repllog.exe CNT_EVENT InActive UNKNOWN AppRunAfterRndisFnDetected
Then I tried Activesync/USB Connect - still wont work!
How to manually add the repllog.exe .... .... AppRunAfterRndisFnDetected
instead of using the small script....
On MemMaid, "Add" notification, on what "event"
What else could cause this problem?
thanks.

Sundram said:
How to manually add the repllog.exe .... .... AppRunAfterRndisFnDetected
instead of using the small script....
On MemMaid, "Add" notification, on what "event"
What else could cause this problem?
thanks.
Click to expand...
Click to collapse
Mmmm.. When adding the AppRunAfterRndisFnDetected using Sktools it would be "Start when a network has been connected" - I'm not sure about Memmaid.
The script works well on mine so I think you have more wrong than just the missing repllog entries.
What happens if you connect to the PC and start repllog manually by tapping it in the windows directory?
Mike

don't know wether this is relevant, but it might be to those for whom this fix is not working. I have manged to break my activesync a few times now purely by switching between internet sharing and syncing. An activesynce re-install/repair always sorts me out.

.VIBE said:
don't know wether this is relevant, but it might be to those for whom this fix is not working. I have manged to break my activesync a few times now purely by switching between internet sharing and syncing. An activesynce re-install/repair always sorts me out.
Click to expand...
Click to collapse
That will work when there is a problem with the PC end of active sync.
This fix is purely to replace essential repllog files on the Hermes.
So the fix outlined here would not fix a broken PC installation of Active sync and your re-installation of Activesync would not fix missing repllog files.
Mike

thanks
in a cleaning frenzy i used pocket mechanic to clear notifications and lost active sync, thank you for the fix, i was dreading doing a hard reset.

ta79pr said:
in a cleaning frenzy i used pocket mechanic to clear notifications and lost active sync, thank you for the fix, i was dreading doing a hard reset.
Click to expand...
Click to collapse
I assume you are up and running again - good news Word to the wise though, doing regular Full backups is always sensible and takes away the fear of the Hard Reset.
Mike

A little more help pse as I'm in the same boat
Mike,
I went mad with memmaid (a little knowledge is dangerous!)
OK, I followed your excellent instructions and used Memaid to add the first ...
RS232_DETECTED "AppRunAtRs232Detect"
I cannot however find an event to add the second one. There appears to be no "AppRunAfterRndisFnDetected" in the drop down list.
Maybe I'm dumb but I assume I select Add and select "repllog.exe" a second time and then it should be in the pull down box.
I can only see.....
Run at time
A PC card device changed
A full device Data restore completed
An RS232 connection was made
Data Synchronisation finished
The system time changed
The time zone changed
The device woke up
Any help greatly appreciated as I am off on holiday at the weekend and want to get things synched up before then
Al

Related

weird glitches after installing activesync

installed activesync that came with my xda exec yesterday. it synced once and i was able to browse the files on the pda from my pc.
but now however, it won't sync, just says connecting on the pc end and no syncing logo in the status bar on the xda. upgraded to activesync 4.1, but still the same problem.
also, i can no longer bring up the phone screen, i can make calls from the contacts list and receive calls, but the phone screen no longer pops up (sound still plays after clicking the phone icon thou).
only got the xda yesterday and set it up into personal mode, installed clearview pdf reader from the cd.
no other changes.
any ideas?
does soft reset erase all your documents and contacts?
thanks.
Do a soft reset and the problem will be fixed.
Tip: XDA EXEC runs faster with less glitches in BASIC mode. Thought I mention it !
No, a soft reset will not erase any of your data. I would certainly start there. Do you (or a friend) have another PPC device to connect to your computer to see if A/S will work with that device?
I would think that since you just go it yesterday, today would be a good day to do a Hard Reset (if the above does not fix it). Chances are good you will wind up doing one anyway, so do it now to avoid further frustration and before you have a bunch of programs and data loaded.
Just my .02
Forgot to mention, soft reset doesn't erase anything, its like rebooting your PC.
Hard reset DOES erase, so be careful of this one !
i've just soft reseted it and now the phone screen works.
i changed the size of the icons and after the soft reset, they were back to normal. was this the cause of the phone screen problem?
i don't have another ppc around, but i can connect to my pc via bluetooth and transfer files both ways but not sync.
is there anyway to view/add/change the files on the xda without syncing/bt ie using the cable and windows explorer?
i don't expect to be emailing much from the xda, so is there any benefit to syncing?
i'll be doing a hard reset soon, the xda went into personal mode before i had time to read up waht the different modes did in the manual.
wifi & bt work very quickly thou, which is nice.
Don't know about size of icons thing as I haven't tried it.
The sync functionality doesn't just sync email, it does sync your calendar, notes , tasks and contacts too. It also syncs files for you.
You can set it so it syncs just the stuff you want it to sync including non (during setting up your sync just tick what you want synced or untick everything to sync nothing).
is there anyway to view/add/change the files on the XDA without syncing/bt ie using the cable and windows explorer?
i've had to soft reset the xda again as the phonepad was playing up again.
i'm going to hard reset into corporate mode, what do i need to save beforehand?
reading from another forum, i see that i have to save mms settings (done) and 3g settings (don't know where they are). anything else?
regards,
haroon.
is there anyway to view/add/change the files on the XDA without syncing/bt ie using the cable and windows explorer?
Click to expand...
Click to collapse
Do you want to never Sync or only when you choose ? If never Sync when you installed ActivSync it gave you wizard to configure what you want syncing, here you could have unticked everything.
i've had to soft reset the xda again as the phonepad was playing up again.
Click to expand...
Click to collapse
I kept getting that in Personal Mode, since changing to Basic mode I don't get the problem anymore. To change to Basic mode , click on your start menu then Programs then Install type.
Reading from another forum, i see that i have to save mms settings (done) and 3g settings (don't know where they are). anything else?
Click to expand...
Click to collapse
I have never used corporate mode before so I don't know. I did come across another post on this forum which had all the settings for corporate mode listed. Try doing a forum search for setup.
got it running in corporate mode now, all seems so good so far.
still won't sync thou, doesn't get past the connecting stage.
i'm going to try reinstalling activesync from the cd and uncheck everything from the setup wizard.
i'll post the results a bit later.
thanks for the info linux!
Have you checked your personal Firewall (and/or XP's built in Firewall) as this will prevent ActiveSync making a connection..
These are the entries in mine:
Control Panel > Windows Firewall > Exceptions Tab
1. ActiveSync Application
2. ActiveSync Connection Manager
3. ActiveSync RAPI Manager
4. ActiveSync Service
If you click on the first one > Change Scope
Choose (*) Custom List
Entry: 169.254.2.0/255.255.255.0
This is set the same for 1->3..
The 4th option requires Port 26675 open on TCP
As I understand it, ActiveSync 4.x creates a TCP/IP connection similar to a TCP/IP network connection so a Firewall can screw things up a treat.
Might also be worth checking in your TaskManager list for the following executables when you startup ActiveSync:
1. WCESMgr.exe
2. wcescomm.exe
3. rapimgr.exe
These relate to the executables that are setup in those 1-3 services in Firewall Exceptions.
Hope it helps..

Run ActiveSync when you WANT

stopping activesync
is there a way to stop activesync from running in background on my 8525? my pda freezes every once in awhile and have problems with connecting to pc. to connect to pc i have to go to memory and shut off activesync before plugging in usb. i've tried to delete repllog.exe in the notification queue with no luck. help LuXx
Reducing lock-ups and freezing:
A key consideration here is the active sync application that is linked with many lock up problems - particularly overnight or during active syncs auto scheduling process.
A quick way to temporarily shut Active Sync down (as well as any other programmes running in the background) would be say Magic Button or HTC X Button which are quicker than using the running programmes in the memory menu to do this.
However Active Sync can start again by itself via various scheduling routines. There is a way to prevent this known as the "Fake Server Trick":
This 'server trick' was discovered by an Aximsite forum member known as Invid
This post originally created by IamNotMe fourpages.co.uk (Adapted)
"1. Turn on your Device
2. Go to Start > Programs > Activesync. This will open the Activesync program.
3. Tap Menu at the bottom right hand corner of the screen. This will bring up the Options Menu. Notice the option Schedule... is greyed out? This is the all-critical option we need to get access to. But as it's disabled we can't change Activesync's default synchronisation schedule.
Ok, so how do we enable the Schedule option? Easy!!! Fool Activesync into thinking there is an Exchange Server to sync with:
1. From Activesync's Menu tap on Add Server Source.
2. In the following screens you can enter any old garbage. It does not matter, but just in case your unsure, just type the following in the indicated boxes:
Server Address: fake
Tap Next
User name: fake
Password: fake
Domain: fake
(Ticking save password or going into the Advanced menu makes no difference, so no need to bother).
Tap Next
Untick all of the 'Data you want to synchronise' options
Tap Finish
3. Ok, we're done creating the server. You should now see in Activesync's main screen your normal Activesync connection(s), and a new connection called Exchange Server.
4. Go back into the Menu, and lo and behold the Schedule option is now enabled! Go ahead and tap it!
5. You will see that both options in the Schedule screen may be set to Every 5 Minutes
6. Using the drop downs, change both the Peak times and Off-peak times boxes to Manually.
7. Press the OK button at the top right of the screen.
Congratulations! Activesync is now gagged from opening on it's own and ruining your life! Your work is not done just yet though - time to clean up and get rid of the now unwanted fake Exchange Server.
1. Go back into Activesync's Menu, then Tap Options.
2. Highlight Exchange Server, then tap Delete. A warning message will appear about removing files etc, but as you have no files associated with the fake Exchange Server, it's nothing to worry about - just tap Ok.
Edit: Some people have reported that settings "stick" better if you Do Not delete the fake server just leave it, it does not actually do anything anyway - it was just a way to set active sync to manual operation not automatic. Item 3 below, if you leave it in place will therefore show two Sync Connections i.e. the real and the fake.
3. The list will now only show your remaining PC Sync connection(s). Obviously do not delete these!"
You should also:
A
ensure Active sync is turned off fully after use. Use the likes of Magic Button say or HTC X Button to do this.
B
consider using a scheduler to perform a soft reset automatically say before any alarms go off in the morning. This ensures unwanted programmes like active sync and others do not crash the system when the alarms go off or crash the device when you try to switch on. SKSchema or xbar would fit the bill for this.
C
Avoid leaving device on charge overnight.
D
Running only one or two Today Plugins and avoiding some apps that like to synchronise automatically with internet sources push mail / weather etc. (although with a good neat set up these can operate ok)
E
ensure any applications required on wake up are installed to Main memory (today plug ins, wallpapers etc), with all others installed to SD Card
F
Do not overfill main memory Hermes performs better with a good bit of spare space.
G
Do NOT let your device go to sleep by itself! Always use the on/off button to put it in sleep mode. In fact I would go further and suggest you go to:
Start>settings>system>power>advanced and remove the ticks in the two little boxes.
Just remember to use that on off button. Of course the device should be able to sleep by itself BUT this XDA does not perform well and often crashes if you let it sleep automatically.
H
Always use a task manager to close running applications. You can go into settings, running programmes to do this but it is far easier to have running programmes shown in your task bar and an easy way to fully close them. (That is what a task manager does).
I
Regularly clear out the PIE cache or better still move your Internet Cache to the SD Card. Use a Registry Editor (PHM Registry Editor http://www.phm.lu/Products/PocketPC/RegEdit/)
PocketIE Cache in storage card
Create these folders:
\Storage Card\Pocket IE\Temporary Internet Files\Storage Card\Pocket IE\Cookies\Storage Card\Pocket IE\HistoryAdd the following registry keys, string data type:
[HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders]"Cache"="\Storage Card\Pocket IE\Temporary Internet Files""Cookies"="\Storage Card\Pocket IE\Cookies""History"="\Storage Card\Pocket IE\History"
Links
Magic Button: (Task Manager)
http://www.trancreative.com/mb.aspx
HTC X Button (Task Manager)
HTC X-Button.CAB
X BAR
http://www.pocketgear.com/software_detail.asp?id=20823
SKschema
http://www.pocketgear.com/software_detail.asp?id=20385
Mike
thats what i needed . thank you!!!
LuXx said:
is there a way to stop activesync from running in background on my 8525? my pda freezes every once in awhile and have problems with connecting to pc. to connect to pc i have to go to memory and shut off activesync before plugging in usb. i've tried to delete repllog.exe in the notification queue with no luck. help LuXx
Click to expand...
Click to collapse
In addition to the fake server trick, I also saw last night something about turning off "advanced network functionality" in Start>Settings>Connections>USB to PC.
I just unchecked it within the last 24 hours, but I'm hoping it will have a positive effect on this kind of problem.
Just to clear this up, this *trick* will also stop activesync from launching even when I'm not connected via USB. I notice through out the day I will close activesync 5 or 6 times (I use magic button) it seems to like to launch on it's own, I suspect this auto scheduling was the cause.
yeah it does work well... the only time active sync pops up is right after a soft-reset (it's not in startup folder so i don't know where it's being lanuched from) and when you plug it into the computer (which is fine). Other than that it stays close and the phone runs a lot faster and has more free RAM when active sync is not running. Again, another no-brainer performance fix the OS and Phone Mfg'rs completely missed!
DirectPush?
But if I am using DirectPush, how does this help me?
perlmane said:
But if I am using DirectPush, how does this help me?
Click to expand...
Click to collapse
Well is doesn't really as you need active sync running!
Mike
Wow. This is brilliant, thanks!
db
mikechannon said:
Well is doesn't really as you need active sync running!
Mike
Click to expand...
Click to collapse
Something wierd happened. I had to do a hard reset. Since it recovered from that, I cannot use DirectPush anymore. The ActiveSync choices no longer list "As items arrive" as a choice. It only lists the time choices and manual. How do I restore the "As items arrive" option?
After hard-reset the activesync connection wth your pc is erased. Erase all activesync connections both on PC and on device and reconnect them via usb and after "pairing" you will have back your options. Prior that deselect 'advanced network functionality' in connections>USBtoPC
Teo2005 said:
After hard-reset the activesync connection wth your pc is erased. Erase all activesync connections both on PC and on device and reconnect them via usb and after "pairing" you will have back your options. Prior that deselect 'advanced network functionality' in connections>USBtoPC
Click to expand...
Click to collapse
I did this and saw the "As items arrive" item appear and then leave the list of choices. Any other ideas?
Great Trick
mikechannon said:
Reducing lock-ups and freezing:
A key consideration here is the active sync application that is linked with many lock up problems - particularly overnight or during active syncs auto scheduling process.
A quick way to temporarily shut Active Sync down (as well as any other programmeds running in the background) would be say Magic Button or HTC X Button which are quicker than using the running programmes in the memory menu to do this.
However Active Sync can start again by itself via various scheduling routines. There is a way to prevent this known as the "Fake Server Trick":
That is a great help. My Cingular 8525 is much more stable after running the trick. However, I did notice that from time to time, Active Sync could be found running even after the "Fake Server Trick." Is this normal? Should I redo the "Fake Server Trick" from time to time or is once enough?
Sincerely,
Steve
Click to expand...
Click to collapse
uhh..un-plug ur cable?
shapirosj said:
mikechannon said:
Reducing lock-ups and freezing:
A key consideration here is the active sync application that is linked with many lock up problems - particularly overnight or during active syncs auto scheduling process.
A quick way to temporarily shut Active Sync down (as well as any other programmeds running in the background) would be say Magic Button or HTC X Button which are quicker than using the running programmes in the memory menu to do this.
However Active Sync can start again by itself via various scheduling routines. There is a way to prevent this known as the "Fake Server Trick":
That is a great help. My Cingular 8525 is much more stable after running the trick. However, I did notice that from time to time, Active Sync could be found running even after the "Fake Server Trick." Is this normal? Should I redo the "Fake Server Trick" from time to time or is once enough?
Sincerely,
Steve
Click to expand...
Click to collapse
There are one or two applications that you may run that can restart ASync, various mail apps, online time sync apps and yes plugging in the cable to do a manually state ASync. Once started AS contines to run at least until a soft reset or using your task manager, you shut it down again. So routinely after doing an AS it will need shutdown.
Whether you need to do another round of the Active Server Trick has been debated recently. It seems that for some folks if they follow up the procedure with the step that says to delete the Fake Server because its job is done; find later that doing this causes the wanted change to manual ASync not to stick.
As the fake server, if set up correctly, does not actually connect to anything, then those who wish may re run the trick. This time not deleting the fake server at the end.
Mike
Click to expand...
Click to collapse
activesync still not working
After following the procedure with the "fake" server name, my sync does not work. In fact, I cannot locate the "exchange server" at all on the screen. Do I have to reload the cd-rom program from scratch? Any suggestions...
Thanks
abricko said:
yeah it does work well... the only time active sync pops up is right after a soft-reset (it's not in startup folder so i don't know where it's being lanuched from) .....
Click to expand...
Click to collapse
Yep, I notice it's there after a soft reset as well. Is there a way to prevent that as well with a regedit?
I did the fake server trick, deleted the fake server, but didn't do a soft reset. I noticed that AS still loads on its own. I respecified the fake server but left it on this time. Hopefully it stays shut off...so annoying.
Linda

Scheduled Bluetooth Sync

Hi.
Can anyone help me with a scheduled bluetooth sync? Say, every day at 8pm (when I get home from work) and sometime in the morning so I can read my e-mail on the train? Here's what I've done so far:
1. Successfully configured Bluetooth between the MUSICPC and my PDA. I can now go to ActiveSync and select 'Connect via Bluetooth' and it works.
2. Copied the rasbook entry for MUSICPC and put a ' in front of it, so that it appears in the list for "When cradled, sync via..". Set ActiveSync to use 'MUSICPC to sync.
3. Used WakeUp to set repllog.exe to run on a schedule (I also just discovered RunEveryDay, which means I can even make this repeat!)
So, with all this I thought I finally had it, BUT then I got to work and found out my phone now won't sync via USB anymore... I have to go back into ActiveSync and set it back to 'USB Default, which kinds of defeats the purpose of trying to make it all automatic.
I guess my question is, therefore, can I change this setting automatically, or is there a better way to do this? VJBlueSync seemed to do exactly what I wanted, but it is WM2003 only.. Looking on the forum it appears I can do this with a Mort script, but they seem SO complicated.
Help! I am SO close. Thanks.
Mortscript could do that for you, you'd have to write your own script though. It can simulate screen clicks & modify the registry.

[Tip] [Final update] ActiveSync is boring you ? Be your guest !

If you use it as a backup only, as I do, you may want to prevent it from synchronizing, cause it does it often even if you unchecked everything, it's long and it slows down your device meanwhile. Not a big deal, but we're all here so that our life becomes easier right ?
So, using PIM Backup, you can automaticaly backup your whole PIM + files\folder to the storage card, everyday at the time you want, and it will even wake up the pda to backup and suspend it right after, so that you can schedule it by night. It takes around a minute to backup.
Now you can just leave Active Sync in guest mode.... and then you tell me:
Yeah but it will ask me to pair everytime I connect my device !!
That's where my script is showing up: it will stay in background and will closes Active Sync windows as soon as they'll show up.
Just unzip & run once
To uninstall, just delete ActiveSyncBlaster in your Windows directory.
FINAL UPDATE (22.10.07) fyahstar just gave us the reg key I was looking for.... Add a DWORD "GuestOnly" = 1 in HKLM\Software\Microsoft\Windows CE Services for a perfect result (no window opening at all). Or you can rename attachment to .reg and launch it.
Update (21 oct. 07) Everything's fixed
I merged both scripts into one, which will handle both cases (Outlook installed or not).
It will not stay open in background anymore: Now it will only be launched when the device is connected.
It now comes with an installer, just run it and you're done !
Oh, & it's a bit faster too.
Update (07 oct.07) I made a version for those who don't have Outlook installed (extra window to close)
Huh.
Very cool idea. I do the same thing as I use OTA sync but I don't sync with my computer, so I get that dumb "guest" thing all time. I found AS continuous sync interferes with my DUN, overloading the device CPU.
I'll have to try this out tonight, but sounds great, so thanks!
it's easier than this - make a normal AS connection, and in a configurator, uncheck all options... and that's it
utak3r said:
it's easier than this - make a normal AS connection, and in a configurator, uncheck all options... and that's it
Click to expand...
Click to collapse
believe it or not, it's not that easy.
even with nothing checked, the AS will still continue every couple of minutes to sync with the device, even if it's technically not synching information.
utak3r said:
it's easier than this - make a normal AS connection, and in a configurator, uncheck all options... and that's it
Click to expand...
Click to collapse
lastnikita said:
you may want to prevent it from synchronizing, cause it does it often, it's long even if you unchecked everything, and it slows down your device meanwhile
Click to expand...
Click to collapse
It still synchronises: ie starting to exchange with the device, open files for comparison, etc.
The worst is, it will do it even if outlook is not installed.
I'll also check the registry when I get time to see if nothing can be done by that side.
does it still sync constantly in guest mode? I was reading a kind of related (very old) article...
GuestOnly is the real magic in our personal Sync Stations; it’s responsible for allowing all new devices (i.e., those that don’t already have a partnership with the PC) to connect as guests without being prompted to establish a partnership. (Note that all devices that have an existing partnership with the PC will still connect and synchronize as they did before.)
Click to expand...
Click to collapse
http://www.pocketpcfaq.com/applications/undocumentedactivesync.htm
Thanks for this - it is just what I've been looking for to get rid of the annoying "you will only be able to sync..." messages every time I hook up my phone. Will install tonight!
New version
I made a version for those who don't have Outlook installed (extra window to close), 1st post edited
the new version (no outlook) posted will work only once, I will post a working version tomorrow.
I have a questions. It may sound stupid, but I tried to fix it myself without resolution. The files are for the PC. How does it work?
Thanks
godzillaman said:
I have a questions. It may sound stupid, but I tried to fix it myself without resolution. The files are for the PC. How does it work?
Thanks
Click to expand...
Click to collapse
mmm, I'm not certain to understand correctly... yep those are for desktop side (PC). You just have to put one of them (it depends if outlook is installed or not) in your startup folder so that it'll be launched along with act.sync when the computer starts. Then, when you connect your device, if you choosed NOT to pair it with that computer (so that no sync.will ever be launched), annoying windows are showing, and my script will close them instantly. I did it using auto-hotkey. Didn't have enough time to fix it right now, but I swear it will be done till wednesday ^_^'
I'll also investigate in another (proper) method to achieve the same thing via reg-editing and I'll let you know if something can (has) be done that way.
Everything's fixed
It will not stay open in background anymore. Now it will only be launched when the device is connected
I merged both scripts into one, which will handle both cases (Outlook installed or not).
It now comes with an installer, just run it and you're done
Oh, & it's a bit faster too.
See first post !
Here is the registry key to enable GuestOnly mode for activesync. Rename file extension from .txt to .reg. Hope this helps.
Well, while it makes all my work useless (and your file is missing slashes), it works fine, many thanks
my bad on the slashes, thanks for correcting it.
I don't mean to make stupid questions again.
What you made prevents Active Sync in my PC. What can I do to my PPC, because active sync sometimes opens itself when I turn on the phone...
Thanks for everything.
Read here to prevent Active Sync to run from PPC side.
Fabolous... and fast...
lastnikita said:
Read here to prevent Active Sync to run from PPC side.
Click to expand...
Click to collapse
Million thanks... You are fast! Very fast indeed...
oh, no-one read my link? You could have had that key on the 5th october
btw, it's my fault for being obtuse. Looking at what I wrote, it's kind of random.
And I said it was a very old article....
sorry about that anyway thanks for that activesync when you want link, I remember reading that ages ago.
I did look for it where I thought I saw it last...on another site! No wonder I couldn't find it.
Thanks for the reg key fix. I use Exchange OTA, so I don't need to sync with the PC. I ran this registry key on my PC and I no longer get the popup to pair with my phone each time I plug it in. It still allows me to transfer files and access the phone via activesync, but with no annoying popup.

[tut] How to stop ActiveSync from turning itself on all the time:

HOW TO STOP ACTIVESYNC FROM TURNING ITSELF ON ALL THE TIME:
MOD EDIT HDuser
This thread has gone WIKI and can be found under
added to wiki
http://wiki.xda-developers.com/index.php?pagename=HTC_Blackstone_Tweaks
END MOD Edit
(I've rewritten this for the HTC HD and I works Brilliantly well).
Active Sync can start again by itself via various scheduling routines. There is a way to prevent this known as the "Fake Server Trick":
This 'server trick' was discovered by an Aximsite forum member known as Invid
This post originally created by IamNotMe fourpages.co.uk (Adapted by me for HD)
"1. Turn on your Device
2. Go to Start > Programs > Activesync. This will open the Activesync program.
3. Tap Menu at the bottom right hand corner of the screen. This will bring up the Options Menu. Notice the option Schedule... is greyed out? This is the all-critical option we need to get access to. But as it's disabled we can't change Activesync's default synchronisation schedule.
Ok, so how do we enable the Schedule option? Easy!!! Fool Activesync into thinking there is an Exchange Server to sync with:
1. From Activesync's Menu tap on Add Server Source.
Enter any email and untick box then click next.
2. In the following screens you can enter any old garbage. It does not matter, but just in case your unsure, just type the following in the indicated boxes:
Server Address: fake
Leave box ticked and Tap Next
User name: fake
Password: fake
Domain: fake
Leave box ticked and Tap Next
Untick all of the 'Data you want to synchronise' options
Tap Finish
3. Ok, we're done creating the server. You should now see in Activesync's main screen your normal Activesync connection(s), and a new connection called Exchange Server.
4. Go back into the Menu, and lo and behold the Schedule option is now enabled! Go ahead and tap it!
5. You will see that both options in the Schedule screen may be set to Every 5 Minutes
6. Using the drop downs, change both the Peak times and Off-peak times boxes to Manually.
7. Press the OK button at the top right of the screen.
Congratulations! Activesync is now gagged from opening on it's own and ruining your life! Your work is not done just yet though – time to clean up and get rid of the now unwanted fake Exchange Server.
1. Go back into Activesync's Menu, then Tap Options.
2. Highlight Microsoft Exchange, then tap Delete. A warning message will appear about removing files etc, but as you have no files associated with the fake Microsoft Exchange, it's nothing to worry about – just tap Ok.
3. The list will now only show your remaining PC Sync connection(s). Obviously do not delete these!"
Note: some users say it works better if you leave the fake server there (undeleted). Not the case for me, however, it does no harm to leave it undeleted as it is totally inactive and has no effect.
PS. If you connect your HD to your PC with USB cable, ActiveSync will start automatically and everything will sync up as usual (I tried it). But after you disconnect, click the Task Manager button at top right corner of HD Flo home screen and tap the X next to ActiveSync to close active sync.
My Results: Processor & working memory usage is significantly decreased, battery lasts longer and ActiveSync is not trying to sync all the time.
This does not work for me.
i think it's because you remove the exchange server. If you don't remove the fake exchange server, the schedule option remains. If you remove the fake exchange server, the schedule option is gone again.
Thanks dude, nice tutorial, worked perfectly.
Was getting around 36%, performed the tutorial, rebooted and came up with 28%. First time that has happened.
Cheers
You got that 28% just cause TF3D wasn't on yet
or maybe you just disabled it ?
28%, do you guys mean the memory consumption? i get about 45%....... you guys haven't installed anything on your hd? i got lots of stuff, like gyrator2, icontact, thumbcal, s2u2, and mail synchronisation and stuff running in the background......
markqld said:
HOW TO STOP ACTIVESYNC FROM TURNING ITSELF ON ALL THE TIME:
Congratulations! Activesync is now gagged from opening on it's own and ruining your life! Your work is not done just yet though – time to clean up and get rid of the now unwanted fake Exchange Server.
1. Go back into Activesync's Menu, then Tap Options.
2. Highlight Microsoft Exchange, then tap Delete. A warning message will appear about removing files etc, but as you have no files associated with the fake Microsoft Exchange, it's nothing to worry about – just tap Ok.
3. The list will now only show your remaining PC Sync connection(s). Obviously do not delete these!"
PS. If you connect your HD to your PC with USB cable, ActiveSync will start automatically and everything will sync up as usual (I tried it). But after you disconnect, click the Task Manager button at top right corner of HD Flo home screen and tap the X next to ActiveSync to close active sync.
Click to expand...
Click to collapse
mouki_9 said:
i think it's because you remove the exchange server. If you don't remove the fake exchange server, the schedule option remains. If you remove the fake exchange server, the schedule option is gone again.
Click to expand...
Click to collapse
mouki_9 is right. You don't have to delete the fake exchange server in order to work fine. In my HD I have kept the fake exchange server and it works.
In order to close ActiveSync when you unplug the dfevice, install elias ActiveSync Killer. That solves the problem.
Merry Christmas and Happy New Year to all of you
28% yes memory consumed. It did go up to 36% again after I opened and closed an application.
Anyway, it's good to get rid of that active sync, no point having it on if it isn't being used
ktsak said:
mouki_9 is right. You don't have to delete the fake exchange server in order to work fine. In my HD I have kept the fake exchange server and it works.
In order to close ActiveSync when you unplug the dfevice, install elias ActiveSync Killer. That solves the problem.
Merry Christmas and Happy New Year to all of you
Click to expand...
Click to collapse
may b it is better for the topic starter to change the tutorial, i think a lot of the users will be disappointed to see it doesn't work after they deleted the exchange mail. It is a very VERY good solution. My battery drain also is less than before, which is caused by the active sync i think.....
mouki_9 said:
may b it is better for the topic starter to change the tutorial,...
Click to expand...
Click to collapse
I edited the originl,thanks.
markqld said:
I edited the originl,thanks.
Click to expand...
Click to collapse
outstanding. thanks
I deleted the fake account and active sync became active again all the time, it reverted to how the situation was originally.
So for me I have to keep the fake account, no problem.
markqld said:
HOW TO STOP ACTIVESYNC FROM TURNING ITSELF ON ALL THE TIME:
(I've rewritten this for the HTC HD and I works Brilliantly well).
Active Sync can start again by itself via various scheduling routines. There is a way to prevent this known as the "Fake Server Trick":
This 'server trick' was discovered by an Aximsite forum member known as Invid
This post originally created by IamNotMe fourpages.co.uk (Adapted by me for HD)
"1. Turn on your Device
2. Go to Start > Programs > Activesync. This will open the Activesync program.
3. Tap Menu at the bottom right hand corner of the screen. This will bring up the Options Menu. Notice the option Schedule... is greyed out? This is the all-critical option we need to get access to. But as it's disabled we can't change Activesync's default synchronisation schedule.
Ok, so how do we enable the Schedule option? Easy!!! Fool Activesync into thinking there is an Exchange Server to sync with:
1. From Activesync's Menu tap on Add Server Source.
Enter any email and untick box then click next.
2. In the following screens you can enter any old garbage. It does not matter, but just in case your unsure, just type the following in the indicated boxes:
Server Address: fake
Leave box ticked and Tap Next
User name: fake
Password: fake
Domain: fake
Leave box ticked and Tap Next
Untick all of the 'Data you want to synchronise' options
Tap Finish
3. Ok, we're done creating the server. You should now see in Activesync's main screen your normal Activesync connection(s), and a new connection called Exchange Server.
4. Go back into the Menu, and lo and behold the Schedule option is now enabled! Go ahead and tap it!
5. You will see that both options in the Schedule screen may be set to Every 5 Minutes
6. Using the drop downs, change both the Peak times and Off-peak times boxes to Manually.
7. Press the OK button at the top right of the screen.
Congratulations! Activesync is now gagged from opening on it's own and ruining your life! Your work is not done just yet though – time to clean up and get rid of the now unwanted fake Exchange Server.
1. Go back into Activesync's Menu, then Tap Options.
2. Highlight Microsoft Exchange, then tap Delete. A warning message will appear about removing files etc, but as you have no files associated with the fake Microsoft Exchange, it's nothing to worry about – just tap Ok.
3. The list will now only show your remaining PC Sync connection(s). Obviously do not delete these!"
Note: some users say it works better if you leave the fake server there (undeleted). Not the case for me, however, it does no harm to leave it undeleted as it is totally inactive and has no effect.
PS. If you connect your HD to your PC with USB cable, ActiveSync will start automatically and everything will sync up as usual (I tried it). But after you disconnect, click the Task Manager button at top right corner of HD Flo home screen and tap the X next to ActiveSync to close active sync.
My Results: Processor & working memory usage is significantly decreased, battery lasts longer and ActiveSync is not trying to sync all the time.
Click to expand...
Click to collapse
Hi,
I tried both options, keeping and deleting the fake server, but no help my memory never showed less than 45%, and every five minutes or so, i can see activesync in task manager, though i have set it to 4 hours, this is the maximum i can set, i don't have manual option...
Please help me.
Thanks.
Any way/program to kill the activesync automatically several seconds after the usb cable is unplugged from the phone?
SmartMan2583 said:
Hi,
I tried both options, keeping and deleting the fake server, but no help my memory never showed less than 45%, and every five minutes or so, i can see activesync in task manager, though i have set it to 4 hours, this is the maximum i can set, i don't have manual option...
Please help me.
Click to expand...
Click to collapse
'Manually' is at the TOP of the drop-down lists.
I also unticked the boxes in this window (not that it makes much difference)
I tried it. I let the fake exchange server otherwise activesync comes back always... no it's ok. But not tried to sync. my phone yet...
Ciao
Fred
With the HD I also have to keep the fake server in the list, if I remove it the manual setting also stops working. Weird but not a problem for me.
Thanks..
markqld said:
'Manually' is at the TOP of the drop-down lists.
I also unticked the boxes in this window (not that it makes much difference)
Click to expand...
Click to collapse
Stupid me , i did it, hope it works....!!! Thank you bro....
Thanks. It worked fine here. I left the fake server.
My memory improved by 1 -3%. I'm sure the battery will last a bit longer now.
However, even with no programs running, my memory is still at 36%!!! I hardly have any programs installed! Man, how do you do it so that it drops to 28% or less?
The only programs installed are (and currently none are running in Task Manager):
- Google Maps (was already there)
- Battery icon fix to get green percentage battery
- Massimo Colored Top Bar
- Mobipocket Reader
- Manila Calculator skin
- tnyynt SD card TuneUP
- TomTom Navigator
- SoftReset
- PHM Registry Editor
- Duality Software HandySync for PPC
Awesome OP i got my memory consumtion from 36% when active syc was always running to 26% after a soft reset, .
apps installed
coreplayer 2.5
garmin xt
hd tweak 5.4 including hd soft reset
igo 8
nodata
klaxton alarm programe
tnyynt SD card TuneUP

Categories

Resources