Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Question
Friday, October 9, 2015 2:10 AM
Hey there. This issue has been plaguing me for months now and have tried every solution I could find.
Samba server (4.1.6) runs on Ubuntu 14.04 LTS. For some reason, Windows 10 tries to connect on port 80 (WebDAV) instead of 445 (SMB), and I recieve a "network location cannot be reached" error. Strange thing is when I try it again immediately after, the connection works and I can browse files with no issue. I can restart the Win10 machine and try to connect, get the error, connect again, and everything's fine.
I ran Wireshark on the Win10 machine and indeed, it recieves the correct IP from the NetBIOS request but then immediately tries to connect on port 80. Connecting by "\<IP address>" works fine, using "net view <IP address>" in the command prompt works as well and lists the shares. It's just using the File Explorer and either selecting the server in the Network list or using "\<Machine name>."
The other strange thing is that my Windows 7, 8.1, and even other Ubuntu machines have no issues at all with connecting and browsing either way.
Like I said, I have searched threads on other sites and their solutions did not work for me, and those were dealing with earlier Windows versions as well. If there's something I'm missing to support Win10 or if it's a known Win10/Samba issue, that'll put me at ease a bit more. Just wanna make sure I'm doing everything right.
Thanks!
All replies (1)
Monday, October 12, 2015 11:28 AM âś…Answered
Hi,
To make sure that Windows 10 can connect older version of Server share, we need to enable SMB 1.0 in Windows 10 to check the issue:
1. Run PowerShell as Administrator
2. Set-SmbClientConfiguration -RequireSecuritySignature 1
Answer Y when prompted to confirm the modification.
3. Set-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Services\LanmanWorkstation\Parameters" RequireSecureNegotiate -Value 0 -Force
In addition, check on SMB 1.0 in Program and features:
Control Panel / Programs and Features / Turn Windows Features On or Off and make sure SMB 1.0/CIFS File Sharing Support is ticked
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected].