How do I move mailboxes to a different mail store and defrag that mail store in exchange 2007?

Posted on 2010-11-16
Last Modified: 2012-08-13
We have 4 mail stores in our environment.  I need to defrag each one.  I have to move the mailboxes off the store before they can be defragged.  What is the command shell for doing that?  Obviously I dont want to do them one at a time.  Thanks
Question by:TriCountyIT
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 74

Expert Comment

by:Glen Knight
ID: 34144701
You don't need to defrag the stores in Exchange 2007.

You create a new mailbox store, move the mailboxes either by selecting them and right clicking then say Move Mailbox or use the Move-Mailbox command from the Exchange Management Shell.

Author Comment

ID: 34144714
There is a lot of space un accounted for.  Is there anything more than defragging the drive?

Accepted Solution

johnnash1180 earned 500 total points
ID: 34144724
Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

LVL 74

Expert Comment

by:Glen Knight
ID: 34144734
Can you please be more specific? What do you mean by a lot of space unaccounted for?

Author Comment

ID: 34144755
We have 150 gigs of total space on our exchange database drive.  I do a properties on everything and there is only 110 gigs accounted for.  There is a bunch of space that I have no idea where is.
LVL 13

Expert Comment

ID: 34149982
You've looked with Hidden Files shown and unticked the option in "Folder Options" to "hide protected operating system files"?

I guess that you could have a page file, recycle bin or something else sat on the drive that is using space.  As for the space that you could retrieve from the mailbox database files, you need to look for Event 1221 in the Application log on your exchange server.  This will tell you how much space you could get back by doing an offline defrag.

Featured Post

Free learning courses: Active Directory Deep Dive

Get a firm grasp on your IT environment when you learn Active Directory best practices with Veeam! Watch all, or choose any amount, of this three-part webinar series to improve your skills. From the basics to virtualization and backup, we got you covered.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lotus Notes – formerly IBM Notes – is an email client application, while IBM Domino (earlier Lotus Domino) is an email server. The client possesses a set of features that are even more advanced as compared to that of Outlook. Likewise, IBM Domino is…
This article explains how to install and use the NTBackup utility that comes with Windows Server.
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
The basic steps you have just learned will be implemented in this video. The basic steps are shown to configure an Exchange DAG in a live working Exchange Server Environment and manage the same (Exchange Server 2010 Software is used in a Windows Ser…

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question