Sharing Mac files with windows 10
Step 1:
On the Mac, go to System Preferences > Network. Then on the active network (WLAN or Ethernet, whatever you use) click Advanced > WINS.
Give the computer a name and the same Workgroup as the Windows computer: To find the Workgroup on Windows, start Explorer, right-Click "My Computer", "Properties". This will show the workgroup the Windows-PC is on. Use the same workgroup on the Mac.
Also make sure that IP-V4 and IP-V6 is enabled on Mac OS (also System Preferences > Network).
You can now try to shortcut to Step 6 and see if it works. If not, proceed with Step 2.
Step 2: On Mac OS open a Terminal and type ifconfig. You should get an output like this. Find the ip-address (something different than 127.0.0.1):
Step 3: On the Windows computer, open a command prompt. Type ipconfig ... this should give you output with an IPv4-Address that starts with the same numbers as the one from the Mac (e.g. also 192.168.1.xxx).
Type ping 192.168.1.149 (but with your Mac's IP address from step 2). If that works, type ping computername (but with the name you gave your Mac from step1). Both should result in the same output, like this:
Step 4:
In windows explorer, in the address bar, type \\192.168.1.149 (but again with your IP address). You should now see your shared folders (thse from your own screenshot).
Step 5:
\\computername (but with the name from the mac network config).
This should also show your data folders.
Step 6:
If all that works, you should also see the Mac in Windows > Explorer > Network (on the left bar in Explorer).