@Yazan M. Mashal check this GPO settings and test in a Dev/Test Environment before you implement on the prod env - https://learn.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/network-access-do-not-allow-anonymous-enumeration-of-sam-accounts-and-shares
Also there will be implications on the Domain Trusts so test accordingly.
Hope this helps.
JS
==
Please accept as answer and do a Thumbs-up to upvote this response if you are satisfied with the community help. Your upvote will be beneficial for the community users facing similar issues.