Hi, it's my first post here, i'm french, so keep cool with my english 
I share with you a very usefull tip for ActiveSync crappy software, a tip i never saw anywhere...
One big problem with ActiveSync : each time it loads, it checks the registry to automatically add an entry to autostart on windows startup. It's really annoying for me to always have this one loaded on my laptop, and i like to control my running apps. And to shutoff AS when i want.
The problem is even worse if like me you use a bluetooth dongle for Sync, and don't want to have it plugged each time you start windows because of ActiveSync error if not pluugged on startup.
So i wrote a little script to kill ActiveSync when i want and to delete the automatically added registry entry each time i kill AS. This script is loaded as a windows logoff group policy to be sure AS will never load on next startup/logon.
Here are the scripts (in fact there are two files to make) :
Kill-ASync.bat (batch file to kill AS)
Kill-ASync.reg (reg file to delete AS startup registry entry)
1) Write those two files and put them in C:\Kill-ASync\ folder
2) put a shortcut to C:\Kill-ASync\Kill-ASync.bat on your desktop or where you want to kill AS
3) - goto "start menu" -> "execute" dialog -> "gpedit.msc"
- In gpedit.msc, go to Local computer strategy[/i]" -> "user configuration" -> "windows parameters" -> "scripts (logon/logoff)" -> "logoff". Double click on it.
- In the dialog box, click "add", browse to C:\Kill-ASync\ folder, and choose "Kill-ASync.bat".
- Accept, close the dialog, save the console, and it's done.
Note : in the gpedit, it can be a little different for you depending on your language, as I'm french and I use a french windows version.
Now, you can manually kill AS crap, and each time you logoff, the script checks to ensure AS won't load on next startup/logon...
Hope this helps
I share with you a very usefull tip for ActiveSync crappy software, a tip i never saw anywhere...
One big problem with ActiveSync : each time it loads, it checks the registry to automatically add an entry to autostart on windows startup. It's really annoying for me to always have this one loaded on my laptop, and i like to control my running apps. And to shutoff AS when i want.
The problem is even worse if like me you use a bluetooth dongle for Sync, and don't want to have it plugged each time you start windows because of ActiveSync error if not pluugged on startup.
So i wrote a little script to kill ActiveSync when i want and to delete the automatically added registry entry each time i kill AS. This script is loaded as a windows logoff group policy to be sure AS will never load on next startup/logon.
Here are the scripts (in fact there are two files to make) :
Kill-ASync.bat (batch file to kill AS)
Code: Select all
taskkill /IM WCESCOMM.EXE
taskkill /IM rapimgr.EXE
C:\WINDOWS\regedit.exe /s c:\Kill-ASync\Kill-ASync.reg
exitKill-ASync.reg (reg file to delete AS startup registry entry)
Code: Select all
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Run]
"H/PC Connection Agent"=""1) Write those two files and put them in C:\Kill-ASync\ folder
2) put a shortcut to C:\Kill-ASync\Kill-ASync.bat on your desktop or where you want to kill AS
3) - goto "start menu" -> "execute" dialog -> "gpedit.msc"
- In gpedit.msc, go to Local computer strategy[/i]" -> "user configuration" -> "windows parameters" -> "scripts (logon/logoff)" -> "logoff". Double click on it.
- In the dialog box, click "add", browse to C:\Kill-ASync\ folder, and choose "Kill-ASync.bat".
- Accept, close the dialog, save the console, and it's done.
Note : in the gpedit, it can be a little different for you depending on your language, as I'm french and I use a french windows version.
Now, you can manually kill AS crap, and each time you logoff, the script checks to ensure AS won't load on next startup/logon...
Hope this helps