How to Block Non-Cached Mode Outlook Clients with Exchange 2010

In Exchange Server 2010 the administrator can choose to block non-cached mode Outlook clients from connecting to Exchange.

Blocking non-cached mode Outlook connections is useful in some scenarios, such as:

  • Reducing server workload to get better perform from server and disk resources
  • Reducing network bandwidth utilization for remotely connecting users

Online Outlook clients can be blocked on a per-user basis using the Set-CASMailbox command. For example:

[PS] C:\>Set-CASMailbox kelly.chatir -MAPIBlockOutlookNonCachedMode $true

You can see the setting for a user by running Get-CASMailbox.

[PS] C:\>Get-CASMailbox kelly.chatir | fl name,mapi*

Name                          : Kelly.Chatir
MAPIEnabled                   : True
MAPIBlockOutlookNonCachedMode : True
MAPIBlockOutlookVersions      :
MAPIBlockOutlookRpcHttp       : False

You can also apply the change to multiple users at once. For example, to block non-cached mode for all users in the Branch Office location:

[PS] C:\>get-mailbox | where {$_.office -eq "Branch Office"} | set-casmailbox -MAPIBlockOutlookNonCachedMode $true

To locate all mailbox users that have non-cached mode blocked run this command:

[PS] C:\>get-casmailbox | where {$_.mapiblockoutlooknoncachedmode -eq "True"}

Name                 ActiveSyncEnabled OWAEnabled           PopEnabled          ImapEnabled         MapiEnabled
----                 ----------------- ----------           ----------          -----------         -----------
Aisha.Bhari          True              True                 True                True                True
Andy.Crossley        True              True                 True                True                True
Carol.Tubby          True              True                 True                True                True
David.Marriott       True              True                 True                True                True
Dukh.Morgan          True              True                 True                True                True
Georgie.Jeyapragasam True              True                 True                True                True
Hilary.Shortt        True              True                 True                True                True
Jennifer.Sparks      True              True                 True                True                True
Judith.Woodland      True              True                 True                True                True
Kelly.Chatir         True              True                 True                True                True
Lorraine.Rideout     True              True                 True                True                True
Marcia.Barnett       True              True                 True                True                True
Meena.Salt           True              True                 True                True                True
Neville.Sherwin      True              True                 True                True                True
Pauline.Taylor       True              True                 True                True                True
Robert.Henderson     True              True                 True                True                True
Sharnjit.Mcilroy     True              True                 True                True                True
Suki.Murray          True              True                 True                True                True
Valerie.Andrews      True              True                 True                True                True
Wendy.Fyson          True              True                 True                True                True

Finally, to locate all users who are not blocked from using Outlook in non-cached mode, you would run the same command but check for “False” instead.

[PS] C:\>get-casmailbox | where {$_.mapiblockoutlooknoncachedmode -eq "False"}
About Paul Cunningham

Paul is a Microsoft Exchange Server MVP and publisher of Exchange Server Pro. He also holds several Microsoft certifications including for Exchange Server 2007, 2010 and 2013. Connect with Paul on Twitter and Google+.

Comments

  1. Interesting. We have several hundred hyper-v test machines and actually want the opposite behavior – we don’t want testers to use cache mode as waste valuable VM machine hard disk space.

Leave a Comment

*

We are an Authorized DigiCert™ SSL Partner.
Loading...

Still running Exchange 2003? Time to get moving and start your upgrade. Find out how - Click Here