Thursday, March 25, 2010

Outlook 2007 - Connect to my Exchange mailbox using HTTP - Disable with registry

In a Exchange 2010 project I’m working on, all the clients (laptops and desktops) are configured to use RPC/HTTPS on slow and fast networks.


Since the company does not allow Outlook Anywhere, we needed to change this configuration, and to disable the “Connect to my Exchange mailbox using HTTP” option in Outlook.

This information was hard to find, since it does not obviously writes this in clear text in registry. This information is written in hex in here: HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Default Profile\13dbb0c8aa05101a9bb000aa002fc45a
The key that keeps this configuration are: 00036623
This also keeps the configuration of the choice of slow and fast network.
When RPC is enabled but not configured the HEX value = hex: 23,00,00,00
If you disable the “Connect to my Exchange mailbox using HTTP” in Outlook the KEY 00036623 is deleted.
To manually disable the RPC in Outlook, you have either delete the key or set it to 00036623 = hex:22,00,00,00

The following keys are also used for configuring RPC:
001f6622 contains the URL specified to your Exchange server
001f6625 Verifies that the certificated used contains the same URL
0003662 This key is for basic / NTLM authentication

This is what I've found out, and with a fresh install of Outlook 2007, the keys described above does not exists.

Regards

1 comment:

Alex said...
This comment has been removed by a blog administrator.