• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 3290
  • Last Modified:

Disable Outlook Anywhere?

I have Outlook Anywhere enabled/configured on my CAS server and everything is working as expected.  However, I have a high level support group who would like for Outlook Anywhere to be disabled on their client's desktop machines (i.e. computers that don't ever leave the office).  They are convinced that OL Anywhere is causing performance problems, and rather than burn cycle proving them wrong, I'd like to just disable this setting on those specific machines.  

The problem is that it's not as simple as just unchecking the box to use OL Anywhere in the email account settings as they return for various reasons suck as a new OL profile is created or when network connection changes occure, etc. - basically when OL uses the Autodiscover service then the settings are pulled back down by Outlook.

Is there a registry key or something that can be set on a client basis that will disable this for good?
1 Solution
Not positive, but this may be what you are looking for:
use CMDlet to do so :
Disable-OutlookAnywhere -Server:CAS01
Have a look at Configure Outlook Anywhere in Outlook 2007

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

planetjonesAuthor Commented:
Unfortunately, I cannot use Set-CasMailbox with the -MAPIBlockOutlookRpcHttp switch as these same users may need to utilize OL Anywhere from another computer such as a laptop.
Having said that, I also cannot disable OL Anywhere on the CAS as there are those that do indeed use it.
I'll see what I can get from the GPO.
<I have a high level support group who would like for Outlook Anywhere to be disabled on their client's desktop machines>

If they want the clients to be blocked then run:
Set-CasMailbox -MAPIBlockOutlookRpcHttp:$True. This will block OL Anywhere for all clients

<Is there a registry key or something that can be set on a client basis >

To then enable OL Anywhere on a per client basis run:
Set-CasMailbox -Identity <Mailbox_Name> -MAPIBlockOutlookRpcHttp:$False. This will enable OL Anywhere to be ran only on the mailboxes specified, but will still be disabled for everyone else.

You may want to see if you can do this in a high level Domain Group policy tied only to the workstation. (Base it on a location container in AD). From here you can cause specific machines (not based on users, so when they log into a pc somewhere else where you want Outlook Anywhere to work, they will get the proper configuration) to run a cmd file on logon (or a reg file if you want to apply it as a reg change) at the local login session. (This will depend on the machines being properly installed and configured in your Active Directory domain, and make sure that when each of these changes is applied to each session, that the gpupdate /force command is run so the local pc updates your policy immediatly.)

Hope this helps.. good luck!

Robert Cook
Sr. Network Engineer CCDA / CCNA / CCVP
<email and company name removed by SouthMod 01/03/2009>
Set-CasMailbox -MAPIBlockOutlookRpcHttp:$True does not appear to work for me. I've tried it, restarted the client, and they can still access using OA.

Any ideas?
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now