New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
DaveShaw
Old
(Last edited by DaveShaw; 12th March 2010 at 02:32 PM.)
#1  
DaveShaw's Avatar
Retired Senior Moderator + Wiki Bureaucrat - OP
Thanks Meter 296
Posts: 8,703
Join Date: Dec 2007
Location: Huddersfield
Lightbulb [CAB] Enable Active Sync with Multiple Exchange Servers

Eyup,

This is not my fix, I found it here all credit to Nuno Luz of MSMVPs.com - who in turn found it from "Chris de Herrera" here. (That's as far as I traced the credits )

Basically in Active Sync 4.* Microsoft removed the ability to Sync with 2 Exchange Servers.

I tested this fix on my phone with the following setup:
  • Active Sync via USB with Work's Exchange (no E-Mail)
  • Active Sync via USB to Home Outlook (no E-Mail)
  • Active Sync OTA to Google Apps Mail (inc. E-Mail)

Changing the following registry setting will allow it to work with 2 servers.

Tweaks (in many formats)
Changing the follow registry DWORD to 1 will enable it:
Code:
[HKEY_CURRENT_USER\Software\Microsoft\ActiveSync\EnableNonLocalCrossPollination]
Here's the Prov XML for anyone who's interested to use:
Code:
<!--Enable Multiple Exchange Servers -->
<characteristic type="HKCU\Software\Microsoft\ActiveSync">
  <parm name="EnableNonLocalCrossPollination" value="1" datatype="integer"/> 
</characteristic>
And finally, here's a CAB: Download

P.S. I would recommend soft reset after installation.

EDIT: If I'm not the first to post it on here, then I couldn't find it. Let me know if someone else has, and I'll make this thread disappear .

Thanks,
Dave
Attached Files
File Type: cab DaveShaw Multiple Exchange AS.cab - [Click for QR Code] (1.0 KB, 925 views)
--Retired.
 
jug6ernaut
Old
#2  
jug6ernaut's Avatar
Retired Moderator / Recognized Developer
Thanks Meter 398
Posts: 2,400
Join Date: Jun 2006
Location: San Antonio, Tx
awesome stuff, thx

-Active-
- Xperia ZL -
- Nexus 7 -

-Retired- - Samsung Note 2
- Samsung Note - Motorola Wingray - Samsung Maguro - Motorola Olympus - HTC Passion - LG Monaco - HTC Raphael - HTC Kaiser - HTC Wizard -
- HP Touchpad - Motorola Xoom -

"You can lead a fool to knowledge, but you can not make them think."
 
fwt
Old
#3  
Senior Member
Thanks Meter 1
Posts: 514
Join Date: Dec 2006
Location: Ruhrpott
To say it first: Great finding!!!

But i can't get it ...
Do i have to set up one Exchange Server on my PC's ActiveSync and the other on my WinMo's ActiveSync.
Or is there a possibility to add one Exchange Server to my WinMo's ActiveSync?
And if there is one ... how can it be done?

regards
fwt
----------------------------------------------------------------------------------------------------------------------------------------
Keep in mind ... THEY are all watching us (HTC, Microsoft, Google ... and many more).
 
DaveShaw
Old
#4  
DaveShaw's Avatar
Retired Senior Moderator + Wiki Bureaucrat - OP
Thanks Meter 296
Posts: 8,703
Join Date: Dec 2007
Location: Huddersfield
Quote:
Originally Posted by fwt View Post
To say it first: Great finding!!!

But i can't get it ...
Do i have to set up one Exchange Server on my PC's ActiveSync and the other on my WinMo's ActiveSync.
Or is there a possibility to add one Exchange Server to my WinMo's ActiveSync?
And if there is one ... how can it be done?

regards
fwt
I set mine up by syncing with my Work's active sync via USB, and then launching Active Sync on the Phone and doing "Menu" > "Configure Server".

Dave
--Retired.
 
Remco-
Old
(Last edited by Remco-; 12th March 2010 at 04:19 PM.)
#5  
Member
Thanks Meter 2
Posts: 71
Join Date: Mar 2009
You say you can sync email with multiple exchange servers with this?
I can't find any way to setup the second exchange account when you already have an exchange account setup.

I do not want to sync through USB, I want it to be possible through 3G / WiFi for both.
What I want is to sync 2 email boxes on 1 Exchange Server. Basically my own email box and an info box. This can also be done of course by just adding the same server twice, just with different credentials. However I can't find a way to setup a second exchange server when you already have one set.

You sync email with only 1 account. Syncing different items with more than one PC / Server was already possible without this fix.

-edit- I'm not sure if it is coincidence or not, but syncing exchange through 3G stopped working after applying the CAB file, syncing through WiFi on same network did still work. After undoing it and soft reset it worked again...
 
RoryB
Old
#6  
RoryB's Avatar
Recognized Developer
Thanks Meter 622
Posts: 2,602
Join Date: Sep 2008
Location: Lexington

 
DONATE TO ME
Quote:
Originally Posted by Remco- View Post
You say you can sync email with multiple exchange servers with this?
No he is not saying this. He only said email at the last item of Google Apps Mail.

This only lets you sync multiple non-mail items with different Exchange servers. Once you pick email, it locks out the Exchange choice again.

PS: I really do need a way to sync two exchange email accounts.
Samsung Galaxy S III
Read About Me to see what I am working on & following like CHTS, Reminder and AppTask widgets, and CHT basic function tweaks. Also, Fixed CHT restarting when you have no tasks.
Mortscript | iniEditor | regEditor| MortScripts to toggle settings
Samsung Infuse 4G drowned. If you have one check out Scott's CM10 or CM10PA Firmware
ATT Fuze (HTC RAPH110) with Energy ROM: Energy.RAPHAEL.29022.Sense2.5.Cookie.2.0.Jul.06
HTC Wizard|See about me for my ROM collection and other work
 
Remco-
Old
#7  
Member
Thanks Meter 2
Posts: 71
Join Date: Mar 2009
Quote:
Originally Posted by RoryB View Post
PS: I really do need a way to sync two exchange email accounts.
As do I, guess we'll have to wait for WP7
 
RoryB
Old
(Last edited by RoryB; 17th March 2010 at 05:27 AM.)
#8  
RoryB's Avatar
Recognized Developer
Thanks Meter 622
Posts: 2,602
Join Date: Sep 2008
Location: Lexington

 
DONATE TO ME
I just set up two exchange accounts and then tried RapiConfig to get settings.

Got error: Config failed <0x85070006>

Anyone have some of the settings information from
Code:
<wap-provisioningdoc>
      <characteristic-query type="Sync" recursive="true"/>
</wap-provisioningdoc>
Samsung Galaxy S III
Read About Me to see what I am working on & following like CHTS, Reminder and AppTask widgets, and CHT basic function tweaks. Also, Fixed CHT restarting when you have no tasks.
Mortscript | iniEditor | regEditor| MortScripts to toggle settings
Samsung Infuse 4G drowned. If you have one check out Scott's CM10 or CM10PA Firmware
ATT Fuze (HTC RAPH110) with Energy ROM: Energy.RAPHAEL.29022.Sense2.5.Cookie.2.0.Jul.06
HTC Wizard|See about me for my ROM collection and other work
 
fwt
Old
#9  
Senior Member
Thanks Meter 1
Posts: 514
Join Date: Dec 2006
Location: Ruhrpott
Can't really get it working.

On the Phone
- Phone Disabled in ComMgr
- Wifi disabled
- Installed the cab => OK
- Checked the Regkey => OK
- Softreset my HD => OK
- Rechecked the Regkey => OK
- No ActiveSync Settings configured

Phone connected to PC via USB
- Configured ActiveSync on my PC with nuevasync.com to have multiple Calenders from GCal and my Contacts as described at www.nuevasync.com
- Synced via USB => OK
- Disconnected Phone from PC

Back to the phone
- Start ActiveSync (not the syncing)
- Go to Menu => Configure Server
- Set up Email address (unchecked "Attempt to detect ExchangeServer Settings automatically"
- Set up Server adress to m.google.com (checked "This server requires an encryted (SSL) connection)
- Set up user information as described at http://www.google.com/support/mobile...36&topic=14299
- The dialog "Choose the content you want to synchronize" is empty

Where am i mistaking???
Can someone please help me?

Thanks in advance
fwt
----------------------------------------------------------------------------------------------------------------------------------------
Keep in mind ... THEY are all watching us (HTC, Microsoft, Google ... and many more).
 
RoryB
Old
#10  
RoryB's Avatar
Recognized Developer
Thanks Meter 622
Posts: 2,602
Join Date: Sep 2008
Location: Lexington

 
DONATE TO ME
Quote:
Originally Posted by fwt View Post
Can't really get it working.

On the Phone
- Phone Disabled in ComMgr
- Wifi disabled
- Installed the cab => OK
- Checked the Regkey => OK
- Softreset my HD => OK
- Rechecked the Regkey => OK
- No ActiveSync Settings configured

Phone connected to PC via USB
- Configured ActiveSync on my PC with nuevasync.com to have multiple Calenders from GCal and my Contacts as described at www.nuevasync.com
- Synced via USB => OK
- Disconnected Phone from PC

Back to the phone
- Start ActiveSync (not the syncing)
- Go to Menu => Configure Server
- Set up Email address (unchecked "Attempt to detect ExchangeServer Settings automatically"
- Set up Server adress to m.google.com (checked "This server requires an encryted (SSL) connection)
- Set up user information as described at http://www.google.com/support/mobile...36&topic=14299
- The dialog "Choose the content you want to synchronize" is empty

Where am i mistaking???
Can someone please help me?

Thanks in advance
fwt
If the last thing your are trying to do is set up exchange email, try going into mail acount instead of activesync. Do not let it try connecting and instead select type as exchange.
Samsung Galaxy S III
Read About Me to see what I am working on & following like CHTS, Reminder and AppTask widgets, and CHT basic function tweaks. Also, Fixed CHT restarting when you have no tasks.
Mortscript | iniEditor | regEditor| MortScripts to toggle settings
Samsung Infuse 4G drowned. If you have one check out Scott's CM10 or CM10PA Firmware
ATT Fuze (HTC RAPH110) with Energy ROM: Energy.RAPHAEL.29022.Sense2.5.Cookie.2.0.Jul.06
HTC Wizard|See about me for my ROM collection and other work

Tags
active sync, active sync 4.5, activesync, cab, exchange, multiple, tweak

XDA PORTAL POSTS

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more

Avoid Framework Bootloops on Xperias Running Jelly Bean

If you’re a Sony device owner running a stock Android Jelly Bean firmware and … more