Ubuntu – Access Windows 10 Shared Folder from Ubuntu 18.04


I would like to share files between Windows and Ubuntu.

In Ubuntu 16.04 LTS, I could access shared folder on a Windows machine on my local network my navigating to Other locations in Files (Nautilus), accessing the Windows network, and browse. After upgrading to Ubuntu 18.04 LTS, this no longer works for me.

How can I get access to folder shared in Windows 10 from Ubuntu 18.04?

Best Answer

There was a change in both Windows 10 and Samba. Some of the details are explained here.

The browse by just clicking isn't working, but you can get there by entering the shared folder link in the address field. Use the server's IP address or the computer name for the share. In the example I'm using the IP address of the Windows 10 server:

Use Keyboard shortcut Ctrl+L to type in pathname:


Typing that in the file browser will bring up authorization prompt. Use the credentials from your Windows 10 server. This will display all the available shares. You can then click on the share you want access to.

There are two changes steps you may have to do. Set client max protocol = NT1 for the downward compatibility in the /etc/samba/smb.conf file. Place the entry just below the workgroup = WORKGROUP line.

It should look like this:

#======================= Global Settings =======================

client use spnego = no
client NTLMv2 auth = no

## Browsing/Identification ###
# Change this to the workgroup/NT-domain name your Samba server will part of
   workgroup = WORKGROUP
   client max protocol = NT1

Once you have manually accessed the desired share, you can make it easily accessible in the future by bookmarking it. You can do this with the keyboard shortcut: Ctrl+D.

You can easily rename your bookmarks to something friend and meaningful by right-clicking the name that appears in the File Browser's sidebar.

Install necessary packages:

You may have to install smbclient, which will ensure you have the necessary dependents such as the cifs-utils and the actual /etc/samba/smb.conf file.

$ sudo apt install smbclient