Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

The mailbox folder permissions are overwritten when you run the Import-Mailbox cmdlet in an Exchange Server 2007 environment


View products that this article applies to.

Symptoms

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.

↑ Back to the top


Cause

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. 

↑ Back to the top


Resolution

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://support.microsoft.com/kb/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:
Download and then install Microsoft Office 2007 SP2 (http://www.microsoft.com/downloads/details.aspx?FamilyId=B444BF18-79EA-46C6-8A81-9DB49B4AB6E5&displaylang=en)
To add the registry key, follow these steps: 
  1. Exit Outlook 2007.
  2. Start Registry Editor.
    • In Windows Vista, click Start  
       , type  regedit in the Start Search box, and then press ENTER.

        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.  
  3. Locate and then click to select the following registry subkey:
    HKEY_CURRENT_USER\Software\Microsoft\Office\12.0\Outlook\Preferences
  4. After you select the key that is specified in step 3, point to New on the Edit menu, and then click DWORD Value.  
  5. Type CopyFolderEx, and then press ENTER.  
  6. Right-click CopyFolderEx, and then click Modify.  
  7. In the Value data box, type 1, and then click OK
  8. On the File menu, click Exit to exit Registry Editor.
  9. 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.

↑ Back to the top


More information

For more information about how to import mailbox data, visit the following Microsoft website:
How to import mailbox data (http://technet.microsoft.com/en-us/library/bb691363(EXCHG.80).aspx)

↑ Back to the top


Keywords: kbsurveynew, kbprb, kbexpertiseinter, KB2273250, kbsurveynew, kbprb, kbexpertiseinter, KB2273250

↑ Back to the top

Article Info
Article ID : 2273250
Revision : 2
Created on : 7/26/2010
Published on : 7/26/2010
Exists online : False
Views : 445