Unable to connect to network drive (28-05-18)

Just recently had just been able to windows restore a computer that kept going into windows then rebooting itself. After taking out the hdd and plugging it into an external reader. The drive seem fine. After we plug it in again it was just rebooting. We used startup repair and was finally able to repair it. After it seems the scanner was unable to send to the shared folder of the windows computer. I went to the windows computer and it somehow seem to be connected to public network. I changed it to work network. In the end it showed 2 (unauthenticated) I had to rejoin the domain and it worked.