Solved

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

Posted on 2009-05-20
6
610 Views
Last Modified: 2012-05-07
Hi,

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
    USERLOC=SiteA
    WKSLOC=SiteA

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?

0
Comment
Question by:zos007
[X]
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
6 Comments
 
LVL 65

Assisted Solution

by:Mestha
Mestha earned 60 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.

Simon.
0
 

Author Comment

by:zos007
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.
0
 
LVL 65

Assisted Solution

by:Mestha
Mestha earned 60 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.

Simon.
0
NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

 

Author Comment

by:zos007
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.

Regards
Paul
0
 
LVL 65

Assisted Solution

by:Mestha
Mestha earned 60 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).

Simon.
0
 

Accepted Solution

by:
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.
IF (NETWORK_ADDRESS >= "0A4042C3") AND (NETWORK_ADDRESS <= "0A4042DF") THEN BEGIN
    SET WKSLOC = "SITE_B"
    SET EMAILCACHE = "Z:\CACHEON.REG"     ! We control CACHE ON or OFF for an entire site
END

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)

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

I hope this helps anyone else in the same situation

0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Finding original email is quite difficult due to their duplicates. From this article, you will come to know why multiple duplicates of same emails appear and how to delete duplicate emails from Outlook securely and instantly while vital emails remai…
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…
In this video we show how to create an email address policy 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 Mail Flow…
To show how to create a transport rule 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 Mail Flow >> Rules tab.:  To cr…

726 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