"Unable to load the specified offline registry hive" error when rejoining the domain

I receive "Unable to load the specified offline registry hive" when rejoining the domain
The pc will already be a long time member of the domain and when the user trys to log in they get a "the trust relationship between this workstation and the primary domain failed"
This has occured randomly on different machines in my small domain(less than 50 pc's).
When I try the first fix, gpedit:
1) Start>Run>gpedit.msc
2) Computer Configuration>Windows Settings>Security Settings>Local Policies>User Rights Assignments
3) Double click  on Back up files and directories and add the Administrators.
4) Double click  on Restore files and directories and add the Administrators.
I always see two accounts with long security descriptors indicating the pc does not recognize them any longer in the Backup Files and Restore Files settings.

I have two domain controllers, once 2016 and other 2012.
Domain @ Forest functional level 2012 both servers.
I did(about 6 months ago) remove the old PDC, a 2012 machine and I elevated after the removal the Domain/Forest functional level to 2012.
I checked both servers for RID/PDC/Infrastructure settings and they are all set to correct server.
To fix this issue I have to either fix two errors in the local pc that cannot join the domains gpedit or if that fails I have to recreate/reload the local pc security database.

Does anyone know why this is occuring?
Claude HaydenIT AdminAsked:
Who is Participating?
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.

Zaheer IqbalTechnical Assurance & ImplementationCommented:
Any new windows updates gone on ?
Anitvirus updates ?
0
masnrockCommented:
Could be a corrupted security database on that particular machine.

1) Open MMC
2) Add Security Configuration and Analysis tool
3) Right click Security Configuration and Analysis in the left pane
4) Select open database
5) In the new database, type in secnew.sdb, click ok.
6) Select setup defltbase.inf as the template to import from C:\Windows\inf, click ok.
7) Rightclick Security Configuration and Analysis in the left pane again
8) Select configure computer
9) Reboot the machine.
10) Try adding the machine to the domain.


Source: https://social.technet.microsoft.com/Forums/windowsserver/en-US/edef9123-327d-4abc-905e-5529c2c77791/unable-to-load-the-specified-offline-registry-hive-when-rejoining-the-domain?forum=winserverDS
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
Claude HaydenIT AdminAuthor Commented:
If I see a definitive statement as to the cause I will mark assisted or best. As for av and windows, sure but that is offering up to the ether an answer. It is like a fire inspector saying it was "electrical", a catch-all that is used often when the cause is undetermined. The last comment is exactly how I rebuild the security database.
0
Claude HaydenIT AdminAuthor Commented:
I forgot to say thank you to those who responded and those who have viewed the post so far. EE is awesome and has helped me before.
0
PberSolutions ArchitectCommented:
No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: masnrock (https:#a42421277)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

Pber
Experts-Exchange Cleanup Volunteer
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
Databases

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.