Greg Dolley’s Weblog

A Blog about Graphics Programming, Game Programming, Tips and Tricks

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!

Introduction

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

Solution

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):

  1. Open your Services list (Start->Control Panel->Administrative Tools->Services).
  2. Turn off the service called: “Windows Mobile-2003-based device connectivity.”
  3. Turn off another service, with almost the same name, called: “Windows Mobile-based device connectivity.”

ServiceList_MobileDeviceServices

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:

SyncCenter 

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.

Enabling ActiveSync

OK, so what happens when you actually want to turn on auto-synching? Just follow these steps:

  1. Open your Control Panel.
  2. Double-click on Windows Mobile Device Center.
  3. Wait until this dialog says your device is connected.
  4. 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:

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.

-Greg Dolley

Advertisements

2 Responses to “How to Stop ActiveSync from Auto Synchronizing”

  1. ThaiCar said

    Good post. Thank you for this.

  2. graphicd00d said

    Thanks for pointing me in the right direction to figure it out on Windows 7. In Windows, the path to get to it is different.

    To do this in Windows 7 go to Start->Control Panel->System and Security->Administrative Tools->

    While in Admin tools, double click “Component Services” and then click “Services”. Look for the “Windows Mobile-based device connectivity” and click it. Then you will want to click the “More Actions” to get to the “Properties” section. Once in there you will want to change the Startup type to Manual. Do the same to “Windows Mobile-2003-based device connectivity”.

    Also, make sure you turn off “Synchronize all PCs using this connection:” in the connection settings in Activesync on your phone. I forgot to do this and was still syncing after doing everything above.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: