Showing posts with label Exchange Cached Mode. Show all posts
Showing posts with label Exchange Cached Mode. Show all posts

Update: How to Configure Fast Cached Exchange Mode Settings for Outlook 2013 Using Group Policy

Friday, October 12, 2012
With the release of Office 2013 right around the corner and quite a number of people already running the Office 2013 Consumer Preview, I thought I'd update a previous article I wrote that speeds up Outlook performance.

How to Configure Fast Cached Exchange Mode Settings for Outlook 2010 and Outlook 2013 Using Group Policy explains how to configure Outlook 2010 and Outlook 2013's Cached Exchange Mode send/receive behavior.  With these changes Outlook cached mode behaves very similar to online mode.  There is no change in network bandwidth with this configuration - it just configures Outlook to go on "mail runs" more frequently.
Read more ...

How to Fix Legacy GAL Segmentation Issues in Exchange 2010

Thursday, May 10, 2012
I'm working for a customer who is migrating from Exchange 2003 to Exchange 2010.  The customer used "old school" GAL segmentation to create different address lists and Default Global Address Lists (GALs) for some users.  Prior to Exchange 2010 SP2, this was done by configuring ACL permissions on Address Lists using ADSI Edit.  Not only was this fairly complex, it was also not officially supported by Microsoft.  There was still a genuine business need for GAL segmentation and a number of companies did it anyway.

Exchange 2010 SP2 introduces GAL segmentation using Address Book Policies (Thanks, Greg Taylor!)  This is the only GAL segmentation that is supported by Microsoft.  The trouble is that only Exchange 2010 mailboxes can benefit from this form of segmentation.  If you're doing a migration from a previous version to 2010, the legacy mailbox users won't see it.  In the case of my customer, that means ripping out all the legacy ACLs first and configuring Address Book Policies later.

I ran into some strange issues when I reset the ACL permissions, so I want to explain what I did and how I did it to overcome these issues.

The organization had a very elaborate set of permissions on their address lists.  They had 8 separate All Users address lists and 5 separate Default Global Address Lists.  With many child domains, it made it difficult to determine which permissions were applied and which were inherited at all the different levels.  I decided to use ADSI Edit to delete all the address lists and GALs and recreate them on the Exchange 2003 side.  Here's how I did this:

  • Open ADSI Edit and navigate to CN=All Address Lists,CN=Address Lists Container,CN=[OrgName],CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=[domain],DC=[com]
  • Delete all the address lists in this container except All Rooms (All Contacts, All Groups, All Users, etc.).  All Rooms is an Exchange 2010 address list and will not need to be recreated.
  •  Navigate to CN=All Global Address Lists,CN=Address Lists Container,CN=[OrgName],CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=[domain],DC=[com]
  • Delete all the Global Address Lists including the Default Global Address List
Now recreate the address lists and Default Global Address List in Exchange 2003.  I did it this way to ensure that current 2003 mailboxes can use the new lists.

Once the address lists have been created and replicated throughout the domain, you can upgrade them to Exchange 2010 versions using OPath and you should be good to go.

However, if your organization used ACLs for Exchange 2003 GAL segmentation there's a very good chance that OWA was segmented, as well.  OWA GAL segmentation is done an entirely different way, and if you don't undo these changes Exchange 2010 users will not see the Default Global Address List or the All * lists in Outlook.

OWA GAL segmentation is done by configuring the msExchangeQueryBaseDN attribute on the user object in AD.  Normally this attribute is empty (Null).  For GAL segmentation in OWA, the msExchangeQueryBaseDN attribute is set to the distinguishedName of the OU where you want the GAL scoped to.


Simply clear the msExchangeQueryBaseDN value for the user, wait for it to replicate and the address lists will show up for online (non-cached mode) users.  The user doesn't even need to close Outlook.

Cached mode users will need to download the new OAB to see the address lists.  This will happen automatically within 24 hours, or the user can download the OAB manually in Outlook.  You'll need to either let the OAB update automatically at 4am or update it manually with the Update-GlobalAddressList cmdlet first.

 Here's an EMS one-liner that will clear the msExchangeQueryBaseDN for all users in the organization:
Get-Mailbox | Foreach{ $dn = "LDAP://" + $_.distinguishedname;$obj = [ADSI]$dn;$obj.msExchQueryBaseDN.Clear();$obj.SetInfo()}
Read more ...

How to Configure Fast Cached Exchange Mode Settings for Outlook 2010 and Outlook 2013 Using Group Policy

Saturday, October 30, 2010
Note: This article and included ADM and REG files have been updated to work with Outlook 2013, as well as Outlook 2010.

Microsoft introduced Cached Exchange Mode in Outlook 2003 and it's been the default configuration ever since.  Cached Exchange Mode saves a copy of your mailbox on your computer which provides quick access to your data and is frequently updated with the Exchange server.


Cached Exchange Mode works like this: When the Exchange Server notifies Outlook of a change, the Download timer starts and Outlook delays receiving the change information.  All notifications that occur in the 30 second window of the Download timer are grouped and processed as a batch at the end of the timer, then the timer is reset.  Uploads to Exchange use a similar Upload timer, which lasts 15 seconds.  For more information, see Description of Outlook 2003 with Cached Exchange Mode in an Exchange Server 2003 environment.  This behavior is the same in Outlook 2007, Outlook 2010, and Outlook 2013.

While this configuration reduces network utilization and load on the target Exchange servers, it reduces the "perceived" performance of Outlook/Exchange.  Users who change from Online Mode to Cached Exchange Mode frequently complain about slow performance, since they're used to the almost "instant messaging" behavior of Online Mode.

This behavior can be changed using a simple registry change, or, as I recommend, using Group Policy.  By changing the Download, Upload, and Maximum timers to one second, your users will enjoy much improved email performance and you will still see improved network performance over traditional MAPI "Online Mode".

 Install the Fast Exchange Cached Mode GPO Administrative Template:
  • Download the CachedMode.adm Group Policy administrative template and save it to a temporary folder.
  • Open the Group Policy Management Console.
  • Navigate to the Default Domain Policy, right-click it, and choose Edit.
  • Navigate to User Configuration > Policies > Administrative Templates.
  • Right-click Administrative Templates and select Add/Remove Templates.
  • Click Add and browse to the location where you downloaded the CachedMode.adm template.  Click OK.
  • The Outlook 2010 Cached Mode Settings administrative template will be added under the heading "Classic Administrative Templates (ADM)".
  • Edit the Outlook 2010 Cached Mode Settings and/or the Outlook 2013 Cached Mode Settings policy and Enable each of the three policies.  I recommend doing both settings - it won't hurt anything.
  • Close the Group Policy Management Console.
The Outlook users will need to download the new group policy and either restart their computer or restart Outlook to get the new settings.

If you are a VPN user or a mobile user who cannot receive Group Policy settings, you can download the FastCachedMode.reg file, and install it manually.  Then close and re-open Outlook to get the new configuration.
Read more ...

Deferred Delivery Behavior in Outlook and Exchange 2003

Friday, August 17, 2007
Over time I've fielded a lot of questions about deferred delivery behavior using Outlook and Exchange Server 2003. The purpose of this post is to try and clear up some of the confusion.

Users can defer delivery using Outlook 2003/2007 by selecting the "Do not deliver before" date and time in Delivery Options of a message. This is done from the View Options menu of the new message:


My example message was sent at 12:04pm and schedule to be delivered at 12:10pm. Once sent, the email will stay in the Outbox until 12:10pm. If the sender isn't using Cached Exchange Mode, the email actually resides on the Exchange server. This means you can close Outlook and the email will still be delivered at the scheduled time. If the sender is using Cached Exchange Mode, Outlook needs to be running for the email to be delivered at the scheduled time.

Once the email is sent, it shows in the sender's Sent Items folder as being sent when the user clicked the Send button (12:05pm instead of 12:10pm). Outlook rounds the seconds up or down, which accounts for the lost minute.


When the recipient receives the email at the scheduled time, it shows in the recipient's Inbox as received at 12:11pm. This is the time the Exchange server delivered the message to the recipient's Inbox. Again, the time is rounded up by Outlook to show that it was received at 12:11pm:


When the recipient opens the email, he will see the email was sent at 12:05pm. This is the time the user clicked the Send button.



If we track the message through the Exchange Message Tracking Center, we will only see when the message was actually in transport through the Information Store. Note that there is no indication in message tracking that this message was sent with deferred delivery:


Taking a look at the SMTP headers, we see that the email was sent at 12:04:52.



Microsoft Mail Internet Headers Version 2.0
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: application/ms-tnef;
name="winmail.dat"
Content-Transfer-Encoding: binary
Subject: Email written at 12:04pm
Date: Thu, 16 Aug 2007 12:04:52 -0700
Message-ID: <7B569F3F3E4DF34A86878A85F5CB7B8F0124020E@hoem01.scif.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator: <7B569F3F3E4DF34A86878A85F5CB7B8F0124020E@hoem01.scif.com>
Thread-Topic: Email written at 12:04pm
Thread-Index: AcfgOE14IdGWt/ZvRTS3VBrfx1yACQ==
From: "Jeff Guillet" <jsguillet@sscif.com>
To: "Brian Peladeau" <BPeladeau@sscif.com>

Hopefully, this helps clear up some of the confusion about deferred delivery.
Read more ...

"Do not deliver before" Behavior Doesn't Work as Expected in Outlook Cached Mode

Friday, May 25, 2007
Users sometimes schedule delivery of an email for a later date or time.

For Outlook 2000, there were two different options: Deferred Send (Outlook handles it) and Deferred Delivery (the Exchange server handles it). If a message is configured for Deferred Send, it will stay in the user's Outbox until the scheduled time. Outlook then submits the message to the Exchange Information Store and the message is delivered. If a message is configured for Deferred Delivery, Outlook will immediately submit the message to the Exchange Information Store and the Exchange server will hold the message until the scheduled time. With Deferred Send, Outlook must be running to send the message and the user can edit or remove the message before it's delivered. With Deferred Delivery, Outlook does not have to be running and the user cannot edit or remove the message before it's sent.

Microsoft merged the two features together for Outlook 2003/2007. The only option available in these versions is "Do not deliver before". If this is configured the message will stay in the user's Outbox, but Outlook does not need to be running to deliver it. By keeping it in the Outbox, the user is able to edit or remove the message before it's sent. However, if the user is configured for Exchange Cached Mode, Outlook MUST be running for delivery of message to occur. http://support.microsoft.com/?kbid=918824 says this behavior "by design".

On a side note, the message will show as Received in the Inbox at the delayed send time (say, 8:00am today). When you open the message, the Sent time will be the time the sender clicked the Send button (say, 5:00pm yesterday). This prevents a user from scheduling an email the night before saying, "I'm in the office this morning like you requested, but I'm going home now."
Read more ...

Update for Outlook 2007 Performance Issues

Tuesday, April 17, 2007
Microsoft just released an update for Outlook 2007 that addresses performance issues, especially for users with large OSTs. http://support.microsoft.com/kb/933493. Several of my customers have installed the update and say their Outlook appears to be "snappier".

Microsoft also provide general guidance on how to workaround performance issues for users with large PSTs or OSTs.
http://support.microsoft.com/kb/932086. Guidance ranges from "reduce the size of your mailbox" to "don't use cached mode". I love it. Aren't these the features being touted in Outlook and Exchange 2007?
Read more ...