Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 2273250 - Last Review: July 26, 2010 - Revision: 2.0

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

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.

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. 

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://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:
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  
      Collapse this imageExpand this image
      the Start button
       , type  regedit in the Start Search box, and then press ENTER.

      Collapse this imageExpand this image
      User Account Control permission
        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.

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)


APPLIES TO
  • Microsoft Exchange Server 2007 Enterprise Edition
  • Microsoft Exchange Server 2007 Standard Edition
  • Microsoft Office Outlook 2007
Keywords: 
kbsurveynew kbprb kbexpertiseinter KB2273250
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate