Consider the following scenario:
- You have a computer that is running Microsoft Exchange Server 2007.
- You have a workstation that has the Exchange management tools and Microsoft Office Outlook 2007 installed.
- You run the Import-Mailbox cmdlet by using the Exchange management tools. This cmdlet imports data from a .pst file to a mailbox which is hosted on the server.
In this scenario, the mailbox folder permissions are overwritten incorrectly.
The
Import-Mailbox cmdlet uses MAPI Dynamic Link Libraries (DLLs) that are provided for Outlook to load the .pst data. In the scenario that is described in the “Symptoms†section, theÂ
Import-Mailbox cmdlet uses the OLMAPI32.DLL file. However, the OLMAPI32.DLL file for Outlook 2007 does not exclude the properties when it copies the .pst data into the mailbox. Therefore, the properties are overwritten and then the mailbox folder permissions are overwritten.Â
Important
This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756Â
(http://kbalertz.com/Feedback.aspx?kbNumber=322756/
)
How to back up and restore the registry in Windows
To resolve this problem, upgrade Outlook 2007 to Outlook 2007 Service Pack 2 (SP2). Then, add a registry key on the workstation where the
Import-Mailbox cmdlet is being run. To upgrade Outlook 2007 to Outlook 2007 SP2, download and install Microsoft Office 2007 SP2 from the following Microsoft website:
To add the registry key, follow these steps:Â
- Exit Outlook 2007.
-
Start Registry Editor.
-
In Windows Vista, click
Start Â
Collapse this imageExpand this image
 , type  regedit in the Start Search
box, and then press ENTER.
Collapse this imageExpand this image
 If you are prompted for an Administrator password or for confirmation, type the password, or provide confirmation.  - In Windows XP, click Start, click Run, type regedit in the Open box, and then click OK. Â
-
Locate and then click to select the following registry subkey:
HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Preferences
- After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value. Â
- Type CopyFolderEx, and then press ENTER. Â
- Right-click CopyFolderEx, and then click Modify. Â
- In the Value data box, type 1, and then click OK.Â
- On the File menu, click Exit
to exit Registry Editor.
- Restart the computer.
After you upgrade Oulook 2007 to Outlook 2007 SP2 and add the registry key, the mailbox folder permissions should no longer be overwritten or modified when importing data from a .pst file.
For more information about how to import mailbox data, visit the following Microsoft website: