Exchange server is giving trust relationship issue.

Akash Bansal
Akash Bansal used Ask the Experts™
on
I have an exchange server 2016 in a virtual machine of windows 2016. After a RAID controller issue the exchange database got corrupted.
It is the only exchange server with all the roles.
I restore it from the last backup.
Now after restoring its giving Trust relationship error.

Please help urgently.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Senior Infrastructure Analyst
Commented:
Likelihood is you'll need to recreate the trust between the server and the domain,your easiest option is to either use powershell or readd it to the domain

Test-ComputerSecureChannel -Repair
In that case, I think you should use a recovery tool for this.
MaheshArchitect
Distinguished Expert 2018
Commented:
you can use netdom command line tool to restore secure channel

or use powershell

https://kb.wisc.edu/cads/page.php?id=35112
Ensure you’re charging the right price for your IT

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

Akash BansalIT Professional

Author

Commented:
Thanks for the speedy support.
Should I login with a local account or safemode/ Directory restore mode before executing the command to reset the secure channel?
AlexSenior Infrastructure Analyst
Commented:
No no no, you just log onto the exchange server locally, then run powershell as admin, then run that command and stipulate your domain account to recreate the trust.

Test-ComputerSecureChannel -Repair -Credential $(Get-Credential)
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017
Commented:
This is completely normal for a restore, because  Active Diretory has detected your server has travelled back in time, and the data and tokens do not match, so therefore trust has failed.

You could also just add back to the domain, using Local Administrator account.
Akash BansalIT Professional

Author

Commented:
Thanks for the so quick support in this emergency condition.
I am able to login & successfully started the exchange services.
Rest I would update you shortly.
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization Consultant
Fellow 2018
Expert of the Year 2017

Commented:
Make sure you check it's all good, before letting users back on!
Akash BansalIT Professional

Author

Commented:
Thanks Alex & Mahesh for the quick support that leads to resolving the case.
MaheshArchitect
Distinguished Expert 2018

Commented:
Hi Akash,

Andrew's comment gave you root cause of issue and relief as well, the comment is endorsed twice but you have not considered / noticed it, the comment should get awarded....
Akash BansalIT Professional

Author

Commented:
How to edit the points given?
MaheshArchitect
Distinguished Expert 2018

Commented:
I am not sure if you can do this.
Moderator will help you with redistribution of points, have reported to them.
Akash BansalIT Professional

Author

Commented:
Thanks again everyone. Mr. Andrew has helped me in the past too. Thanks for giving your precious time & support this time too.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial