Daily Archives: May 13, 2005

Static port mapping for Exchange 2003 and Outlook

I got into a bit of a heated discussion in the pub the other evening about how Outlook communicates with Exchange.  Daft isn’t it, how innocent statements get turned into full blown arguments (I suppose thats how some wars get started too).  Anyway the consultant I was arguing with couldn’t see the reason why Outlook and Exchange used random ports to communicate with each other (it’s the way that RPC works).  He wanted to set up a system so that the port ranges were fixed and static. I started off with a full explanation about RPC etc. etc. But he dug his heels in and wanted to fix the port ranges. I said “Exchange doesn’t work like that”

Well, after a bit of searching <blush> Tony, here’s how you do it…..

Locate, and then click the following registry key:

Add the following entry for the Microsoft Exchange SA RFR Interface:
Value name: TCP/IP Port
Value type: REG_DWORD
Value data: Port number to assign

Watch out for the limitations for port ranges though.  There is a problem too with mail notification which is received through a random UDP port, and this port can not be mapped in a static manner.  So if you’re using a firewall between clients and servers you need to turn on RPC polling

You must also manually create the following keys to override the ForcePolling registry value that is set by Windows XP SP2. To do this, follow these steps.
Locate and then click to select the following registry key:
On the Edit menu, click Add Key, and then typeOffice. The class is None.
Click the Office key,click the Edit menu, click Add Key, and then type 10.0. The class is None. 
Click the 10.0 key, click the Edit menu, click Add Key, and then type Outlook. The class is None.
Click the Outlook key, click the Edit menu, click Add Key, and then type RPC. The class is None.
On the Edit menu, click Add Value, and then type ForcePolling. The data type is REG_DWORD, and the value is 0.

So sorry Tony – I was wrong about the mappings.  Drinks are on me next time I’m in London 🙂


Moving the Public Folder hierarchy in Exchange 2003

I’ve been asked about this twice this week, so I thought it was worth a blog entry.

How do you move public folders to another Administrative group?  Well firstly you need a Public folders container

To create a Public Folders container and move a Top level hierarchy to it:

1. Open the Exchange System Manager snap-in.
2. Click to select the new Administrative Group.
3. Right-click the Administrative Group, click New, and then click Public Folders Container.
4. Navigate to the public folder tree that you want to move.
5. Drag the public folder tree to the Public Folders container that you created in step 3.

Information is in this KB article… and any problems you may get might be covered here