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?
networking file-sharing shared-folders lan transfer
add a comment |
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?
networking file-sharing shared-folders lan transfer
3
Please describe what and how you shared with Ubuntu 16.04 LTS (and Windows).
– sudodus
May 21 at 9:43
1
We gone to files->Other locations in linux system and there we could see the windows network. After opening that we could see the windows system there . By clicking on the windows pc we copied the folder from its shared folder.
– Decile tech
May 21 at 9:59
1
@Deciletech Please edit your question to add details. It helps to keep the simple Q&A style and could also bring more attention since an edited question gets bounced on the homepage.
– Melebius
May 21 at 11:20
add a comment |
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?
networking file-sharing shared-folders lan transfer
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?
networking file-sharing shared-folders lan transfer
networking file-sharing shared-folders lan transfer
edited Oct 29 at 23:16
Rasmus
3,60482852
3,60482852
asked May 21 at 9:35
Decile tech
3124
3124
3
Please describe what and how you shared with Ubuntu 16.04 LTS (and Windows).
– sudodus
May 21 at 9:43
1
We gone to files->Other locations in linux system and there we could see the windows network. After opening that we could see the windows system there . By clicking on the windows pc we copied the folder from its shared folder.
– Decile tech
May 21 at 9:59
1
@Deciletech Please edit your question to add details. It helps to keep the simple Q&A style and could also bring more attention since an edited question gets bounced on the homepage.
– Melebius
May 21 at 11:20
add a comment |
3
Please describe what and how you shared with Ubuntu 16.04 LTS (and Windows).
– sudodus
May 21 at 9:43
1
We gone to files->Other locations in linux system and there we could see the windows network. After opening that we could see the windows system there . By clicking on the windows pc we copied the folder from its shared folder.
– Decile tech
May 21 at 9:59
1
@Deciletech Please edit your question to add details. It helps to keep the simple Q&A style and could also bring more attention since an edited question gets bounced on the homepage.
– Melebius
May 21 at 11:20
3
3
Please describe what and how you shared with Ubuntu 16.04 LTS (and Windows).
– sudodus
May 21 at 9:43
Please describe what and how you shared with Ubuntu 16.04 LTS (and Windows).
– sudodus
May 21 at 9:43
1
1
We gone to files->Other locations in linux system and there we could see the windows network. After opening that we could see the windows system there . By clicking on the windows pc we copied the folder from its shared folder.
– Decile tech
May 21 at 9:59
We gone to files->Other locations in linux system and there we could see the windows network. After opening that we could see the windows system there . By clicking on the windows pc we copied the folder from its shared folder.
– Decile tech
May 21 at 9:59
1
1
@Deciletech Please edit your question to add details. It helps to keep the simple Q&A style and could also bring more attention since an edited question gets bounced on the homepage.
– Melebius
May 21 at 11:20
@Deciletech Please edit your question to add details. It helps to keep the simple Q&A style and could also bring more attention since an edited question gets bounced on the homepage.
– Melebius
May 21 at 11:20
add a comment |
2 Answers
2
active
oldest
votes
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:
smb://192.168.1.102
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 =======================
[global]
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
add a comment |
On 18.04, I have just had success with the following:
On Ubuntu:
Install smbclient
and add client max protocol = NT1
to /etc/samba/smb.conf
as per L.D. James' answer (see this post for more info).
On Windows: Create a folder in Windows to share, e.g. named shared
.
Make sure the folder is shared: I created a new user on Windows, keeping the NewUser
name and selected a simple password (I first tried changing the name, but found that change was apparently only skin deep. Perhaps if I had rebooted...). I logged in with NewUser
, then logged back in with my admin account. I activated network sharing on my private network and for the folder specifically (see e.g. this post). Then I right clicked the folder and chose Give access to...
, choosing NewUser
(you may want additional permissions: see the just linked to post). Under the Sharing
tab, the folder now has a network path: //COMPUTERNAME/shared
.
Still on Windows:
To gain access to the shared folder, I used the IP of the Windows machine instead of the COMPUTERNAME
, cf. this.
To find the IP of your Windows machine, right click the network logo, open Network and Sharing Settings
and choose Change connection properties
. Take note of the IPv4 near the bottom.
In Ubuntu:
Finally, open a terminal on you Ubuntu machine and execute
sudo mount -t cifs -o username=NewUser //[insert IPv4 here]/shared /home/your_ubuntu_username/shared
and provide the password for NewUser
when prompted.
This mounts the shared Windows shared
folder as a folder shared
in your Ubuntu user's home directory.
The command is based on suggestions from here, where there are also suggestions for storing login credentials.
I hope it works. Good luck!
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038630%2faccess-windows-10-shared-folder-from-ubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
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:
smb://192.168.1.102
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 =======================
[global]
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
add a comment |
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:
smb://192.168.1.102
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 =======================
[global]
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
add a comment |
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:
smb://192.168.1.102
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 =======================
[global]
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
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:
smb://192.168.1.102
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 =======================
[global]
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
answered May 21 at 17:07
L. D. James
18.1k43686
18.1k43686
add a comment |
add a comment |
On 18.04, I have just had success with the following:
On Ubuntu:
Install smbclient
and add client max protocol = NT1
to /etc/samba/smb.conf
as per L.D. James' answer (see this post for more info).
On Windows: Create a folder in Windows to share, e.g. named shared
.
Make sure the folder is shared: I created a new user on Windows, keeping the NewUser
name and selected a simple password (I first tried changing the name, but found that change was apparently only skin deep. Perhaps if I had rebooted...). I logged in with NewUser
, then logged back in with my admin account. I activated network sharing on my private network and for the folder specifically (see e.g. this post). Then I right clicked the folder and chose Give access to...
, choosing NewUser
(you may want additional permissions: see the just linked to post). Under the Sharing
tab, the folder now has a network path: //COMPUTERNAME/shared
.
Still on Windows:
To gain access to the shared folder, I used the IP of the Windows machine instead of the COMPUTERNAME
, cf. this.
To find the IP of your Windows machine, right click the network logo, open Network and Sharing Settings
and choose Change connection properties
. Take note of the IPv4 near the bottom.
In Ubuntu:
Finally, open a terminal on you Ubuntu machine and execute
sudo mount -t cifs -o username=NewUser //[insert IPv4 here]/shared /home/your_ubuntu_username/shared
and provide the password for NewUser
when prompted.
This mounts the shared Windows shared
folder as a folder shared
in your Ubuntu user's home directory.
The command is based on suggestions from here, where there are also suggestions for storing login credentials.
I hope it works. Good luck!
add a comment |
On 18.04, I have just had success with the following:
On Ubuntu:
Install smbclient
and add client max protocol = NT1
to /etc/samba/smb.conf
as per L.D. James' answer (see this post for more info).
On Windows: Create a folder in Windows to share, e.g. named shared
.
Make sure the folder is shared: I created a new user on Windows, keeping the NewUser
name and selected a simple password (I first tried changing the name, but found that change was apparently only skin deep. Perhaps if I had rebooted...). I logged in with NewUser
, then logged back in with my admin account. I activated network sharing on my private network and for the folder specifically (see e.g. this post). Then I right clicked the folder and chose Give access to...
, choosing NewUser
(you may want additional permissions: see the just linked to post). Under the Sharing
tab, the folder now has a network path: //COMPUTERNAME/shared
.
Still on Windows:
To gain access to the shared folder, I used the IP of the Windows machine instead of the COMPUTERNAME
, cf. this.
To find the IP of your Windows machine, right click the network logo, open Network and Sharing Settings
and choose Change connection properties
. Take note of the IPv4 near the bottom.
In Ubuntu:
Finally, open a terminal on you Ubuntu machine and execute
sudo mount -t cifs -o username=NewUser //[insert IPv4 here]/shared /home/your_ubuntu_username/shared
and provide the password for NewUser
when prompted.
This mounts the shared Windows shared
folder as a folder shared
in your Ubuntu user's home directory.
The command is based on suggestions from here, where there are also suggestions for storing login credentials.
I hope it works. Good luck!
add a comment |
On 18.04, I have just had success with the following:
On Ubuntu:
Install smbclient
and add client max protocol = NT1
to /etc/samba/smb.conf
as per L.D. James' answer (see this post for more info).
On Windows: Create a folder in Windows to share, e.g. named shared
.
Make sure the folder is shared: I created a new user on Windows, keeping the NewUser
name and selected a simple password (I first tried changing the name, but found that change was apparently only skin deep. Perhaps if I had rebooted...). I logged in with NewUser
, then logged back in with my admin account. I activated network sharing on my private network and for the folder specifically (see e.g. this post). Then I right clicked the folder and chose Give access to...
, choosing NewUser
(you may want additional permissions: see the just linked to post). Under the Sharing
tab, the folder now has a network path: //COMPUTERNAME/shared
.
Still on Windows:
To gain access to the shared folder, I used the IP of the Windows machine instead of the COMPUTERNAME
, cf. this.
To find the IP of your Windows machine, right click the network logo, open Network and Sharing Settings
and choose Change connection properties
. Take note of the IPv4 near the bottom.
In Ubuntu:
Finally, open a terminal on you Ubuntu machine and execute
sudo mount -t cifs -o username=NewUser //[insert IPv4 here]/shared /home/your_ubuntu_username/shared
and provide the password for NewUser
when prompted.
This mounts the shared Windows shared
folder as a folder shared
in your Ubuntu user's home directory.
The command is based on suggestions from here, where there are also suggestions for storing login credentials.
I hope it works. Good luck!
On 18.04, I have just had success with the following:
On Ubuntu:
Install smbclient
and add client max protocol = NT1
to /etc/samba/smb.conf
as per L.D. James' answer (see this post for more info).
On Windows: Create a folder in Windows to share, e.g. named shared
.
Make sure the folder is shared: I created a new user on Windows, keeping the NewUser
name and selected a simple password (I first tried changing the name, but found that change was apparently only skin deep. Perhaps if I had rebooted...). I logged in with NewUser
, then logged back in with my admin account. I activated network sharing on my private network and for the folder specifically (see e.g. this post). Then I right clicked the folder and chose Give access to...
, choosing NewUser
(you may want additional permissions: see the just linked to post). Under the Sharing
tab, the folder now has a network path: //COMPUTERNAME/shared
.
Still on Windows:
To gain access to the shared folder, I used the IP of the Windows machine instead of the COMPUTERNAME
, cf. this.
To find the IP of your Windows machine, right click the network logo, open Network and Sharing Settings
and choose Change connection properties
. Take note of the IPv4 near the bottom.
In Ubuntu:
Finally, open a terminal on you Ubuntu machine and execute
sudo mount -t cifs -o username=NewUser //[insert IPv4 here]/shared /home/your_ubuntu_username/shared
and provide the password for NewUser
when prompted.
This mounts the shared Windows shared
folder as a folder shared
in your Ubuntu user's home directory.
The command is based on suggestions from here, where there are also suggestions for storing login credentials.
I hope it works. Good luck!
edited Oct 29 at 23:06
answered Oct 29 at 23:01
Rasmus
3,60482852
3,60482852
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1038630%2faccess-windows-10-shared-folder-from-ubuntu-18-04%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
3
Please describe what and how you shared with Ubuntu 16.04 LTS (and Windows).
– sudodus
May 21 at 9:43
1
We gone to files->Other locations in linux system and there we could see the windows network. After opening that we could see the windows system there . By clicking on the windows pc we copied the folder from its shared folder.
– Decile tech
May 21 at 9:59
1
@Deciletech Please edit your question to add details. It helps to keep the simple Q&A style and could also bring more attention since an edited question gets bounced on the homepage.
– Melebius
May 21 at 11:20