Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2014-09-09
9
1,040 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
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: 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
 

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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
A list of top three free exchange EDB viewers that helps the user to extract a mailbox from an unmounted .edb file and get a clear preview of all emails & other items with just a single click on mailboxes.
In this video we show how to create an email address policy 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…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

809 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