Verify if the SMB 1.0 protocol is enabled on the system where the Windows share is being hosted.
In Windows 10, this can be enabled in the Control Panel > Programs and Features > Turn Windows Features On or Off. Expand SMB 1.0/CIFS File Sharing Support, and check the box for SMB 1.0/CIFS Server.
It can also be enabled through Powershell on Windows Server.
Check whether SMB 1.0 is enabled or disabled.
Get-WindowsOptionalFeature -Online -FeatureName SMB1Protocol
Enable SMB 1.0
Enable-WindowsOptionalFeature -Online -FeatureName SMB1Protocol