When Exchange Server setup fails using /FORESTPREP

This tip originally appeared on SearchExchange.com, a sister site of SearchSMB.com.

The Exchange 2000/2003 setup program can accept the command-line switch, /FORESTPREP, which allows administrators to extend the schema of Active Directory

    Requires Free Membership to View

to include Exchange Server classes and attributes -- without actually performing an Exchange 2000/2003 installation.

This allows the Active Directory portion of an Exchange setup to be done independently from the actual Exchange program installation. If AD and Exchange are managed by different people at your organization, and you don't want them to step on each other's toes, this is highly useful.

Unfortunately, Exchange setup with /FORESTPREP can sometimes fail inexplicably with an error like this:

Setup failed while installing sub-component Microsoft Exchange 
Organization-Level Container Object with error code 0xC1037AE6 
(Please consult the installation logs for a detailed description)
You may cancel the installation or try the failed step again

Attempts to retry the installation usually fail too. If the install does complete, many elements of Exchange still won't work correctly. When this happens, cancel the installation and roll back any changes before attempting anything again.

One reason setup fails with /FORESTPREP is because the TEMP or TMP directory variables (which can be seen through the SET command) have one or more spaces in them, and 8.3 file-name generation has been disabled on the NTFS system partition. The setup program uses the 8.3 version of the pathname to the TEMP directory to store temporary setup options, so if it can't find that path on the disk, it'll fail.

To work around this, set the TEMP and TMP system variables to point to a directory path that has no spaces on it (such as C:\TEMP or C:\TMP). Just remember to create the corresponding folder as well, or the install will still fail!

About the author: Serdar Yegulalp is editor of the Windows Power Users Newsletter.

This was first published in November 2005

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to:

Disclaimer: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.