Connecting Windows 10 Clients to Ubuntu Samba Server

I recently set up an Ubuntu Samba Server on my LAN but the Windows 10 clients couldn’t access it. My Linux clients had no problem, so I knew the server was good.

After a bit of googling I learnt that Windows 10 uses a newer Samba protocol, the trick is to make it not do that.

Here are the instructions that worked for me:

1. Open the PowerShell with admin authority and type:

Set-ItemProperty -Path “HKLM:\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters” SMB2 -Type DWORD -Value 0 -Force

2. Open the command line window with admin authority and type:

sc.exe config lanmanworkstation depend= bowser/mrxsmb10/nsi

sc.exe config mrxsmb20 start= disabled

3. Go to “Control Panel -> Programs”

Select “Turn Windows features on or off
There you will find “SMB 1.0/CIFS File Sharing Support”. Enable it!

Reboot your PC, hopefully you can now discover your drive.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s