Syncing your mobile device with Exchange may fail with an error code of 0x85020013

image Here's an issue I saw the other day that I thought I'd share with all of you.  I'm not sure how common this is but in case you run into this at least now maybe you'll have a place to start.  A special thanks to Shamir Abdul Aziz for documenting this and bringing it to my attention.


Issue: You may be unable to automatically sync with Exchange from a mobile device after enrolling to the domain via Mobile Device Manager 2008.  While ActiveSync works fine on devices that are not enrolled, on the ones that are, configuring ActiveSync to download items ‘as it arrives’ fails with an ‘attention required’ may generate an error code of 0x85020013. At that very moment if you do a manually sync it may work. It may also work if you configure it for a fixed time interval of somewhere around 5 minutes.

Cause: This can occur if the WakeOnIncoming setting is being set on the VPN adapter instead of the WiFi Adapter.  In my particular case it looked like this:

"WakeOnIncoming" = MULTI_SZ:"WiFi"

Resolution: The fix is to set WakeOnIncoming on the WiFi adapter instead. In my particular case it looked like this:

"WakeOnIncoming" = MULTI_SZ:"WiFi"

You can use the following ADM template to use Group Policy to deploy this change to the clients:

CATEGORY "Windows Mobile Settings"
                CATEGORY "MDM Email Settings"
                KEYNAME "SOFTWARE\Policies\Microsoft\Windows Mobile Settings\SecurityPolicy"
                                POLICY "Configure Wake on LAN"                           
                                                EXPLAIN "What does it do...... Should be WiFi"
                                                PART "Select Wake on LAN - Orange" EDITTEXT
                                                                KEYNAME "SOFTWARE\Policies\Microsoft\Windows Mobile Settings\Registry\HKLM\Comm\ConnMgr\Providers\{f792e23c-dc19-4668-9be4-f8688b4c18d6}"
                                                                VALUENAME "WakeOnIncoming"
                                                                MAXLEN 40
                                                                DEFAULT ""
                                                END PART
                                                PART "Select Wake on LAN - MDM" EDITTEXT
                                                                KEYNAME "SOFTWARE\Policies\Microsoft\Windows Mobile Settings\Registry\HKLM\Comm\ConnMgr\Providers\{9eefcedf-a6bc-4457-a8ae-fb664a196450}"
                                                                VALUENAME "WakeOnIncoming"
                                                                MAXLEN 40
                                                                DEFAULT "WiFi"
                                                END PART
                                END POLICY

As with all scripts, templates and registry changes, be sure you fully test this in your particular environment before rolling it out. 

J.C. Hornbeck | Manageability Knowledge Engineer

Comments (1)

Skip to main content