Exchange Server 2013 CU9 Updates

I am trying to upgrade our Exchange Server 2013 environment from CU6-CU9 but I am getting the following error when I run the following on the domain controller:

setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms


   Prerequisite Analysis                                     FAILED
     The Active Directory schema isn't up-to-date, and this user account isn't a
 member of the 'Schema Admins' and/or 'Enterprise Admins' groups.
     For more information, visit:

     Setup encountered a problem while validating the state of Active Directory:
 Exchange organization-level objects have not been created, and setup cannot cre
ate them because the local computer is not in the same domain and site as the sc
hema master.  Run setup with the /prepareAD parameter on a computer in the domai
n sea-cadets and site Star-Bristol, and wait for replication to complete.  See t
he Exchange setup log for more information on this error.
     For more information, visit:

     The forest functional level of the current Active Directory forest is not W
indows Server 2003 native or later. To install Exchange Server 2013, the forest
functional level must be at least Windows Server 2003 native.
     For more information, visit:

     Either Active Directory doesn't exist, or it can't be contacted.
     For more information, visit:

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

The account in use is a member of both Schema and Enterprise Admin.
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Zacharia KurianAdministrator- Data Center & NetworkCommented:
Please have a look on the below link it will help you.

MSSC_supportAuthor Commented:
I was following that link but it doesn't answer the issue I have when running the schema update on the AD server.

setup.exe /PrepareSchema /IAcceptExchangeServerLicenseTerms
Zacharia KurianAdministrator- Data Center & NetworkCommented:
Could you give more details about your current exchange/Domain  set up? Like if you are using DAG,  single site or multiple site etc..

Also, is this a new setup or upgraded from 2010?

Recently I had helped a friend of mine, who has 2 sites with DAG. He faced the same issue like yours and this is the link I referred  to him.

Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

MSSC_supportAuthor Commented:
We are already using Exchange 2013 CU6 as per the original message.

Currently trying to upgrade the schema.

We have a dag environment between 2 exchange servers which are both running 2013 CU6.
MSSC_supportAuthor Commented:
Ok gotten past the Schema update by rebooting the server but now stuck on the PrepareAD with the following error:

C:\CU9>setup.exe /PrepareAD /IAcceptExchangeServerLicenseTerms

Welcome to Microsoft Exchange Server 2013 Cumulative Update 9 Unattended Setup
Copying Files...
File copy complete. Setup will now collect additional information needed for

Performing Microsoft Exchange Server Prerequisite Check

    Prerequisite Analysis                                     COMPLETED

Configuring Microsoft Exchange Server

    Organization Preparation                                  FAILED
     The following error was generated when "$error.Clear();
        install-AdministrativeGroup -DomainController $RoleDomainController

" was run: "Microsoft.Exchange.Data.Directory.ADObjectAlreadyExistsException: Ac
tive Directory operation failed on The object 'CN=Folder H
ierarchies,CN=Exchange Administrative Group (FYDIBOHF23SPDLT),CN=Administrative
Groups,CN=Sea Cadets,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=sea-c
adets,DC=org' already exists. ---> System.DirectoryServices.Protocols.DirectoryO
perationException: The object exists.
   at System.DirectoryServices.Protocols.LdapConnection.ConstructResponse(Int32
messageId, LdapOperation operation, ResultAll resultType, TimeSpan requestTimeOu
t, Boolean exceptionOnTimeOut)
   at System.DirectoryServices.Protocols.LdapConnection.SendRequest(DirectoryReq
uest request, TimeSpan requestTimeout)
   at Microsoft.Exchange.Data.Directory.PooledLdapConnection.SendRequest(Directo
ryRequest request, LdapOperation ldapOperation, Nullable`1 clientSideSearchTimeo
ut, IActivityScope activityScope, String callerInfo)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest
(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyO
bjectSessionOnException, Boolean isSync)
   --- End of inner exception stack trace ---
   at Microsoft.Exchange.Data.Directory.ADDataSession.AnalyzeDirectoryError(Pool
edLdapConnection connection, DirectoryRequest request, DirectoryException de, In
t32 totalRetries, Int32 retriesOnServer)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest
(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyO
bjectSessionOnException, Boolean isSync)
   at Microsoft.Exchange.Data.Directory.ADDataSession.ExecuteModificationRequest
(ADObject entry, DirectoryRequest request, ADObjectId originalId, Boolean emptyO
   at Microsoft.Exchange.Data.Directory.ADDataSession.Save(ADObject instanceToSa
ve, IEnumerable`1 properties, Boolean bypassValidation)
   at Microsoft.Exchange.Management.Deployment.InstallAdministrativeGroup.Instal
lConfigurationObject[TObject](ADObjectId id, Boolean force, TObject instance)
   at Microsoft.Exchange.Management.Deployment.InstallAdministrativeGroup.Intern
   at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__b()
   at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String fun
cName, Action func, Boolean terminatePipelineIfFailed)".

The Exchange Server setup operation didn't complete. More details can be found
in ExchangeSetup.log located in the <SystemDrive>:\ExchangeSetupLogs folder.
MSSC_supportAuthor Commented:
I have managed to resolve this issue myself. The issue was in the PFFolder under Hierachy had the following attribute msExchPFTreeType unset. I set this to 1 and /adprep ran successfully.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Budhi WitonoCommented:
I would recommend you to upgrade  Exchange CU 10
MSSC_supportAuthor Commented:
Resolved this myself.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.