question

jeffmcnabney-8287 avatar image
0 Votes"
jeffmcnabney-8287 asked ZhengqiLou-MSFT commented

Upgrade Exchange 2016 CU 19 -> 22

Prepping exchange for upgrade from cu19 to CU22... if i run the setup.exe /PrepareSchema /(licensestuffblahblah) in cmd, it gives me the error that the schema is not ready and fails, same as the wizard. I don't need to run the /PrepareSchema command if exchange is already installed, do I? Should i go directly to the /PrepareAD command? And on a single domain, i don't need to run the /PrepareDomain command do i? I'm getting mixed signals from the documentation.

office-exchange-server-administration
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

AndyDavid avatar image
0 Votes"
AndyDavid answered jeffmcnabney-8287 commented

If you run "Alternately, you can run setup.exe /PrepareAD
on a domain controller."

Does it work? that error indicates trouble contacting the FSMO Schema Master DC.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

You mean run Setup.exe /PrepareAD at the exchange cmd prompt? How do i run it on a DC? Mount the iso on the DC?

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered jeffmcnabney-8287 commented

If this a single AD forest domain, then you can run setup from the GUI and it will do all the steps for you - assuming you have the correct perms:
https://docs.microsoft.com/en-us/exchange/plan-and-deploy/prepare-ad-and-domains?view=exchserver-2019


However, if its failing, it wont matter and it wont run of course

What is the exact error?


· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Here's the command... run on exchange 2016 CU19 on server 2016... the DC it's checking against is a 2012R2 with a functional level of 2008r2.

G:\>Setup.exe /IAcceptExchangeServerLicenseTerms_DiagnosticDataON /PrepareSchema

Microsoft Exchange Server 2016 Cumulative Update 22 Unattended Setup

Copying Files...
File copy complete. Setup will now collect additional information needed for installation.


Performing Microsoft Exchange Server Prerequisite Check

 Prerequisite Analysis                                                                             FAILED

The Active Directory schema isn't up-to-date and the Active Directory management tools aren't installed on this
computer. To install the tools, install the 'RSAT-ADDS' Windows feature. Alternately, you can run setup.exe /PrepareAD
on a domain controller.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.W2K8R2PrepareSchemaLdifdeNotInstalled.aspx

The Windows component RSAT-ADDS-Tools isn't installed on this computer and needs to be installed before Exchange Setup
can begin.
For more information, visit: http://technet.microsoft.com/library(EXCHG.150)/ms.exch.setupreadiness.RsatAddsToolsInstalled.aspx


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

0 Votes 0 ·
AndyDavid avatar image
0 Votes"
AndyDavid answered AndyDavid commented

Correct. If you dont have .net 4.8 installed on the DC however it will prob fail the pre reqs.

If so, and you dont want to install .net on the DC, then you will need to figure out what the Exchange Server cant contact the Schema Master DC. If this is a single domain forest, then it should have no issues doing that

· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

mount the iso on the DC, run setup.exe /PrepareAD and see what happens?

0 Votes 0 ·

Why not? :)

0 Votes 0 ·
ZhengqiLou-MSFT avatar image
0 Votes"
ZhengqiLou-MSFT answered ZhengqiLou-MSFT commented

Hi @jeffmcnabney-8287 ,

Please also check the required components:
https://docs.microsoft.com/en-us/exchange/plan-and-deploy/prerequisites?view=exchserver-2016#windows-server-2016-prerequisites-for-exchange-2016

I guess you should run the following cmdlets in PowerShell(Admin):
Install-WindowsFeature NET-Framework-45-Features, Server-Media-Foundation, RPC-over-HTTP-proxy, RSAT-Clustering, RSAT-Clustering-CmdInterface, RSAT-Clustering-Mgmt, RSAT-Clustering-PowerShell, WAS-Process-Model, Web-Asp-Net45, Web-Basic-Auth, Web-Client-Auth, Web-Digest-Auth, Web-Dir-Browsing, Web-Dyn-Compression, Web-Http-Errors, Web-Http-Logging, Web-Http-Redirect, Web-Http-Tracing, Web-ISAPI-Ext, Web-ISAPI-Filter, Web-Lgcy-Mgmt-Console, Web-Metabase, Web-Mgmt-Console, Web-Mgmt-Service, Web-Net-Ext45, Web-Request-Monitor, Web-Server, Web-Stat-Compression, Web-Static-Content, Web-Windows-Auth, Web-WMI, Windows-Identity-Foundation, RSAT-ADDS

Best regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @jeffmcnabney-8287 ,

Do the suggestions above help? If the issue has been resolved, please click “Accept as answer” to mark the helpful reply as an answer, this will make answer searching in the forum easier and be beneficial to other community members as well.

If you are still stuck in this issue, please feel free to post your questions.

Regards,
Lou


If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

0 Votes 0 ·