How to: Move the transport queue on an Exchange 2007/2010 Hub Transport Server

When you’ve a large Exchange environment, it’s recommended to change the location of the Hub Transport queue. To do this, you can use the following script. The default location is the folder where you’ve installed Microsoft Exchange. For example C:\Program Files\…

1.) Navigate to the file EdgeTransport.exe.config, located in the Bin directory of the Exchange installation folder.
2.) Search for the rules QueueDatabasePath and QueueDatabasesLoggingPath. This is the orrigional location
3.) Open the Exchange Management Shell
4.) Browse to the scripts directory in the Exchange installation folder
5.) Select the script Move-TransportDatabase.PS1
6.) Run the following command
Move-TransportDatabase.PS1 -QueueDatabasePath NEWLOCATION -QueueDatabaseLoggingPath NEWLOCATION
In my example it’s moving to D:\Queue
7.) Now the Hub Transport database and logfiles will be moved to the new location. It’s containing the following files;

Trn.chk – The checkpoint file
Trn.log – The current transaction log file
Trntmp.log – The next provisioned transaction log file that is created in advance
Trnnnn.log – Other transaction log files that are created when Trn.log reaches its maximum size
Trnres00001.jrs – The Reserve log file
Trnres00002.jrs – The Second Reserve log file
Temp.edb – Temp DB used to verify database schema on start-up

Rollup 6 for Exchange Server 2010 Service Pack 1

The Exchange CXP team released Update Rollup 6 for Exchange Server 2010 SP1 to the Download Center.

This update contains a number of customer-reported and internally found issues since the release of SP1. See ‘KB 2608646: Description of Update Rollup 6 for Exchange Server 2010 Service Pack 1′ for more details.

This update contains a number of customer reported and internally found issues since the release of RU5.

The most Important Fixes:

  • 2627769 Some time zones in OWA are not synchronized with Windows in an Exchange Server 2010 environment
  • 2528854 The Microsoft Exchange Mailbox Replication service crashes on a computer that has Exchange Server 2010 SP1 installed
  • 2544246 You receive a NRN of a meeting request 120 days later after the recipient accepted the request in an Exchange Server 2010 SP1 environment
  • 2616127 “0×80041606” error code when you use Outlook in online mode to search for a keyword against a mailbox in an Exchange Server 2010 environment.
  • 2549183 “There are no objects to select” message when you try to use the EMC to specify a server to connect to in an Exchange Server 2010 SP1 environment

Other Fixes:

  • 2431609 An update is available that updates the message of a retention policy in OWA for Exchange Server 2010
  • 2449266 EWS drops the TCP connection to the EWS client application without any error message in a Microsoft Exchange Server 2010 environment
  • 2480474 A Users do not receive quota warning messages after applying SP1 for Exchange 2010
  • 2514820 An incoming fax message is not delivered to the recipient in an Exchange Server 2010 SP1 environment
  • 2521927 Disabling the Exchange ActiveSync Integration feature for OWA does not take effect in OWA Premium clients in an Exchange Server 2010 environment
  • 2535289 The Microsoft Exchange Information Store service crashes occasionally when you run an antivirus application on an Exchange Server 2010 Mailbox server
  • 2536313 Slow message delivery and mailbox access for journaling mailboxes on an Exchange Server 2010 server
  • 2548246 The Microsoft Exchange Information Store service crashes occasionally when a folder view is corrupted on an Exchange Server 2010 mailbox server
  • 2549289 A RBAC role assignee can unexpectedly run the Add-MailboxPermission command or the Remove-MailboxPermission command on an Exchange Server 2010 server that is outside the role assignment scope
  • 2555851 A mailbox does not appear in certain address lists after you run commands on the mailbox in an Exchange Server 2010 SP1 environment
  • 2559814 A user cannot add or remove delegates from a mailbox by using Outlook in an Exchange Server 2010 environment
  • 2561514 Exchange Server 2003 user cannot view the free/busy information of a user in a different federated organization
  • 2563860 You cannot create a new mailbox database if you already have 1000 mailbox databases in an Exchange Server 2010 environment
  • 2567409 Certain free/busy messages are not replicated from an Exchange Server 2010 server to an Exchange Server 2003 server
  • 2571791 Retention policies are applied to Contact items unexpectedly in an Exchange Server 2010 environment
  • 2572052 Certain properties of a recurring meeting request from external email accounts are missing in an Exchange Server 2010 SP1 environment
  • 2575005 You cannot start the EMC or the EMS in an Exchange Server 2010 Service Pack 1 environment
  • 2578631 Certain users cannot send email messages to a mail-enabled public folder in an Exchange Server 2010 environment
  • 2579172 Items that are deleted or moved still appear in the original folder when you use Office Outlook in online mode to access an Exchange Server 2010 mailbox
  • 2579671 No results returned when you use the ExpandGroup method in EWS to retrieve a list of members of a Dynamic Distribution Group in an Exchange Server 2010 environment
  • 2582095 The SmtpMaxMessagesPerConnection property of a send connector is not replicated to the subscribed Edge Transport server in an Exchange Server 2010 environment
  • 2600835 The RPC Client Access service crashes when you delete an attachment of an item by using Outlook in online mode in an Exchange Server 2010 SP1 environment
  • 2601701 The memory usage of the MSExchangeRepl.exe process keeps increasing when you perform a VSS backup on Exchange Server 2010 databases
  • 2617126 The Store.exe process crashes when you send an email message that has attachments in an Exchange Server 2010 SP1 environment

 

General Notes

An issue with management of RBAC roles when RU6 is partially deployed in the organization: Due to changes shipped in this update, certain warnings can be displayed when managing RBAC roles, if RU6 is not yet deployed to all servers in the organization. Please see the following KB article for more information:

Managing RBAC roles might display warnings or errors if Exchange 2010 SP1 RU6 is partially deployed in the organization
http://support.microsoft.com/kb/2638351

Note for Forefront users: For those of you running Forefront Protection for Exchange, before installing the update, stop all Forefront services.

How to: Bulk export mailboxes to PST in Exchange 2010

Today I’ve to create a temporary solution to backup the Exchange 2010 environment. There’s one simple solution to export all the mailboxes to PST, this is not a prevered solution for a production environment, but it works 🙂 I’ve used the following powershell commando’s.

1.) New-RoleGroup “Mailbox Import Export Group” -Roles “Mailbox Import Export”
2.) Add-RoleGroupMember “Mailbox Import Export Group” -Member “Administrator”
3.) New-MailboxExportRequest -Mailbox mswi -FilePath \\SRV-EXC01\Z$\Export_PST\mswi.PST

When you want to export all the mailboxes in your Exchange environment, you can use the following powershell command.
foreach ($mbx in (Get-Mailbox)) { New-MailboxExportRequest -Mailbox $mbx -FilePath “\\win2008srv01\c$\PST\$($mbx.Alias).pst” }

 

Migrate mailbox from Exchange 2003 to Exchange 2010

Today I had to perform a migration from Microsoft Exchange 2003 to 2010. The new “Move Mailbox” option is replaced with the “Local Move Request“. By default there’s a maximum of two threads at one time…so when you’ve to migrate 1000 users, you’ll have to wait a long time!

You can edit the maximum of two threads within the following file; MSExchangeMailboxReplication.exe.config. This file is located in the installation directory of Microsoft Exchange. In my environment it is D:\Program Files\Microsoft\Exchange Server\V14\Bin

Change the following settings:

  • MaxActiveMovesPerTargetMDB = “2”

The default value (as of SP1, version 218.15, at least) seems to be 2. Change the 2 to a 5, or an 8, or whatever you’d like it to be.

  • MaxActiveMovesPerSourceMDB – 5, 0, 100
  • MaxActiveMovesPerTargetMDB – 5, 0, 100

Save the file, and restart the Microsoft Exchange Mailbox Replication service. Now you can perform 5 move requests at one time!! Cool… 😉