Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win


Controlling Microsoft Outlook 2003 Cache Mode....Possible?

Posted on 2009-05-20
Medium Priority
Last Modified: 2012-05-07

I work with a medium/large organisation which has around 450 sites to 15000 workstations. We use MS Exchange and Outlook 2003 with Cache Mode enabled by default on all workstations. We have a centralised Exchange environment and to date we have been beating our heads against a brick wall trying to solve a serious WAN link performance issue. Whilst Outlook in Cached mode works well for most reasons it is absolutely crippling our environment for the following reason,

About 60-70% of our users are stationary but the other 30% or so travel to other sites or hot-desk within the same office. This being the case means that the Exchange Mailbox is downloaded/synchronized to every workstation that the user logs onto to. The average size mailbox = 1GB with some as high as 5-8GB.

To date, my login scripts are setup to detect if the user is logging onto their "Default" site. So having gotten this far I am then able to manipulate end user behaviour (and for most cases this is true)........except for MS Outlook. I was hoping that I could control Outlook Cache mode by manipulating the registry but it seems I have come undone here.

My login scripts create 2 variables

If the value of USERLOC and WKSLOC are the same I want to be able to turn Mailbox Caching ON
If the value of USERLOC and WKSLOC are NOT the same I want to be able to turn Mailbox Caching OFF

Here is something to think about, If I logon to a PC that I have never used before Outlook will create a brand new profile (backs up any old profile) in registery and starts caching the mailbox over the WAN. Remember, my login scripts have already run....Too late

OK..How about PRF files in append mode. Can I intruct Outlook via PRF files on how it is going to behave for that user's session without scrambling the user's existing setup for example signature and address history?

There are infact 2 settings that must be changed in order to disable Outlook Cache Mode,

1. Use Cached Exchange Mode
2. Send/Receive - Make this folder available offline

Disabling setting 1 does not turn off setting 2...check your packet scans

QUESTION Time: Has anybody been successful in putting together a solution for this type scenario?

Question by:zos007
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
LVL 65

Assisted Solution

Mestha earned 240 total points
ID: 24432524
For users who move around I would deploy terminal services, so that things stay put. Have them login to that.

Another option would be to use group policy, and stop cached mode from being available for those users. If they move around so much, having cached mode in their home location is not going to be worth while.


Author Comment

ID: 24436993
Hi Mestha, thank you for your prompt response. I'm not quite sure if this is the solution I am looking for. I believe that Terminal Services has issues as well where the TS license has a lease time of 90 days. For example, if I have 20% of 15000 workstations being used by travelling or hot-desk users, I would require at least 4000 TS Licenses.
LVL 65

Assisted Solution

Mestha earned 240 total points
ID: 24437114
I can't comment on licensing factors for terminal services, there are various ways of licensing it, particularly with Windows 2008, that allow application type publishing etc.

The other option is to work live rather than cached mode. You would lose indexing, but that wouldn't apply because the users are not at the machines long enough, but it should be usable if you have decent bandwidth.

Has Powershell sent you back into the Stone Age?

If managing Active Directory using Windows Powershell® is making you feel like you stepped back in time, you are not alone.  For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why.


Author Comment

ID: 24437244
Going online was my preference but I am not sure if the "End User" will accept it as it will significantly slow down Outlook for opening up attachments. MS Outlook in our environment is a core application. Our remote links vary from 1-1000Mb depending on location and importance. I have seen lots of links for Outlook cache mode issues but no one seems to have the answer I am looking for.

I do not want to disable Outlook Cache Mode to 15000 users. I want to disable cache mode only for  traveling users. Disabling Outlook Cache Mode to soooo many remote sites means that if the WAN link fails the remote site Outlook fails. Like I said previously, I am detecting a traveling user via login scripts already but how can I apply this to Outlook is the question.

LVL 65

Assisted Solution

Mestha earned 240 total points
ID: 24443853
You could disable cached mode using group policy to set of users and/or machines, if you have a known set of either that may well be something that can be done.

Cached mode is set during the Outlook profile configuration primarily, so another option would be to have the profile destroyed for the roaming users each time, with exclusions on the home systems.

I don't think detecting the location of the user is going to work.

Of course, most companies don't have this issue because if a user is travelling they would be given a laptop. If the users were visiting known locations only, then terminal services would still be the method I would recommend if there was a reluctance for laptops to be used (or could not be used for security reasons).


Accepted Solution

zos007 earned 0 total points
ID: 24533456
Looks like we have created a solution here.

We created a VBS script that checks to see if the user logging on already has a "User" profile that exists on the workstation. If it exists it just launches OUTLOOK.EXE. If it doesn't exist it run Outlook via PRF file (Turn Cache Mode OFF by default). Turning Cache mode off by default is the key here.

Via my login scripts I am now able to detect the following,
1. If it's a Laptop user Cache = ON (Always)
2. I am able to control an entire site, Cache Mode ON or OFF
3. If a user travels from their default site and logs onto a workstation at another site it turns Cache Mode OFF.

Here is a sample of the script...also the code in the login script is based on Novell eDirectory.
There are 2 scripts that I run during the login process,
1. Workstation Location Script (is based on workstation IP address/IP range for the site)
    We want to control cache mode from the location of the workstation (because workstations don't travel...users do)...Our Location Scripts are based on the HEX value of the IP address range for the site.
    SET EMAILCACHE = "Z:\CACHEON.REG"     ! We control CACHE ON or OFF for an entire site

Ok here we go, the code is fairly simple to understand.
2. User Container Script
    This scripts sets up a variable USERLOC=xxx (Where xxx=a site code)

IF "%<PCTYPE>"="Laptop" OR "%<PCTYPE>"="Tablet_PC" THEN BEGIN
         @REGEDIT /s %<EMAILCACHE>   ! This is the value of EMAILCACHE from the workstation script.
         @REGEDIT /s "Z:\CACHEOFF.REG"  ! USERLOC and WKSLOC didn't match so Cache = OFF
; End Email Cache

I hope this helps anyone else in the same situation


Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Here in this article, you will get a step by step guidance on how to restore an Exchange database to a recovery database. Get a brief on Recovery Database and how it can be used to restore Exchange database in this section!
To show how to generate a certificate request in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.:  First we need to log into the Exchange Admin Center. Navigate to the Servers >> Certificates…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…
Suggested Courses

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question