Prevent Mobile Device Center from launching when connecting a device in Windows 7

Is there a way to prevent Windows Mobile Device Center from opening when I connect my Pocket-PC to my computer?

I am running Windows 7.


Solution 1:

A developer on xda-developers made a program called HMDC which does exactly that.

Solution 2:

win key + r (eg start -> run) gpedit.msc computer configuration -> administrative templates -> windows components -> AutoPlayPolicies