Greg Dolley’s Weblog

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

  • Archives

  • June 2023
    M T W T F S S
     1234
    567891011
    12131415161718
    19202122232425
    2627282930  
  • Blog Stats

    • 1,071,665 hits
  • Subscribers

  • Twitter

Archive for the ‘Tips and Tricks’ Category

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

Advertisement

Posted in Tips and Tricks | 2 Comments »