Scheduled Bluetooth Sync - Networking

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.

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

[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.

Clock Auto-Update?

I can't seem to find any way for the clock to auto-update itself to keep it accurate!
There doesn't seem to be any option unless I've missed it..
Does anyone know how to do this?
try "SmartTimeSync 1.1"
but is there any way without having to install a seperate program?
Activesync syncs the time too... you don't need any if you sync with your pc often.
perhaps you listen to radio from time to time?
PowerRadio has an option to sync via RDS (if I remember right - have not used it in some time)
also there are many tools to sync via timeserver or gps...
I have to agree with the OP. Why isn't there a way to sync time natively on the phone? All of my other phones do.
As already said, clock is automatically synchronized when device is connected to a PC via Activesync or WMDC. In Activesync it is enabled by default but can be disabled in Options. I personally use GPS2Blue to get date&time from GPS sats..no need for a connection nor a pc,easy.

Stop ActiveSync

How can you stop ActiveSyncn from starting automatically? The "usual" solution that worked for the HD (create a fake account within ActiveSync) does not work in the Leo.
Any ideas?
I'd like to know it as well. Fake server method doesn't work properly.
What exactly do you mean by "stop ActiveSync from starting automatically"? Do you mean to stop it from running at boot or stop syncing items?
If the later, to stop it from syncing, just chose "Menu", "Schedule" and select "Manually".
If you mean to stop it from starting at boot, I have no idea...
If you mean stop it synching automatically when you connect it to teh PC, go settings - menu - all settings - connections - USB to PC and fiddle with the settings in there. You can have the pc automatically see it as a USB disk, or ask you every time you connect, etc.
Thank guys for quick response. I mean to stop it completely. I don't need it at all (Linux on desktop, MacOS on the laptop ). The best option for me would be possibility to uninstall it (I need to learn how to cook then ). I tried "fake server method" to switch off scheduled activesync activation. It is working on my sister's HD perfectly but unfortunately not on HD2 .
In that case just use USB to PC and set it to disk mode automatically, and it simply wont start activesync.
Believe me it will. Activesync is working in the background all the time. When you switch it off it will be back. I'm a purist. I just don't like useless things.
how odd,I unplugged mine from the pc twenty minutes ago and as is currently not running, neither in programs or processes. after a soft reset still doesn't show up until I plug it into the pc and select as instead of disk.
oh well guess I'm just lucky , hehe, best of luck.
Yes, you are. Maybe it's because of SONE Rom?
I've got it back after each system restart for example.
hi,
so then, there is no good solution for this pb ?
Hi,
Try this.
On your PC go to start ->run and type msconfig.
On the startup tab uncheck wcescomm,apply,close and restart PC.
That will stop it starting up with each reboot.
You can also go into control panel and find your startup menu and take it of of startup.

Categories

Resources