Re: Automate Exchange Database defrag

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Channing Heffney[MSFT] (chanh_at_online.microsoft.com)
Date: 02/11/04


Date: Wed, 11 Feb 2004 15:54:16 -0500

You can create a batch file that will do it for you.
Here is a sample

net stop msexchangeis

cd c:\program files
cd exchsrvr
cd bin

eseutil /d "c:\program files\exchsrvr\mdbdata\priv1.edb"

net start msexchangeis

end sample

-- 
chanh@online.microsoft.com
Please do not send email directly to this alias.  This alias is for
newsgroup purposes only.
This posting is provided "AS IS" with no warranties, and confers no rights.
"Jim" <jbourque@diamonddiagnostics.com> wrote in message
news:7b4701c3efd9$99713220$7d02280a@phx.gbl...
> Hi Amila:
>
> Any luck on finding a tool to do this.  I'm currently
> facing the same dilemma.
>
> -- Jim
> >-----Original Message-----
> >I am looking for a way to automate exchange database
> defrag.  THis should
> >1. Dismount Store
> >2. defrag
> >3. Mount Store.
> >
> >It make life easier for us since our exchange server has
> about 10 stores and
> >ability to schedule a defrag job would be the best
> solution.
> >
> >
> >Amila
> >
> >
> >.
> >


Relevant Pages

  • Re: net stop service vs dismount store
    ... If it is not an issue then just do the net stop msexchangeis. ... What are your time expectations for the defrag? ... will only make the dismounted store unavailable, ...
    (microsoft.public.exchange2000.information.store)
  • Re: how to schedule MS degragmenter?
    ... manual way to run Defrag is to click to Start/Control ... you launch the tool via a command line plus ... I have a batch file called "DEFRAG_ALL.BAT" for example, ... Using Task Scheduler To Complete The Process ...
    (microsoft.public.windowsxp.basics)
  • Re: Exchange Server Problem Event ID 1025 Bitte um Hilfe
    ... Saluti Michael, ... Folder Store zunächst beheben. ... > Ereignistyp: Warnung ... > Ereignisquelle: MSExchangeIS Public Store ...
    (microsoft.public.de.exchange)
  • Re: reg.exe help please
    ... "-f" to force it to defrag even if the free drive space gets low. ... to force overwriting the existing registry entry without prompting. ... and his reasoning is that this batch file is going to be put on everyone's ... I told him to just schedule a defrag but he wants to be sure to run chkdsk ...
    (microsoft.public.windowsxp.general)
  • Re: Disk Full - Bad Mail Folder culprit
    ... no members. ... This will basically delete the mail for you withou jamming up ... > I set up a batch file and use task scheduler to run this daily on my ... >> store was shut down. ...
    (microsoft.public.exchange2000.admin)