PDA

View Full Version : [Tip] [Final update] ActiveSync is boring you ? Be your guest !


lastnikita
4th October 2007, 03:26 AM
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 (http://forum.xda-developers.com/showthread.php?t=299705), 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)

malatesta
4th October 2007, 11:29 PM
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!

utak3r
4th October 2007, 11:35 PM
it's easier than this - make a normal AS connection, and in a configurator, uncheck all options... and that's it :)

malatesta
5th October 2007, 01:11 AM
it's easier than this - make a normal AS connection, and in a configurator, uncheck all options... and that's it :)
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.

lastnikita
5th October 2007, 12:23 PM
it's easier than this - make a normal AS connection, and in a configurator, uncheck all options... and that's it :)

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

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.

triplejay
5th October 2007, 04:22 PM
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.)

http://www.pocketpcfaq.com/applications/undocumentedactivesync.htm

gingercat
5th October 2007, 05:46 PM
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!

lastnikita
7th October 2007, 09:11 PM
I made a version for those who don't have Outlook installed (extra window to close), 1st post edited

lastnikita
7th October 2007, 10:36 PM
the new version (no outlook) posted will work only once, I will post a working version tomorrow.

godzillaman
19th October 2007, 04:47 PM
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

lastnikita
19th October 2007, 07:08 PM
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

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.

lastnikita
21st October 2007, 08:42 PM
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 !

fyahstar
22nd October 2007, 01:54 AM
Here is the registry key to enable GuestOnly mode for activesync. Rename file extension from .txt to .reg. Hope this helps.

lastnikita
22nd October 2007, 10:47 AM
Well, while it makes all my work useless (and your file is missing slashes), it works fine, many thanks ;)

fyahstar
22nd October 2007, 04:27 PM
my bad on the slashes, thanks for correcting it.

godzillaman
25th October 2007, 04:27 PM
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.

lastnikita
25th October 2007, 04:48 PM
Read here to prevent Active Sync to run (http://forum.xda-developers.com/showthread.php?t=288352) from PPC side.

godzillaman
25th October 2007, 07:16 PM
Read here to prevent Active Sync to run (http://forum.xda-developers.com/showthread.php?t=288352) from PPC side.

Million thanks... You are fast! Very fast indeed...

triplejay
29th October 2007, 12:00 AM
oh, no-one read my link? You could have had that key on the 5th october :p

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. :D

stroths
29th October 2007, 05:40 AM
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.

lastnikita
29th October 2007, 11:15 AM
oh, no-one read my link? You could have had that key on the 5th october :p

ooops... :o

I'd like to find another utility now, which would sync. time & date either through internet or act.sync (still without pairing of course)

Tip: You can use PIMbackup for many files also, including my documents, favorites, etc... :)

triplejay
30th October 2007, 03:42 AM
I don't know, maybe synchro time would do the job?
(it's included in Cloudyfa's "mysterious")
Syncs nicely by GPRS...
http://gsoft.fromru.com/download/SynchroTimeSetup.exe

of course a sleeker solution would be nice :cool:

lastnikita
30th October 2007, 10:55 AM
Thanks for the tip, I'll give it a try..
I'll probably write an all-in-one tool later to perform post Hard-Reset operations.

lastnikita
22nd November 2007, 04:50 PM
Would someone still have the old blaster tool ? I need the install reg key, I forgot the location :-/