On windows 10 in order for scan to network to work we will need to enable SMBV1. By default on Windows 10 only SmbV2 and V3 are enabled.
This is the command to check the status of which versions are enabled
In order to enable SmbV1
Set-SmbServerConfiguration –EnableSMB1Protocol $true
This is the link about enabling the SmbV1