How to Stop ActiveSync from Auto Synchronizing
Posted by gregd1024 on December 18, 2007
OMG! I found a way to stop ActiveSync from auto synchronizing every two minutes. 🙂 OK, I realize this post is somewhat off-topic from programming, but I just had to share it!
If you’re a PocketPC, SmartPhone, or Windows Mobile developer, then I’m sure you are all too familiar with this problem. ActiveSync (otherwise known as Mobile Device Center on Vista) seems to synchronize every couple minutes whenever any mobile piece of hardware is constantly connected to your PC. This may be fine for those developers using the emulator, but if you need to test code changes directly on a specific device, you’re out of luck. The resource-hungry ActiveSync will make even a jog-wheel or D-pad super slow to respond. In my case, I can only test on the device itself since I’m doing graphical applications that need a back buffer (the emulator doesn’t support this).
If you’re having the same problem, here’s how to temporarily disable ActiveSync (note: I’m using Vista, so I don’t know how much is applicable to XP):
- Open your Services list (Start->Control Panel->Administrative Tools->Services).
- Turn off the service called: “Windows Mobile-2003-based device connectivity.”
- Turn off another service, with almost the same name, called: “Windows Mobile-based device connectivity.”
That’s it! 😉 Now your device shouldn’t automatically sync (in fact, in Vista’s Sync Center it’ll show as disconnected, but you’ll still see the device in Windows Explorer). See below:
One thing to note: Windows will automatically restart those two mobile device services after about five to ten minutes, or when debugging a mobile app in Visual Studio. But don’t worry, ActiveSync stays disabled.
OK, so what happens when you actually want to turn on auto-synching? Just follow these steps:
- Open your Control Panel.
- Double-click on Windows Mobile Device Center.
- Wait until this dialog says your device is connected.
- Close the dialog.
Important note: turning off those Windows Mobile services has one small non-critical side-effect: the Open Windows Mobile Device Center menu option inside the Sync Center dialog stops working. Nothing happens when you click on it. However, you will still be able to open Mobile Device Center from the Control Panel.
More Information for Windows XP
Since I’m not running XP, I don’t know if there’s something similar you could do for that version of Windows. However, when I was originally looking for a solution I came across these two sites that seemed promising for XP:
- http://bevhoward.com/ASync.htm – scroll down to the section entitled, “Restoring the Manual Sync Option.”
- http://micrologics.co.uk/library/ast/ – they have a free little application that claims to override ActiveSync giving you full control. I haven’t tried it but they list many positive testimonials.
I’m curious whether either of the above two solutions work on XP. If you try either of them and they work, please leave a comment on this post. Thank you.