Hi there,
Try turning on the SMB feature on the feature and see if that helps.
-Press Windows and R key together on your Keyboard.
-Type appwiz.cpl and hit enter.
-Click on 'Turn Windows Features On or Off' (upper left side of the pane).
-In the popup scroll down to SMB 1.0/CIFS File Sharing Support.
-Check the option and click on Ok.
Now restart both the machines and check if it is working now.
--If the reply is helpful, please Upvote and Accept it as an answer--