Question: how do you fix the following error occurred attempting to join the domain?
Answer: Enable SMB1 Support. Press Windows Key + R to open Run. ... 
Check third-party antivirus. Third-party antivirus is known to cause the aforementioned error. ... 
Use System Restore Point. Type system restore in the search bar.