Link to home
Start Free TrialLog in
Avatar of TechAccessLtd
TechAccessLtd

asked on

Unable to run setup /prepareschema

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.
Avatar of Manpreet SIngh Khatra
Manpreet SIngh Khatra
Flag of India image

I would suggest to download a fresh Install\Setup files and do as seem this is corrupt

- Rancy
Avatar of TechAccessLtd
TechAccessLtd

ASKER

Already done that but still same error. Any other suggestions?
ASKER CERTIFIED SOLUTION
Avatar of Simon Butler (Sembee)
Simon Butler (Sembee)
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
Many thanks Simon. All fixed now.
What was the resolution to this issue? I have downloaded a fresh download of SP3 and am receiving this error?
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.