Solved

Exchange 2013:   Setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms  Fails with 'An unknown command-line [/PrepareSchema] was specified.'

Posted on 2014-09-09
9
970 Views
Last Modified: 2014-09-13
I am migrating from Exchange 2007 to 2013 SP1 in an adopted environment.  Exchange 2013 is being hosted on server 2012 R2.  I have gone through prerequisites successfully, installed what needs to be but when it comes to running, from an elevated PS window  " .\setup.exe  /PrepareSchema /IAcceptExchangeServerLicenseTerms" it starts but then fails "An unknown command-line [/PrepareSchema] was specified."

I am currently downloading a new Exchange 2013 SP1 from MSVLC but any help would be much appreciated.

Thanks.
0
Comment
Question by:Drzamboo
  • 5
  • 2
  • 2
9 Comments
 
LVL 12

Expert Comment

by:David Paris Vicente
ID: 40312643
Did you try to this with out the pointer (.\Setup.exe)
And select all the path to the cdrom or drive letter of a physical disk of the new Exchange Server?
There were issues reported when using network drives if this is the case can you try copy the iso to your server and run again?
Ex:
cd mydrive:\ [Enter]
mydrive:\ setup /prepareSchema

And of course your account belongs to the Schema Admin and Enterprise Admins and Exchange Domain Servers?

Let us know
0
 

Author Comment

by:Drzamboo
ID: 40312751
Thanks David,

I tried
- executing without the pointer and failed "The term 'setup.exe' is not recognized as the name of a..."
- I do belong to Domain Admins, Enterprise Admins, Schema Admins, Local Admins
- PS ExecutionPolicy is Unrestricted
- PS is running as Admin
- The files are actually local
-----  System drive is Hyper-V provisioned SMB3 from NetApp
-----  Data drives are SnapDrive provisioned from NetApp filer
----------  On their own Volume
- I will download the trial and see if there is something wrong with the current 'setup.exe'

Capture.JPG
0
 
LVL 12

Expert Comment

by:David Paris Vicente
ID: 40312811
I suppose you installed the RSAT-ADD in the exchange server. Right?

And if you run command in in the command line and not in Powershell, you have the same problem?
Can you also check the exchange system setup log, to check if report anything else?
0
 

Author Comment

by:Drzamboo
ID: 40312880
I have previously
- Install-WindowsFeature RSAT-ADDS

There is nothing in any of the logs that is significant.

I also had the DC/SchemaMaster configured with the requirements and it failed as well.

Still downloading trial
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:Drzamboo
ID: 40312900
I have tried using both Powershell and CMD, both with exactly the same results.
0
 
LVL 34

Accepted Solution

by:
Seth Simmons earned 500 total points
ID: 40312982
looks like you're in the wrong folder or wrong media
the screenshot you provided shows 'windows setup' in the title bar and 'setup is starting' at the bottom which is at the operating system level

running exchange setup with command line options show output and errors in the command window; doesn't show graphical dialog boxes like that
0
 

Author Comment

by:Drzamboo
ID: 40313227
Thank you David and Seth.

The commands were actually all run from the correct location and with correct permissions.  The issue has been resolved and the Exchange 2013 wSP1 files downloaded from MSVLC were the issue.  I downloaded the Trial and all is good.

Thanks you for taking the time to assist.
0
 
LVL 34

Expert Comment

by:Seth Simmons
ID: 40313318
as i said, you were using the wrong media
i just reproduced what you did using windows 2012 installation media and got the same result; you were not using the exchange installation files

windows setup
0
 

Author Comment

by:Drzamboo
ID: 40321313
Thanks to the both of you.  The troubleshooting steps are useful to those that may find this thread and the fact that as a Best Practice.. *check that the media you intend to use is actually the media in use.*  Hehe, Seth, I was a bit embarrassed but the folder was aptly named EXCH2013wSP1 but contained the Server2012 installation files.
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
To show how to create a transport rule 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 >> Rules tab.:  To cr…
To show how to generate a certificate request 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 Servers >> Certificates…

867 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

21 Experts available now in Live!

Get 1:1 Help Now