Exchange 2007 SP2 move the queue logs to a drive with more space

Posted on 2011-10-20
Last Modified: 2012-05-12
We have 1 Exchange Server 2007 on SP2. The 1st storage group for the maibox database and 2nd storage group for the public folders database.

last week i tried creating a public folder and then moving data from a large pst file into it. This caused major issues on the server. It was to do wtih the queue logs which currently are at the default location C:/Program Files/Microsoft/Exchange Server/Transport Roles/Data/Queue. The C drive has hardly any disc space left and i know Exchange needs at least 4gb free.

I would like to move the queue logs to the D drive which has more space. Am i correct in saying i just edit the EdgeTransport.exe.config file at C:\Program Files\Microsoft\Exchange Server\Bin and change the queuedatabasepath. Then restart the Microsoft Transport Service? Wihtout causing any loss of sending/receiving email.

I can then create a public folder and move the data into it without crashing the server.

Please advise
Thank you
Question by:NCGPIICT
    LVL 12

    Accepted Solution

    You can use shell and move the queue database easily with a simple script

    Move-TransportDatabase.ps1 -QueueDatabasePath: <destination path>

    And restart Transport service

    Author Comment

    do i then run the same script for -QueueDatabaseLoggingPath?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Do email signature updates give you a headache?

    Do you feel like you are constantly making changes to email signatures? Are the images not formatting how you want them to? Want high-quality HTML signatures on all devices, including on mobiles and Macs? Then, let Exclaimer solve all your email signature problems today.

    Resolve Outlook connectivity issues after moving mailbox to new Exchange 2016 server
    "Migrate" an SMTP relay receive connector to a new server using info from an old server.
    In this video we show how to create an email address policy 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…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    14 Experts available now in Live!

    Get 1:1 Help Now