PDA

View Full Version : Disable Activesync Autostart?


ludester
3rd December 2007, 02:48 AM
Well I have the CDMa version of the HTC touch and found on soft resets (i.e. I turn the device off for the night and turn it on in the morning) it keeps turning on ActiveSync on the ppc it self even if the device isn't connected to my PC.

Is there anyway of disabling activesync from starting up with the ppc. I have tried that adding a fake source and setting all the sync options to manual but that doesn't stop it from coming up on a soft reset.

Thanks

violent23
3rd December 2007, 08:18 PM
I am having the same problem, (if that's what it is) I hate having to manually shut down active sync everytime I soft reset

ludester
6th December 2007, 03:52 PM
I think i may have figured out what's causing ActiveSync to load on start. Bthasplugin service which is pretty much Active Sync over BlueTooth service which I don't find useful at all.

Problem is I can't for the love of god delete it, it keeps saying it can't delete that key.

Its under HKLM/Services

Anyone have any insight ?

ludester
7th December 2007, 03:58 PM
bump no one?

Where should I post this question to get developers/hackers input ?

veeru27
7th December 2007, 06:32 PM
Use "Quick Menu", It's has an option to close activesync when the phone is not connected to PC. Look for it in the "Development & Hacking forum"

kipmast
8th December 2007, 02:57 AM
To keep Active Sync from popping up at different times for no apparent reason:
You will need to go into the registry.
1.Download any program TASK Manager/Resco Explorer/Memaid etc.
2.Find the NOTIFICATIONS menu (or Notified Programs).
3.Find <repllog.exe> it will have several types listed. Find the one that says<AppRunAfterTimeChange>
4.Highlight this prompt.
5.You will need to Disable this. The only time Activesync should start now is when you sync to your PC.

I have done this on every HTC device I've owned with no issues. You can always Re enable this function if for some reason you wanted too. :)

ludester
8th December 2007, 06:33 AM
To keep Active Sync from popping up at different times for no apparent reason:
You will need to go into the registry.
1.Download any program TASK Manager/Resco Explorer/Memaid etc.
2.Find the NOTIFICATIONS menu (or Notified Programs).
3.Find <repllog.exe> it will have several types listed. Find the one that says<AppRunAfterTimeChange>
4.Highlight this prompt.
5.You will need to Disable this. The only time Activesync should start now is when you sync to your PC.

I have done this on every HTC device I've owned with no issues. You can always Re enable this function if for some reason you wanted too. :)

I'm sorry your instructions are very confusing.

I have Resco Explorer and using Resco Registry Editor, I tried searching for repllog.exe and found a few entries but nothing has AppRunAfterTimeChange or anything of the likes.

Confusing part is your talking about notifications and stuff. I tried searching for AppRunAfterTimeChange and nothing came up.

Let me know thanks

nmtgman
19th December 2007, 05:10 PM
I have this same problem and can't seem to fix it... ActivSync is always coming up for no reason. I do have quickmenu and don't see any options to have it disabled unless connected to a computer.

I went into the registry and couldn't find the above referrenced file. Does anyone have the answer? Thanks.

veeru27
19th December 2007, 06:09 PM
Under Quickmenu - Start/Quickmenu/Options/
Scroll down and the last option -
"CLOSE ACTIVESYNC when disconnected". Tick the option. Thats it!.

2manyphones
19th December 2007, 06:44 PM
I am fairly certain you could also delete the shortcut "poutlook" in \Windows\StartUp. This is why/how ActiveSync starts at power on. You may have to do the rename and then delete trick if you get the message that it can't be removed.

mswlogo
19th December 2007, 07:37 PM
I am fairly certain you could also delete the shortcut "poutlook" in \Windows\StartUp. This is why/how ActiveSync starts at power on. You may have to do the rename and then delete trick if you get the message that it can't be removed.

I have poutlook removed and activesync still starts. poutlook is for push mail and/or polling mail (neither of which I use).

I'm scratching my head with veeru27 instructions (I have a Sprint Touch).

mswlogo
19th December 2007, 07:47 PM
To keep Active Sync from popping up at different times for no apparent reason:
You will need to go into the registry.
1.Download any program TASK Manager/Resco Explorer/Memaid etc.
2.Find the NOTIFICATIONS menu (or Notified Programs).
3.Find <repllog.exe> it will have several types listed. Find the one that says<AppRunAfterTimeChange>
4.Highlight this prompt.
5.You will need to Disable this. The only time Activesync should start now is when you sync to your PC.

I have done this on every HTC device I've owned with no issues. You can always Re enable this function if for some reason you wanted too. :)

I'm tempted to try this but in MemMaid there is no option to disable it, just delete. I can delete it but don't know how to create it if I want it back.

Isn't there other things that run on change time besides ActiveSync, how do I know this is JUST ActiveSync?

I'd just like to understand better what I'm changing here. Thanks for the tip regardless. I'm always interested in learning more.

EDIT: Wait repllog.exe IS ACTIVESYNC, I get it now, thanks !!

veeru27
19th December 2007, 09:03 PM
I have poutlook removed and activesync still starts. poutlook is for push mail and/or polling mail (neither of which I use).

I'm scratching my head with veeru27 instructions (I have a Sprint Touch).

:D, Sorry for the cryptic instructions, was typing on the phone. Now that am on my PC. Am posting the screenshots!,. Hope this helps!

http://img155.imagevenue.com/loc901/th_95227_pc_capture1_122_901lo.jpg (http://img155.imagevenue.com/img.php?image=95227_pc_capture1_122_901lo.jpg)



http://raizam.blogspot.com/2007/06/reversing-back-to-activesync-in-vista.html
http://raizam.blogspot.com/2007/06/reversing-back-to-activesync-in-vista.html

mswlogo
19th December 2007, 11:39 PM
:D, Sorry for the cryptic instructions, was typing on the phone. Now that am on my PC. Am posting the screenshots!,. Hope this helps!

http://img155.imagevenue.com/loc901/th_95227_pc_capture1_122_901lo.jpg (http://img155.imagevenue.com/img.php?image=95227_pc_capture1_122_901lo.jpg)



http://raizam.blogspot.com/2007/06/reversing-back-to-activesync-in-vista.html
http://raizam.blogspot.com/2007/06/reversing-back-to-activesync-in-vista.html

Thanks I got confused by what you call "QuickMenu". The HTC App included with Sprint Touch that is also referred to as Close Button or TaskManager is also sometimes called a "QuickMenu".

I ended up using kipmast's method to disable it. QuickMenu is probably just doing the same for you.

Is that QuickMenu you showed an HTC app or a home grown XDA Developer app?

nmtgman
21st December 2007, 05:27 PM
I am fairly certain you could also delete the shortcut "poutlook" in \Windows\StartUp. This is why/how ActiveSync starts at power on. You may have to do the rename and then delete trick if you get the message that it can't be removed.


How does this affect the future use on ActivSync? Will it give me an error if I try to start it up direct?:confused:

I tried the quickmenu option, but it didn't work...

dgattenb
28th December 2007, 03:56 PM
I have taken this entry out the windows start up options on my Touch ( orange UK ) and active synce is still starting .. so it' cant be this ...:(... mind you the system seams to work faster... I found a link that should help :

http://forum.xda-developers.com/showthread.php?t=260224

deviationz
7th January 2008, 06:24 PM
You can prevent activesync from turning on if you disable the clock syncing with the mobile network.

To do this go to phone --> services --> time synchronization and disable syncing.

After this go to the quick menu and turn off activesync. This will prevent it from coming back on.

HTH

dagurasu
22nd January 2008, 09:25 PM
Well since it's clear that repllog.exe is the problem... I went right to the source. I don't want activesync to start EVER except if I explicitly ask it to , so I don't mind essientially destroying it. Also I don't really want to install a new program (quickmenu) just for this and like others, I don't have the reg entries mentioned above. I just copied PlaySilence.exe from the windows directory to the storage card and then renamed it to repllog.exe. I then copied it back into the windows directory, thus "overwriting" the repllog.exe rom file. You can revert this change by "deleting" repllog.exe, which doesn't really delete it, but reverts it back to the rom file. So far I've done one soft reboot and activesync didn't start and I got no side effects, so far so good.

Now, I wouldn't mind having a working copy of repllog.exe sitting around somewhere so I can start it on demand. Unfortunately, I cannot seem to copy this file (before ovewriting it). When I try, using Total Commander I get an error that the file already exists, even if I try to change the destination to the storage card and even if I change the destination file name to something entirely new; it explictly says that \StorageCard\newfile already exists (and has the same size as the original) and attempting to overwrite it fails. I'm used to ROM file weirdness, but this is the first one that I found that I couldn't copy. Ironically I'm thinking activesync is probably my best chance at copying this file.

Edit: In the following post someone somehow deleted this file by accident and ran into the same problem as me trying to get a copy, but somebody managed to extract it and post it there:


http://forum.xda-developers.com/showthread.php?t=320010&page=21

I don't know if it's the same version but I'll probably try it later or see if I can figure how to extract it from a recent sprint rom.

dagurasu
22nd January 2008, 11:38 PM
The file linked above seems to work as a replacement copy of activesync (although I haven't actually tried to sync yet). If you run it directly it gives some error that you must acknowledge. It needs a parameter to run without error. The link in \Windows\Start Up\Programs doesn't link to repllog.exe directly, it links to some shell variable which is defined to "repllog.exe /remote" in the reg entry
HKLM\Software\MICROSOFT\Shell\Rai\:MSSYNCAPP
under the value "1"

So what I did was copy the replacement repllog.exe to \Windows\ActiveSync.exe (but you can name it whatever you like)
and changed the registry data to "ActiveSync.exe /remote"

Of course this had the potential of pointing the whole OS at the new file and bringing back all the problems, but fortunately this did not happen. The only it did was make the program menu link work correctly to call the replacement file ONLY WHEN I LAUNCH IT. Activesync still does not start on soft reset or when inserting a usb cable connected to a linux box. I'll see what happens when I plug it into a computer that actually speaks activesync, but as far as I care, I'm done. This is the solution I needed.

Maybe I should write a separate post later? Maybe someday I'll learn to cabify this solution... two files to insert and one registry change, shouldn't be bad.

PS. I already did the fake server scheduling fix before all this, so I can't yet say for certain that pointing the registry at the new copy won't bring back the 10 minute problem if the scheduling fix hasn't been applied. I'm betting it won't though.

Rumball
31st January 2008, 10:33 PM
...and like others, I don't have the reg entries mentioned above.

kipmast's post isn't talking about a registry entry but rather the notification queue...you can find the indicated repllog.exe reference in the "Notifications" database which you can view/edit with MemMaid or TaskManager (freeware).

dagurasu
4th February 2008, 07:01 PM
well I had looked for something like that too. I have htc task manager.. now the one that comes in the test rom. I see no such menu in my task manager settings. Maybe you are referring to a different TaskManager though. In any case, I can't find it. My solution works ok though... but his does sound a little better if you actually want to use activesync alot.

Curare
5th February 2008, 01:37 AM
I used the MemMaid method and it works perfectly. ActiveSync only kicks in when I manually launch it.

OPPressed
9th February 2008, 08:08 AM
kipmast's method works perfect... Just a lil confusing for some newbs.. Don't look in the registry for these settings, use a program like MemMaid or Pocket Mechanic.

gianmarco00
17th February 2008, 05:54 PM
As pointed out above, disabling the time sync option is the easiest way to do this. I would suggest trying that first. Since I made that change, I haven't had activesync open at all unless I open it.

mrsteel74
25th February 2008, 07:41 PM
I stumbled upon this thread and disabling the Time change option worked like a charm on my Wing thanks!

leyrad
26th February 2008, 11:51 PM
I have used Memmaid and only find a file in notifications that states <AppRunAfterRndisFnDetected 12:00AM - 12:00AM> Is this the file to delete?

caretaker22
6th March 2008, 11:18 PM
To keep Active Sync from popping up at different times for no apparent reason:
You will need to go into the registry.
1.Download any program TASK Manager/Resco Explorer/Memaid etc.
2.Find the NOTIFICATIONS menu (or Notified Programs).
3.Find <repllog.exe> it will have several types listed. Find the one that says<AppRunAfterTimeChange>
4.Highlight this prompt.
5.You will need to Disable this. The only time Activesync should start now is when you sync to your PC.

I have done this on every HTC device I've owned with no issues. You can always Re enable this function if for some reason you wanted too. :)

I accidently deleted all repllog.exe on my phone and now my device can't sync up with my computer. Could you show me how to restore it please. Please don't tell me i need to hard reset. Please help thanks

caretaker22
6th March 2008, 11:26 PM
Found the answer: http://forum.xda-developers.com/showthread.php?t=302459

Mark2817
11th March 2008, 07:06 PM
My Touch continues to randomly come out of sleep mode. Originally I thought it was due to the fact that ActiveSync was always running. I was able to Disable Activesync Autostart via TimeSync and am still having this issue. I cannot get this phone to stay asleep when it is not being used (wakes up at least every 20 minutes). Any thoughts on how I can fix this? Has anyone else experienced this issue?

LycanNyc
21st March 2008, 05:21 AM
Who has the registry hack for this ?

AcidSno
13th May 2008, 06:55 PM
I disabled the repllog.exe associated with AppRunAfterTimeChange and it disables it...then after a soft reset it just copies itself and lets Activesync run. so I ended up with 2 copies, one disabled and one enabled. so I tried again and andhad 2 disabled and one enabled

kbywg
12th August 2008, 05:41 PM
...no action on this since May? Has someone figured it out without having to install a new program?
Everything on my Touch works great including Active Sync, BUT, everyday when I turn on my phone and open Task Manager there it is. Active Sync is sitting there. I can shut it off there but I don't want to wait the extra time it takes every day when I turn on my phone for AS to start so I can turn it off. It is not in my Start Up folder and it only started this recently. I can't think of any new tweaks or installs that may have triggered it.
Extended Elf Stock Rom WM6
SPB Mobile Shell
SPB FSK
Chi Tai Dang Batt Status
TCPMP
Opera
S2U2 S2P S2V
Anyone?
Thanks much.

runoverheads
19th October 2008, 01:29 PM
INTRO:
1) no one WM's process start activesync at boot! not poutlook, not tmail not etc
2) no any event notifications settings stored in registry. it stored in \mxip_notify.vol file, and can be managed only with special tools like FdcSoft Task Manager

HOW to disable
part 1) remove all event notifications except one with "AppRunAfterRndisFnDetected" argument. To remove use tools MemMaid or FdcSoft Task Manager (Notifications tab).

part 2) disable acivesync's periodic attempts to sync by wireless. It also disable run activesync at system boot.
1. Open Activesync
2. Menu > Add Server Source
3. Add Server address [127.0.0.1] > Next
4. Fill in the user,pass,domain 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

p.s. (wm6) if you don't complete part 2, will get
repllog /remote /h
notification event, which you never can kill. It will be appears again at boot.

erwinsie
25th October 2008, 11:32 AM
hmm funny i followed the fake server tips but still i have autosync comeup almost every hour! (or maybe everytime i turn on my elf)
any other idea? im using AB roms atm...

cly85
19th November 2008, 06:30 AM
I hope someone reads this...I installed Memaid, found the repllog.exe however, I have no idea how to disable it. It doesn't give me any options to edit it. I can only select it. So I installed resco registry explorer and with this, can't even find the damn thing. WTF! Help me someone...

kbywg
19th November 2008, 07:00 PM
I hope someone reads this...I installed Memaid, found the repllog.exe however, I have no idea how to disable it. It doesn't give me any options to edit it. I can only select it. So I installed resco registry explorer and with this, can't even find the damn thing. WTF! Help me someone...

Here is a link to the location of the ultimate fix. I do it everytime I hard reset my HTC Touch. It works great and the instructions are idiot proof. Make sure to use his attached Task manager.
Thanx Gadjet!
http://forum.xda-developers.com/showpost.php?p=2481033&postcount=81

brandonhall517
26th August 2009, 06:09 PM
i did this and now get network error 608 saying cannot communicate with the pc, even tho when i do hook up the usb, it still connects