question

NajmulHasanMohammed-0548 avatar image
0 Votes"
NajmulHasanMohammed-0548 asked NajmulHasanMohammed-0548 commented

Exchange2016 CU19 Adprep error code '2147942405' and message 'Access denied.

Hi Team, We have an Exchange 2016 CU15 DAG running 2 Servers.We are in the process of Ugrading to CU19,Schema Update went fine, But we are struck at prepareAD with the following error message.

Microsoft Exchange Server 2016 Cumulative Update 19 Unattended Setup Copying Files... File copy complete. Setup will now collect additional information needed for installation. Performing Microsoft Exchange Server Prerequisite Check Prerequisite Analysis COMPLETED Configuring Microsoft Exchange Server Organization Preparation FAILED The following error was generated when "$error.Clear(); buildToBuildUpgrade-ExsetDataAtom -AtomName OrgLevelCt -DomainController $RoleDomainController " was run: "Microsoft.Exchange.Management.Deployment.ExsetdataException: An error occurred with error code '2147942405' and message 'Access denied.'. at Microsoft.Exchange.Configuration.Tasks.Task.ThrowTerminatingError(Exception exception, ErrorCategory category, Object target) at Microsoft.Exchange.Management.Deployment.ManageExsetdataAtom.HandleExsetdataReturnCode(UInt32 scErr) at Microsoft.Exchange.Management.Deployment.ManageExsetdataAtom.BuildToBuildUpgradeAtom(AtomID atomID) at Microsoft.Exchange.Management.Deployment.BuildToBuildUpgradeExsetdataAtom.InternalProcessRecord() at Microsoft.Exchange.Configuration.Tasks.Task.<ProcessRecord>b__91_1() at Microsoft.Exchange.Configuration.Tasks.Task.InvokeRetryableFunc(String funcName, 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.

We tried to Uninstall AV but receive the same error message. User Running setup using elevated cmd is part of SchemaAdmins,EnterpriseAdmins,DomainAdmins,ExchangeOrganizationManagement.

Looking for help to resolve the issue.

Thanks and Regards

office-exchange-server-deployment
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.

NajmulHasanMohammed-0548 avatar image
1 Vote"
NajmulHasanMohammed-0548 answered NajmulHasanMohammed-0548 commented

Hi,

Providing Full permissions on the Exchange Folder ,Didnt Help.Also tried to Give Full control to system volume information folder didn't proceed well.

At the End we moved the Setup Files and run the PrepareAD from the Domain Controller and it went fine with no errors.


Thanks and Regards

· 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.

Hi @NajmulHasanMohammed-0548 ,

Greet!
Very happy to know your issue has been resolved, if you don't mind, could you tell me where you moved these files to?
Also you could click the accept button to mark your answer as the Accepted Answer so this thread would help many people who have the same issues.

Many thanks & Have a nice day XD

Best regards,
Zhengqi Lou

0 Votes 0 ·

We run PrepareAD on the Domain Controller.

What we suspect is that it might be because of a GPO setting which was restricting preparead to execute from the exchange server.


Regards

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

Hi @NajmulHasanMohammed-0548 ,

Have you set the server into maintenance mode?
Installing Cumulative Updates on Exchange Server 2016
Please Note: Since the web site is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.

Please give your account a full control permission of the existed Exchange folder(Exchange server or V15) to test if it's because of there are some files that you have no access rights.

You could try using the Setup.exe to do the preparation(open as admin) or check the SetupLogs in that folder.

Note: Kindly suggest that you can install the CU20 instead, since the CU19 has no Security Updates included, so you'll have to manually install that, also there are some issues are fixed you could find here: Cumulative Update 20 for Exchange Server 2016

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 @NajmulHasanMohammed-0548 ,

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

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 ·