We help IT Professionals succeed at work.

how to use the i switch when defragging exchange 2003

jtandsk asked
Last Modified: 2010-03-06
How do I and where do I use the i switch during a defrag of the exchange 2003?
EVerytime I run the defrag it tells me that it cannot find the stm file and errors out. I have that one on a different drive from the .edb file.
I plan on leaving the stm file out during the defrag or better yet how can i make exchange find the stm file on the other drive?

Watch Question

Top Expert 2007

I think it would be something like:

eseutil /d C:\exchsrvr\mdbdata\priv1.edb /sD:\exchsrvr\mdbdata\priv1.stm /i
Top Expert 2007

(obviously the paths to your .edb and .stm would most likely be different)


why is there an s right before the d switch
Top Expert 2007

And I'd be wrong if I didn't mention that in general, unless there is a specific need to run the offline defrag, it is not recommended......let the online defrag do it's thing.


tried it and it didn't work. It keeps saying that it cannot find the streaming file even with that switch
Top Expert 2007

the /s is telling eseutil where the .stm is located....in my example it's on the D drive. The actual /d switch is right after 'eseutil'. Also, note that there is a space after the /d switch.....and there is not a space after the /s switch. I'm pretty sure that's the syntax.

If the .stm file were on the F: drive it'd be:

....priv1.edb /sF:\exchsrvr\mdbdata\priv1.stm........
Top Expert 2007

If that does not work then try a space between the /s switch and the file location; been a while since I've done it
Top Expert 2007

And if you have a space in a folder name that's included in the path to your .stm file then you'll want to enclose the whole thing in quotes (same goes for the .edb file):

....priv1.edb /s"D:\program files\exchsrvr\mdbdata\priv1.stm"....


so do I need the i/ switch since I am telling it where to find the stm file?
Top Expert 2007
Unlock this solution and get a sample of our free trial.
(No credit card required)

Gain unlimited access to on-demand training courses with an Experts Exchange subscription.

Get Access
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Empower Your Career
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE

Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.


Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.