[Security Advisory] Circumvent Device Lock in Blackberry Connect for Windows Mobile - General Topics

Circumvent Device Lock in Blackberry Connect for Windows Mobile
---------------------------------------------------------------
Description:
------------
BBC features a security module that, if configured and activated, locks the device after a specific amount of time.
In a corporate environment this is usually set up by a security policy which is pushed to the device via Blackberry Enterprise Server (BES).
If the device is locked the user has to enter a password to unlock the device again.
There are two ways a user can compromise the security implied with the BBC security service.
1) Using a task manager a user can deactivate the BB security service (bbsecurity.dll) which is responsible for enforcing the security policy. The BB service itself is not affected by stopping the security service as long as the device is not rebooted. Thus the security policy is no longer enforced but the user is still able to use all other BB features.
2) The BB security service does not block all user actions during device lock. Only the screen overlay is enforced but applications might still be started using hardware keys. There are several ways to misuse this flaw. One for example is if a voice command software is installed, the user can still send voice commands to the device. If Microsoft Voice Vommand is installed and bound to a hardware key and the device gets lost or stolen a malicious person can press the voice command hardware key and ask for upcoming appointments, dial numbers etc. which leads to information leakage.
Affected:
---------
Blackberry Connect (BBC) for Windows Mobile PocketPC 4.0.0.97 (only version tested, but suspectable all currently available 4.x versions)
Not Affected:
-------------
Blackberry Connect (BBC) for Windows Mobile PocketPC 2.x
Workaround / Fixes:
-------------------
None
Vendor Contacted:
-----------------
14.05.2008
Vendor Response:
----------------
None

How to deactivate it?
Hi,
I am looking for long time how to deactivate this security feature and would be interrested how to schedule with a task scheduler the dll??
Could you please advise how to do this?
Thanks

jsimpson said:
Hi,
I am looking for long time how to deactivate this security feature and would be interrested how to schedule with a task scheduler the dll??
Could you please advise how to do this?
Thanks
Click to expand...
Click to collapse
You cannot deactivate it completely since the policy is enforced after each softreset. As I wrote you can use a task manager to stop the service, but you should under no circumstances stop it permanently because your device will not come up anymore if the service is completely disabled.
So to get back to your question; No, I cannot tell you how to do it with a task scheduler as the only way I know is using a task manager.
One can write a small utility to stop the service and after a softreset one can run this program to avoid using a task manager for that, but AFAIK there is no such program.

mmm After being happy when I put the WWE HTC rom on my TMO Vario IV and after managed to install and initialize Blackberry Connect .103 I got disappointed when the BB security lock came in the first time.
I cannot set the lock-timer higher than 15 min.
Its extremely nasty when I am driving using Tom Tom navigator.....have to type the password every now and then (I have the feeling not exact 15min's!).
I tried the stop-service trick, but that one appears non working with (at least) BBC version .103 and .104 on my device.... Without running BB security service the device wont wake up or soft-reset itself.
Has anyone encountered these new issues with BBC 4 security lock and has anyone found a solution yet???

Was thinking to let the security lock active (preventing my device from locking up or soft-resetting spontaneously) and to build a script that runs in the background checking whether or not the security lock screen is present. And once it is...pastes the security code in the box and pushes OK.
Does this sound do-abe?

edsub said:
Was thinking to let the security lock active (preventing my device from locking up or soft-resetting spontaneously) and to build a script that runs in the background checking whether or not the security lock screen is present. And once it is...pastes the security code in the box and pushes OK.
Does this sound do-abe?
Click to expand...
Click to collapse
Do the same for GOODLINK and you got a deal!

Well I managed to fix this like I mentioned.
Attached are 2 Mortscripts that to run in background from \Program Files\Mortscript
(I have a shortcut in \Windows\StartUp to make sure it is run when my devices is reset, so i do not have to start it myself after every reset, but thats optional)
The 1st script is for general purpose: It just makes sure you will not be bothered again by the BBC security screen
The 2nd script only works when TomTom navigator is active.
You simply choose which script suits your needs best. Both can be run at he same time also I suppose.
The 1st script, BBCUnlock.mscr, simply waits for the security screen, sends the appropriate keystrokes (leftsoftkey, password, leftsoftkey) and restarts itself (to wait for the next security screen popup).
Beware:
1. Enter your own password in the right placxe in the script before using it.
2. Comment-out the last line until you are absolutely sure the script works (remember: 10 wrong passwords deletes all BBC data on your device!!)
It runs in a couple of seconds (which you see happening)
The 2nd script, NoLockTTNVGA.mscr, only works when TomTom Navigator is running: Every 10 minutes it taps the zoom-in and zoom-out hot-spots in TomTom's 3D view (based on VGA resolution!!), before re-launching itself again. This makes the security time-out will never happen as long as TomTom is running.

Update:
The NoLockTTNVGA script works flawlessly, but only fixes the issue when TTN is active
The BBCUnLock script has some glitches. Apparently it locks up my device when
- a reminder 'stays active' for some reason.
- TomTom Navigator is active (but that can be fixed whith the other script!)
The script can be run simultaneously. And when you have TTN: for now they must!
Not sure how to make the BBCUnLock script more stable, any help appreciated.

Hi edsub,
Thanks for your efforts so far. Up to now I have used MemMaid in my startup files so that after a soft reset, I have to firstly unlock the Blackberry and secondly the MemMaid then kicks in and I disable Blackberry Security in Startup Services. This means the security is overridden until my next soft reset as you already know. Therefore, I don't need to install the mortscript for TomTom.
However, I am particularly interested in the other mortscript you have given. I want to be able to simply soft reset my Diamond and then just leave it, without having to (1) input my password and then (2) disable the Blackberry Security in MemMaid.
I think your mortscript is possibly the answer to my prayers.
However, I have installed it to my device and also installed MortScript v4.3.0.2 Beta. I am concerned that (1) I am a beginner & this is too advanced for me and (2) running mortscript will eat up my battery.
I have renamed the extention on your file with .doc and input my password overwriting the appropriate parts) on my desktop and then renamed the extention back to .mscr and then installed in the MortScript folder back on my Diamond.
In MemMaid, I have put the Mortscript and Autorun .exe's into the Startup Items section, so this should run after a soft reset.
However, my Diamond does not unlock itself. What am I doing wrong?
I really appreciate any help you can give me. I am very much a newbie with this program!
I am persevering with this, but cannot get it working. I have put a shortcut for Mortscript.exe and the BBCUnlock.mscr into my Windows Startup folder using MemMaid. I have also tried to change the order of the programs starting on MemMaid, but this does not seem to have any effect on inputting the password. I have obviously changed the word "secret" to "mypassword" in the BBCUnlock.mscr file. I have also tried just putting the BBCUnlock.mscr (without the Mortscript.exe) in the Startup folder.....
I would appreciate your help edsub...

Update:
I have managed to get the BBCUnlock.mscr work during normal operation, but it does not work for the password immediately following a soft reset (it does work thereafter).
This is already a huge improvement as I don't need to then disable the Blackberry Security from MemMaid following a soft reset. However, how can I get it to work for the password immediately following a soft reset?
Please help edsub!!! This is the final ingredient to my perfert Diamond!!!

I think the Mortscript does not run until AFTER the Blackberry Security has been unlocked for the first time following a soft reset. I have tried to change the order of the shortcuts on MemMaid, but haven't managed to succeed. Can anyone offer any help PLEASE???

I have tried some more things too:
Added in a sleep timer of 5 seconds from sensing the "owner information" to pressing the left soft key and also increased the time from pressing the left soft key to inputting the password. It works great in normal mode, but still doesn't work for the single password required immediately following a soft reset.
Also I have tried to put not just a shortcut into the startup folder, but the actual mortscript itself. Plus the shortcut!
I can't believe there aren't more people with this problem. Edsub has certainly created a wonderful mortscript here. It is nearly perfect and I'm sure others would want it if it worked for ALL password inputs required.
Can anyone please help????

I guess Mortscript is not running before the password is given for the first time. I have this behaviour too. So i have to give the password myself right after reset. After that the Mortscript takes good care of it.

edsub said:
I guess Mortscript is not running before the password is given for the first time. I have this behaviour too. So i have to give the password myself right after reset. After that the Mortscript takes good care of it.
Click to expand...
Click to collapse
Hi Edsub, nice to see you back! Thanks for the reply & PM. Your Mortscript programme is still the most important programme on my device! I did try to re-order the start up processes on SK Tools so that the mortscript would start before the Blackberry security, but I couldn't get it to be more important in this way!! Now I have a Diamond 2 and am hoping not to have to soft reset at all. I have another problem now - I can't seem to get BBC working at all on this phone, but that's another story.....

EdSub, as you are my hero for getting the Blackberry security to sort itself out via your Mortscript programme, I wonder if you can write another Mortscript programme for this: http://forum.xda-developers.com/showpost.php?p=4381321&postcount=89?
I would be very grateful!! I think other Blackberry users would be too.

Hi,
Maybe the question is idiot, but reading the first post, I was wondering why not create a small script which would simply deactivate bbsecurity.dll on startup... If I read it well, doing this once would be enough, and have no impact on the BB service itself...
Using a small sleep, it would be easy to put this script directly in the windows startup folder so that the sleep leaves enough time for the dll to start, and then deactivate it...
Isn't this possible?
Thanks

bbdoc said:
Hi,
Maybe the question is idiot, but reading the first post, I was wondering why not create a small script which would simply deactivate bbsecurity.dll on startup... If I read it well, doing this once would be enough, and have no impact on the BB service itself...
Using a small sleep, it would be easy to put this script directly in the windows startup folder so that the sleep leaves enough time for the dll to start, and then deactivate it...
Isn't this possible?
Thanks
Click to expand...
Click to collapse
Edsub already did this with Mortscript. It doesn't de-activate it completely, just senses when the code is required and then enters the code. I would like a script which does what you are suggesting.

mitsi said:
Edsub already did this with Mortscript. It doesn't de-activate it completely, just senses when the code is required and then enters the code. I would like a script which does what you are suggesting.
Click to expand...
Click to collapse
Yes, I know this script, and I'm using it... It's working quite good, even if it sometimes misses the code, don't know why... but I'm a bit worried about battery consumption linked to the fact a script is constantly running only for typing this password every 20 minutes... Deactivating the dll would probably be a more efficient solution, but maybe this is not possible using mortscript...

bbdoc said:
Deactivating the dll would probably be a more efficient solution, but maybe this is not possible using mortscript...
Click to expand...
Click to collapse
You can use the attached program to stop the service. Just execute it and the service will be stopped. However, you have to do this after each softreset. I recommend to wait until the connection is established to the RIM network and then use BBStopSec.exe
Hope this is what you were looking for.

That's indeed what I was looking for... I'm just surprised it's an .exe and not .mscr...
Is it something you compiled yourself? The idea I had with the mortscript was to add a sleep before stopping the service, because this way, I can simply put it in my startup folder and it will launch automatically after a soft reset... As far as the first lock screen will only come after 20 minutes, I could even put a sleep of 10 or 15 minutes before stopping the service and I would never get my screen locked...

Related

8525 - password removal

I recently installed some software for my company on my 8525. Along with the installation, the software compelled me to password protect the ppc. I can't even make a phone call without entering the password! Is there any way to remove the password provision? Is it in the registry somewhere?
losborn said:
I recently installed some software for my company on my 8525. Along with the installation, the software compelled me to password protect the ppc. I can't even make a phone call without entering the password! Is there any way to remove the password provision? Is it in the registry somewhere?
Click to expand...
Click to collapse
Start>Settings>Personal tab>Lock
remove check
The check is grayed out.
losborn said:
I recently installed some software for my company on my 8525. Along with the installation, the software compelled me to password protect the ppc. I can't even make a phone call without entering the password! Is there any way to remove the password provision? Is it in the registry somewhere?
Click to expand...
Click to collapse
what good is a security app if you can disable settings in the registry?!? the setting is probably in the software you installed.. i would look there first!
You might get better replies if we knew what software you installed....
shogunmark said:
what good is a security app if you can disable settings in the registry?!?
Click to expand...
Click to collapse
Good point. However, I'm not trying to hack the password; I'm trying to bypass the necessity of a password. It's a real pain to have to enter the password EVERY time I turn the phone on. It turns it into a two-hands device and makes it more hazardous to use in a mobile environment, for example.
the setting is probably in the software you installed.. i would look there first!
Click to expand...
Click to collapse
There are no options to disable the password in the software. The IT gods (THEIR opinion of themselves, not mine!) have defeated any option that may have been there.
You might get better replies if we knew what software you installed....
Click to expand...
Click to collapse
Another good point. The app is Goodlink. (I could live with it if it was only Goodlink that was password protected.)
now that i know its goodlink and accessing corporate mail let me offer this advice.. i have seen issues like this around the boards, right now i dont remember where they were as i only read them for my knowledge but never made a post... now all of these people could have been wrong, i am only going by what i have read so i hope this helps.. Lots of people have reported that its actually your IT's department fault here.. they have to set the password timeout on their server (and yes this does affect your phone and how it asks for passwords) some people have been successful at asking their "gods" to change the password timeout to 24 hours so they only have to enter it once a day.. so you may want to check with them again and ask them about this and what the password timeout is for your corporate account.
If I'm at the mercy of IT, I'm out of luck. We've asked for adjustments before on different situations, and they've never budged on (what seems to us to be) their arbitrary decisions...
I'm just hoping that, since it's the PPC's password (the same one that you have the option of setting when you first set the device up) that there's something in the registry that can be changed from "1" to "0" or vice-versa, to remove the "gray" from the check-box on the password screen... I'm new enough at this that I don't have any idea on a systematic approach to finding it.

Howto disable Device Lock via registry?

Hi there,
my company forces every WM user to activate the WM6 default Device Lock with a cab you have to install, which changes some registry parameters, I guess. But this cab also includes certificates (WLAN and VPN-access) that I really need, so I have to install it.
But I don't want to have my device locked every 15 minutes (especially if using Navigon...). If I try to disable Device Lock in the Settings menu, the field is greyed out. But is there any registry parameter which disables this device lock?!?
Is there another way to disable it?
Thanks in advance!
First enable the box again to untick it:
HKLM\Security\Policies\00001023
0 = Enabled; 1 = Disabled
Then install Zenyee.com Stay Unlock.cab and soft reset your device.
This program will prevent the lock to be activated again.
Great! Works just perfect for me!
This might just be what i'm after Last week I was using an ipaq on wm2003 but since the weekend I've bought myself a Sony E X1 and logged onto the works network this morning and it installed some security polices and then it started locking the phone every 5mins.
Quick search and I find this thread, hope it works, let you all know .
Ta
Update, it has given me the option and I have disabled it rather than setting it to say 24hours and also ran the keep unlocked cab file. See how it goes at work tomorrow.
well i can confirm that no further locks have appeared since logging back onto the work network can see i'm going to enjoy this forum. ta
phoenix3dfx225 said:
well i can confirm that no further locks have appeared since logging back onto the work network can see i'm going to enjoy this forum. ta
Click to expand...
Click to collapse
It works yes, but i found that the app absolutely wiped out my battery which ran very hot. I removed the app and this solved the problem, although unfortunetly device locked appeared once more. Does it wipe out yours?
WM 6.1 VPNLockingmy device
Thanks very much gang!!! I have installed Zenyee.com Unlock cab. It solved the goddamn issue, and allowed me to untick the password request in Setting, Lock.
before Icould not untick it.
now the device is not locking itself every time i turn the screen off
The manual registry cleaning worked very well. Thank you for the tip.
I haven't installed the .cab so we'll see how long it takes until it gets locked again...Maybe it won't I don't have much faith in our IT Group
Not wanting to spoil anyones fun, and i can see why periodic locking of the device is a pain, it is obviously being done for a reason. Bear in mind that it may well be considered a breach of employment contract to circumvent said security measure.
For information i am a BlackBerry Admin and so have a "vested" interest in device security. Just think what "sensitive" detail may be on the device and so open to anyone if it gets lost and this hack is running.
deedee said:
Not wanting to spoil anyones fun, and i can see why periodic locking of the device is a pain, it is obviously being done for a reason. Bear in mind that it may well be considered a breach of employment contract to circumvent said security measure.
For information i am a BlackBerry Admin and so have a "vested" interest in device security. Just think what "sensitive" detail may be on the device and so open to anyone if it gets lost and this hack is running.
Click to expand...
Click to collapse
Very true deedee,
Personally I dont use the hack on my company mobile, but on my personal one which i used to use via exchange, the policy lock is still enforced even after removing server details, which is a proper pain. The only real way is a hard reset in my experience. The app does work but wiped out my battery daily (and breaking the said security policies, which you are correct can end in your p45 in the post!!!)
Great words of wisdom as usual!
Been looking for a way to get ride of the pain in the ass device lock.... And this just made my day... thanks alot....
I agree as well. However, isn't there a possibility (via Mortscript or whatever) to disable the locking when running some application (a navigator as mentioned in this message) and to enable it again after quitting?
This way, you don't have the lock while navigating, and the policy is still upheld (unless of course, your mobile gets nicked out of the car while in navigation mode).
THANK YOU!
omg so nice to get rid of that damn phonelock thanks!!

Startup folder Contents - need explanation please

Hey Mates,
I was looking through my \windows\startup folder and I noticed a few .lnk files, some of which I didn't know what they were for. If I can determine that they aren't neccessary maybe removing them could speed things up a little. Here are the links I have so far:
AEBPlus.lnk - this is a great button mapping prog
PKG.lnk -???
poutlook.lnk - Pocket Outlook, I'm guessing it needs to be there
sddeaemon.lnk -???
spbmobileshell.lnk - SPB mobile shell obviously
I was also wondering if I removed poutlook will activesysnc stop running on it's own. I tried the sched trick to keep it from running all the time but that doesn't seem to work. I shut it down and then it keeps showing up in the task manager. Thanks in advance to any help, Cheers!
Hi,
Here you have informations about startup folder.
@+
Jules Winnfield said:
Hi,
Here you have informations about startup folder.
@+
Click to expand...
Click to collapse
That link is for WM Standard, not really applicable in this situation.
The Sddaemon is most likely the drivers to recognize your sd card.
As for Activesync you can try the following:
If you go into settings/System/Memeory and check what programs are running your more then likely will see active sync. This is due to the following fact: ActiveSync on Pocket PC side with its default settings does following - Pocket PC ActiveSync activates itself every five or ten minutes and tries to sync with the desktop.
So if you dont want your battery to be drain again, you need to prevent the ActiveSync from waking up the device every five minutes. To do this read the lines below and follow the instructions:
1. Start ActiveSync on your Pocket PC.
2. Tap "Menu", then "Add Server Source"
3. Configure a server source with a fake IP address, id and password - you can enter anything you like, it doesn't matter
4. After that you will notice that "Menu -> Schedule..." item is no longer greyed out.
5. Change your schedule to manual under both fields.
6. You can now delete your fake server - your changes to the schedule will remain in effect. ActiveSync will no longer be able to drain your battery.
Also make sure your error reporting is turned off.
Start/Settings/System/Error reporting.Set it to disable error reporting and save more battery life
HTH!
JNGold said:
That link is for WM Standard, not really applicable in this situation.
The Sddaemon is most likely the drivers to recognize your sd card.
As for Activesync you can try the following:
If you go into settings/System/Memeory and check what programs are running your more then likely will see active sync. This is due to the following fact: ActiveSync on Pocket PC side with its default settings does following - Pocket PC ActiveSync activates itself every five or ten minutes and tries to sync with the desktop.
So if you dont want your battery to be drain again, you need to prevent the ActiveSync from waking up the device every five minutes. To do this read the lines below and follow the instructions:
1. Start ActiveSync on your Pocket PC.
2. Tap "Menu", then "Add Server Source"
3. Configure a server source with a fake IP address, id and password - you can enter anything you like, it doesn't matter
4. After that you will notice that "Menu -> Schedule..." item is no longer greyed out.
5. Change your schedule to manual under both fields.
6. You can now delete your fake server - your changes to the schedule will remain in effect. ActiveSync will no longer be able to drain your battery.
Also make sure your error reporting is turned off.
Start/Settings/System/Error reporting.Set it to disable error reporting and save more battery life
HTH!
Click to expand...
Click to collapse
Thanks JN,
I tried the fake server method but activesync still seems to start up on its own. Does windows live or gmail need to call it up when they sync? it seems the polaris is the first device I've had that persistently keeps activesync running even when i shut it down.
btw, my sd card was still functional even when i removed sddaemon.lnk from the startup folder and did a soft reset??? weird. We still don't know what PKG.lnk is either.
@gatordent,
My mistake, the Sddaemon is the Cyberon voice speed dial that comes with most HTC devices.
As for AS, I don't use W.Live and do you have google mail set for auto mail retrieval? Maybe when the device goes to get the mail at your specific time, AS launches itself?
JNGold,
Alright, here is what I've done, I removed sddaemon.lnk AND PKG.lnk from startup and left the others. So far, so good... seems to have saved about 3% of memory upon soft resetting. I left outlook.lnk b/c messaging broke when i tried to startup without it. AS still starts on it's own immediately after a soft reset. The TC is definitely a little peppier.
JNGold said:
As for Activesync you can try the following:
If you go into settings/System/Memeory and check what programs are running your more then likely will see active sync. This is due to the following fact: ActiveSync on Pocket PC side with its default settings does following - Pocket PC ActiveSync activates itself every five or ten minutes and tries to sync with the desktop.
So if you dont want your battery to be drain again, you need to prevent the ActiveSync from waking up the device every five minutes. To do this read the lines below and follow the instructions:
1. Start ActiveSync on your Pocket PC.
2. Tap "Menu", then "Add Server Source"
3. Configure a server source with a fake IP address, id and password - you can enter anything you like, it doesn't matter
4. After that you will notice that "Menu -> Schedule..." item is no longer greyed out.
5. Change your schedule to manual under both fields.
6. You can now delete your fake server - your changes to the schedule will remain in effect. ActiveSync will no longer be able to drain your battery.
Click to expand...
Click to collapse
Thought I'd try this but how do I 'delete' the fake server. There's no such option that I can see. Am I just being thick?

My findings on disabling automatic activesync in WM6

Hi everyone,
I'm new to the forums, but after running into you guys every time I try and google something related to my Treo 750, I wanted to share my two cents.
I've been looking for a way to stop the "automatic activesync" thing that everyone seems to be complaining about. I have a new Treo 750 running WM6out of the box. Everything I've seen has not worked, short of totally killing activesync entirely.
Now, I can't guarantee that it works, or that it's safe and has no other side effects! Use your own judgement, I'm by no means a Treo or WM6 expert.
------
1) Install RegEdit on the Treo
I found the tool on another thread here: http://forum.xda-developers.com/showthread.php?t=273693
You put it on the treo itself, and run from the treo too.
You can't use Mobile Registry Editor for this. You get "Access Denied" errors on the key. You have to run this prog directly from the Treo.
2) Edit registry entry on treo:
HKEY_LOCAL_MACHINE\System\ActiveSync\Engines\{guid}\Settings\SyncAfterTimeWhenCradled
The original value is 5 (5 minutes? Like how often ActiveSync seems to run? hmmm!). If you change it to 0, it will revert back to 5. Instead, change it to something like 300.
Then SOFT RESET THE TREO! Changes don't take effect until you restart windows, remember the old days?
3) Edit this registry entry on your COMPUTER:
HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\#####\Services\Synchronization\Continuously Update
Set it to 0. This is the fix that didn't work anymore, I dunno if it has anything to do with anything but I set it and it didn't destroy anything
So, now what will happen is you'll plug in your Treo. It will sync ONCE. Then it should shut up and not sync anymore until you click the Sync button. I think the "automatic syncing" was the activesync on the TREO's doing, not the activesync in windows. It's that WM6 registry entry that controls how often it goes. I presume now, the Treo WILL sync five hours from now since I set my setting to 300, but I'm sure you can set it to 999 or something and get a sufficiently long time that it really doesn't matter.
As we speak, my Treo has been plugged into the USB charger for a good 15 minutes while I wrote this post, and it hasn't woken up or done anything!
-----------
Here's one other thing. If you go into the registry on your COMPUTER:
HKEY_CURRENT_USER\Software\Microsoft\Windows CE Services\Partners\#####\Services\Synchronization\Enable Sync
And set that to 0, when you plug in the Treo it will pop up an error saying that it couldn't sync the device and see the windows troubleshooter for more info. Then it signs you on as a "guest" on the Treo. I imagine you could make a REG file or something that turns this on or off.
---------
Oh, an update, it appears when I go into the sync options in ActiveSync on the computer and enable syncing "Media", e.g. windows media player library... it syncs continuously all the time forever. The "Media" part of the sync progress seems to behave differently on its own.
I guess syncing media is different? I dunno. Try it with it turned off.
Thanks a lot.
Can we have at least one week. So 300 = 5 hours. 24 hours = 1,440 while one week is 10,080. Is this gonna work or not ?
Have you tried setting up an exchange server account?
What I have done was to go into...
Programs>Active Sync>Menu>Configure Server.
At which point it will ask you for Server Info...\Type in...
"fake" then next
User Name & Password can also be "fake">next
then uncheck all the boxes.
Once you do this the "Schedule" & "Options" menus should be available.
Click on Schedule & change the settings to "Manually"
& check off "Use above settings when roaming"
This will have your treo only open active sync when starting EVDO, Soft Resetting, Connecting to your computer directly or when you start Active Sync ONLY.
Try it & let me know...
via startup folder and reg file
Hi all,
I've triend the above-mentioned fake server trick and it did not work for me (HTC Touch Cruise 2009 running Windows Mobile 6.1). ActiveSync kept coming on after a soft restart (the 'reboot, if you will) - it was driving me crazy. (In all honesty, it should be mentioned that I do not think AS chews up much battery power, memory and/or processor clock cycles, but I just absolutely, positively hate it when programs start themselves up on my (P)PC. I like to be in control!
As mentioned, I've triend the fake server trick to no avail, and I've tried disabling the notification in the notification queue as well - no permanent result, since the entries there seem to be regenerated by some other application. I ended up with several duplicate entries (which were easily removed, but nonetheless, this doesn't seem to be the best way of going about).
Anyway, it seems I've finally found a synthesis of all kinds of help available here on XDADEV (I've been lurking in here for a while) that actually seems to kill off ActiveSync's automatic starting. I am posting this from work in the hospital, so it's a quickie, but bear with me and I'll give proper credit when I can finally attribute at (while at home).
Usual disclaimer: registry editing is bliss, but when you ***** up, it may be that you have to do a hard reset and several hours of work
All revolves around the entry in the registry at:
Code:
HKEY_CURRENT_USER/Software/Microsoft/ActiveSync
which has an entry called "KeepAlive" (which is valued 1 for 'yes'). Now, if I change this to 0 (for 'no'), ActiveSync doesn't start itself any longer. However, this registry entry resets itself again upon starting ActiveSync(sigh). So, I made a reg file that writes the 'correct' value for KeepAlive and pu a link to it in the /Windows/Startup folder on my device. The reg file is very simple, it only contains:
Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\ActiveSync]
"KeepAlive"="0"
which makes it perfect for me: less risks for typos and stuff
You can put the reg file in the /Windows/Startup folder (or 'Opstarten' as it called on my device since I have a Dutch ROM) or put it in the Programs folder and drop a link to it in /Windows/Startup. That way, it runs every time you boot and in my case, this seems to hold off AS for a while. As said before, the registry key resets itself upon starting AS. I'll research a bit more and the above works in combination with the reg file, and that should put AS out of business. (Maybe the above works even on its own?)
Have fun, take care.
Marty
MartyHulskemper said:
Hi all,
I've triend the above-mentioned fake server trick and it did not work for me (HTC Touch Cruise 2009 running Windows Mobile 6.1). ActiveSync kept coming on after a soft restart (the 'reboot, if you will) - it was driving me crazy. (In all honesty, it should be mentioned that I do not think AS chews up much battery power, memory and/or processor clock cycles, but I just absolutely, positively hate it when programs start themselves up on my (P)PC. I like to be in control!
As mentioned, I've triend the fake server trick to no avail, and I've tried disabling the notification in the notification queue as well - no permanent result, since the entries there seem to be regenerated by some other application. I ended up with several duplicate entries (which were easily removed, but nonetheless, this doesn't seem to be the best way of going about).
Anyway, it seems I've finally found a synthesis of all kinds of help available here on XDADEV (I've been lurking in here for a while) that actually seems to kill off ActiveSync's automatic starting. I am posting this from work in the hospital, so it's a quickie, but bear with me and I'll give proper credit when I can finally attribute at (while at home).
Usual disclaimer: registry editing is bliss, but when you ***** up, it may be that you have to do a hard reset and several hours of work
All revolves around the entry in the registry at:
Code:
HKEY_CURRENT_USER/Software/Microsoft/ActiveSync
which has an entry called "KeepAlive" (which is valued 1 for 'yes'). Now, if I change this to 0 (for 'no'), ActiveSync doesn't start itself any longer. However, this registry entry resets itself again upon starting ActiveSync(sigh). So, I made a reg file that writes the 'correct' value for KeepAlive and pu a link to it in the /Windows/Startup folder on my device. The reg file is very simple, it only contains:
Code:
REGEDIT4
[HKEY_CURRENT_USER\Software\Microsoft\ActiveSync]
"KeepAlive"="0"
which makes it perfect for me: less risks for typos and stuff
You can put the reg file in the /Windows/Startup folder (or 'Opstarten' as it called on my device since I have a Dutch ROM) or put it in the Programs folder and drop a link to it in /Windows/Startup. That way, it runs every time you boot and in my case, this seems to hold off AS for a while. As said before, the registry key resets itself upon starting AS. I'll research a bit more and the above works in combination with the reg file, and that should put AS out of business. (Maybe the above works even on its own?)
Have fun, take care.
Marty
Click to expand...
Click to collapse
Can you tell me what program to make the REG file? because I tried Notes but it make the *.PWI format?
TIA
The ultimate solution.
Ok here's what you do. The fake exchange server solution never worked for me.
First of all you need FdcSoft's Task Manager program. It is the best and a must have.
Use the Notifications editor to disable the repllog.exe for RunAfterTimeChange.
Use the registry editor to go to [HKEY_CURRENT_USER\Software\Microsoft\ActiveSync] Change the KeepAlive value to 0. Tap and hold "KeepAlive" (or go to file menu) and select "Export...". (not Export All) Save this .reg file in the \\Windows\StartUp folder or save it somewhere else and copy it there.
Now you will need Ghisler's Total Commander.
Using Total Commander, browse to \\Windows\Startup folder or wherever you saved .reg file. (Windows mobile doesn't automaticaly know that .reg file should be opened with TaskMgr so you have to associate it.)
Tap and hold your .reg file and select Properties. Select "Associate" tab. Tap gray box that says "Associate..."
In "Command:" box browse to the folder where TaskMgr.exe is. (\Program Files\FdcSoft\TaskMgr\TaskMgr.exe)
In "Parameter:" box leave the "%1" there, and type "/silent" right after. ("%1/silent") This will keep a dialog box from poping up on start up.
"Ok" everything and you're done! Enjoy.

Can i Kill actsync (automaticaly) in my PPC??

Yes, i know i can do it manually clossing app (QuikMenu, synckill, etc.). Also i´ve tried in Notifications inTaskMgr excluding: replog.exe -->AppRunAfterTimeChange .. without success. Actsync for some strange reason always start up in a few minutes. Really is ennoying. I need KILL actsync when i don´t need it !
Please, any way to kill actsync?
I have WWE 6.1 in a Mio A701 (20931 M2D cooked)
THANKS A LOT
Frank
You could use mortscript never tried it, but in the manuals there is a "kill" function to close a application
9.21.6 End a running process (Kill)
Kill( process name )
Terminates the application. The parameter must be either the name of the exe without path (e.g.
solitare.exe) or include the entire path. Like with ProcExists, you should prefer the version without
path. See 9.21.2 Checking existence of a process (ProcExists) for more details.
WARNING: This command kills the process regardless of any losses!
It could cause data loss, crashes, or error messages.
Wherever possible, you should use Close instead, which allows the application to end gracefully
(save/close files, etc.).
from: http://www.sto-helit.de/downloads/mortscript/MortScript-Manual.pdf
You could also try quickmenu (it's somewhere around these forums), it has an option to automatically close activesync.
Thanxx..
I know that these options let to kill activesync, but manually, by press soft or hardware button. Now i have assigned a buttont to Close-all-app in QuickMenu and other hardbuton to execute SyncKill app that does te same, but only for this process. My "dream" is to see closed actsync automaticaly after disconnection on pc and don´t see again process active (i suffer also to see screen turn on every time actsync enable it without motive). When i plug device to pc must connect again, of course.
I´ll try again option in QuickMenu called "Close Actsync when disconnect Pc". I think i tried it but didn´t work me. Maybe works me now in my actual ROM.
Frank
try async killer here....
http://forum.xda-developers.com/showthread.php?p=2136914
Yes. I know.. In first post i´ve said that KillSync (async killer app) let me do the same action than QuickMenu (close all app). It´s a manual action by hardware button. I wish to do automaticaly but i don´t find solution.
Option in QuickMenu called "Close Actsync when disconnect Pc" don´t work too. After some minutes, f**** actsync proccess appear again, grrrrr...
Thanks for your atention!
Fk
There's a solution in KhanX's Touch Navia 1.5 ROM thread in the polaris section.
it's in the FAQ if I'm not mistaken.
I´ve searched in post u say and it´s the same async killer app that i said in first post. This app kill proccess when you execute it but in a few minutes, actsync appear active again. I must to press Asynkiller again (or close all app in QuickMenu). Uhmm, mb a morscript that execute asynkiler every...10 minutes?
Thanks friend!
no no.. there's a registry solution there.
Yeah, just found it..
http://forum.xda-developers.com/showthread.php?p=2921549&highlight=sync#post2921549
Second option (replloc.exe notification i have dissabled it some time ago without success). First option in regitry is a new solution but don´t work. Actsync appear again, again, again, grrrr. I will cut my veins with a comb..
Thanks again. I´m sure finally i´ll find solution in this forum. It´s the best!!
Frank
Activesync periodically starts itself and hogs your PocketPC's precious resources. To prevent this from happening you can do this trick.
--
1. Open Activesync
2. Menu > Add Server Source
3. Add Server address [one letter will do] > Next
4. Fill in the fields [again one letter will do] > Next
5. Un-check everything [optional] > Next
6. Really Close Activesync [optional but recommended]
7. Open Activesync again
8. Menu > Schedule
9. Choose Manually for both
10. Close Activesync
--
Activesync should start when you connect your device to a Computer but will not start periodically and use resources.
--
Hope this helps... ^_^
WOW... I try this trick inmediately...
Yeah! Finaly, it seems this trick works ok !!
Thanks a lot
Frank
Thank you sakshamkatyal.
I have this issue with every ROM.
I have a Μιο Α701 like mainsail, so if this a solution for him,
it's for me too.
do us all a favor and don't cut your veins with a comb.
tho... it would make a good laugh cause on your headstone we could write:
"XDA-Member - died due to ActiveSync problems"
That´s an old joke from south of Spain (traslated to english), haha..
You have saved my live !!!!
This is a cool trick. I wanna do this but I'm wondering if I need activesync running in the background for push email to work? I'm using Mail2Web.
Thanks.

Categories

Resources