How to Move Database to another Drive on Exchange Server Machine

The process to move Exchange database from one drive to another is a simple task. All that is needed is you need to do it right. Before moving on the steps as how to move Exchange database to another partition, let’s have a general view over why there is need for the same.

Moving Database and Log Files to Different Drive: There are scenarios where continuously growing database cannot be accommodated in its current drive. In that case, the intelligent idea to move the database into another location that has ample of space available for ever-rising size of DB.

Moving LOG File Drive to another Directory: For better performance and recoverability, it is always recommended to keep the database and log files in different directories. Reason being, at the time of drive failure where the DB is saved, the log files still remain safe to bring the database up-to-date for restoration to a point of failure.

How to Move Exchange 2010 Database to another Drive
In the prior section we discuses different scenarios why need to move database location from one to another drive. In this segment we’ll learn the complete process how to move Exchange 2010 database to another drive.

To move Exchange 2010 database and logs to a different directory, Exchange Management Console (EMC) or Exchange Management Shell (EMS) can be used. To start up, you need to dismount the database from Server and on completion of the location change process; the DB has to be manually mounted on Server. The default location of database in Exchange Server 2010 is

 “C:\Program Files\Microsoft\Exchange Server\V14\Mailbox\Mailbox Database.”

Change Database Location using EMC
Open EMC and in the console tree, click on “Organization Configuration” and under it, select “Mailbox

On the results pane, click on “Database Management” tab. Under it, select the mailbox database that has to be moved to different drive. Right-click on it and choose “Move Database Path


In the new wizard named “Move Database Path” define new location for the database and the log file. Click on the “Move” button at the bottom of screen.


A message will be prompted that says database has to be dismounted temporarily before moving the database location. Click “Yes” to continue.


Change Database Location using EMS (PowerShell)
Now to perform the same task but using command-line utility, run the Move-DatabasePath command. Here, the GUID name of the mailbox database is used to define the DB for changing the location.


How to Move an Exchange Server 2013 Database to a New Location
In the above post I described the process of how to move Exchange 2010 database location to another drive. This post is a continuation my previous post describing the how to move Exchange server 2013 database to new location concept.

When you first time install 2013 edition of Exchange Server, a database is automatically formed on Server as well. By default database is placed in the C:\ drive “Mailbox” folder of Exchange server installation path. The default location of the database in Exchange server 2013 is:

“C:\Program Files\Microsoft\Exchange Server\V15\Mailbox\Mailbox Database 1”

Let’s see how to move Exchange 2013 database to new location using “Move-DatabasePath” cmd in Exchange Management Shell

Before executing the move process, you must be aware that:
  • Logged on the mailbox server hosting database
  • Dismount the database from server
  • This procedure can’t be run at the same time when backup in progress

To change database of Exchange 2013 server named as “Mike Thomas” to new location of EDB file of E:\Mike Thomas and new path of log file is F:\Mike Thomas

Run this following command to move location of database:


To check if the database is mounted and accessible, use this command:


Conclusion: In this post I described the procedure of how to move Exchange 2010 and 2013 database to another location. If you are using earlier editions of Exchange server and facing any type of data corruption and moving, migration problem then you can consult me any time am always ready to conquer your issues regarding Exchange server.
I am V.Bagga a blogger by passion and I wrote various blog posts on wordpress. I love to write blog posts and share it in my social circle. I am very keen interested in learning new things and implementing them in my working strategy.

Related Posts
« Prev Post