Solved

Unable to run setup /prepareschema

Posted on 2013-05-20
7
2,505 Views
Last Modified: 2014-02-22
Hi

Im trying to install Exchange 2010 SP1 on a Windows Server 2012 box. It's a member server and when running the setup /prepareschema, I get the following output.

HELP PLEASE

D:\>setup /PrepareSchema

Welcome to Microsoft Exchange Server 2010 Unattended Setup

Setup will continue momentarily, unless you press any key and cancel the
installation. By continuing the installation process, you agree to the license
terms of Microsoft Exchange Server 2010.
If you don't accept these license terms, please cancel the installation. To
review the license terms, please go to
http://go.microsoft.com/fwlink/?LinkId=150127&clcid=0x409/

Press any key to cancel setup................
No key presses were detected.  Setup will continue.
Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

No server roles will be installed

Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks                                       COMPLETED

Configuring Microsoft Exchange Server

    Extending Active Directory schema                         FAILED
     The following error was generated when "$error.Clear();
        install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$
RoleSchemaPrefix + "schema0.ldf")

" was run: "The system cannot find the file specified".


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.
0
Comment
Question by:TechAccessLtd
7 Comments
 
LVL 52

Expert Comment

by:Manpreet SIngh Khatra
ID: 39181908
I would suggest to download a fresh Install\Setup files and do as seem this is corrupt

- Rancy
0
 

Author Comment

by:TechAccessLtd
ID: 39182010
Already done that but still same error. Any other suggestions?
0
 
LVL 63

Accepted Solution

by:
Simon Butler (Sembee) earned 500 total points
ID: 39182071
Exchange 2010 SP1 isn't supported on Windows 2012.
You need to download Exchange 2010 SP3 (which is the complete installation) and install that.

Simon.
0
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

Author Comment

by:TechAccessLtd
ID: 39182150
Thanks Simon - However, I still have the same issue when running prepareschema using SP3:

Z:\Microsoft Exchange Server 2010 with SP3\Extracted>setup /PrepareSchema

Welcome to Microsoft Exchange Server 2010 Unattended Setup

Setup will continue momentarily, unless you press any key and cancel the
installation. By continuing the installation process, you agree to the license
terms of Microsoft Exchange Server 2010.
If you don't accept these license terms, please cancel the installation. To
review the license terms, please go to
http://go.microsoft.com/fwlink/?LinkId=150127&clcid=0x409/

Press any key to cancel setup................
No key presses were detected.  Setup will continue.
Preparing Exchange Setup

    Copying Setup Files                           COMPLETED

No server roles will be installed

Performing Microsoft Exchange Server Prerequisite Check

    Organization Checks                                       COMPLETED

Configuring Microsoft Exchange Server

    Extending Active Directory schema                         FAILED
     The following error was generated when "$error.Clear();
        install-ExchangeSchema -LdapFileName ($roleInstallPath + "Setup\Data\"+$
RoleSchemaPrefix + "schema0.ldf")

" was run: "The system cannot find the file specified".


The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.

Exchange Server setup encountered an error.
0
 

Author Closing Comment

by:TechAccessLtd
ID: 39186962
Many thanks Simon. All fixed now.
0
 

Expert Comment

by:ccpd
ID: 39599171
What was the resolution to this issue? I have downloaded a fresh download of SP3 and am receiving this error?
0
 

Expert Comment

by:Citylights
ID: 39880145
I had the exact same problem (installing Exchange 2010 SP3 on Windows 2012).

I ran this in Powershell to fix:

Install-WindowsFeature RSAT-ADDS

I had been following the
Exchange 2010 Prerequisites (last modified 2013-02-26) TechNet article to "Install the Windows Server 2012 operating system prerequisites" but obviously this pre-requisite was missing for me.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Follow this checklist to learn more about the 15 things you should never include in an email signature from personal quotes, animated gifs and out-of-date marketing content.
How to resolve IMCEAEX NDRs in Exchange or Exchange Online related to invalid X500 addresses.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 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