Exchange server is giving trust relationship issue.

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.
LVL 2
Akash BansalIT ProfessionalAsked:
Who is Participating?

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

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

Alex GreenProject Systems EngineerCommented:
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
0

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
Dhruv BishtCommented:
In that case, I think you should use a recovery tool for this.
0
MaheshArchitectCommented:
you can use netdom command line tool to restore secure channel

or use powershell

https://kb.wisc.edu/cads/page.php?id=35112
0
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!

Akash BansalIT ProfessionalAuthor 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?
0
Alex GreenProject Systems EngineerCommented:
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)
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
2
Akash BansalIT ProfessionalAuthor 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.
0
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Make sure you check it's all good, before letting users back on!
0
Akash BansalIT ProfessionalAuthor Commented:
Thanks Alex & Mahesh for the quick support that leads to resolving the case.
0
MaheshArchitectCommented:
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....
0
Akash BansalIT ProfessionalAuthor Commented:
How to edit the points given?
0
MaheshArchitectCommented:
I am not sure if you can do this.
Moderator will help you with redistribution of points, have reported to them.
0
Akash BansalIT ProfessionalAuthor Commented:
Thanks again everyone. Mr. Andrew has helped me in the past too. Thanks for giving your precious time & support this time too.
0
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
Virtualization

From novice to tech pro — start learning today.