Ubuntu Windows

How to Mount Windows 10 Shared Folder in Ubuntu 18.04

Learn how to mount (sync) a Windows 10 shared folder in Ubuntu 18.04. Unlike Ubuntu 16.04, running this command alone in Ubuntu 18.04 will result in the following error...bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount.<type> helper program...

Shou Arisaka
1 min read
Oct 26, 2025

This article introduces how to mount (sync) a Windows 10 shared folder in Ubuntu 18.04.

I previously wrote this article.

Mounting (syncing) Windows 10 shared folders in Ubuntu 16.04 - YUIPRO Programming

Mounting (syncing) Windows 10 shared folders in Ubuntu 16.04

mkdir ~/share
sudo mount -t  cifs //IP_ADDR/_sync_ ~/share -o user=USERNAME,pass=PASSWORD,dir_mode=0777,file_mode=0777

e.g. sudo mount -t  cifs //192.168.3.19/_sync_ ~/share -o user=user,pass=hogefuga,dir_mode=0777,file_mode=0777
This is for Ubuntu 16.04 LTS, but with 18.04, there are additional steps needed.

Running this alone in Ubuntu 18.04 will result in the following error:

bad option; for several filesystems (e.g. nfs, cifs) you might need a /sbin/mount. helper program.
[mount - Why do I get "wrong fs type, bad option, bad superblock" error? - Ask Ubuntu](https://askubuntu.com/questions/525243/why-do-i-get-wrong-fs-type-bad-option-bad-superblock-error) ## Solution ```bash sudo apt update sudo apt install nfs-common sudo apt install cifs-utils ``` Then you can mount with this command, same as Ubuntu 16.04. ```bash sudo mount -t cifs //192.168.3.19/sync ~/share -o user=user,pass=hogefuga,dir_mode=0777,file_mode=0777 ```

Share this article

Shou Arisaka Oct 26, 2025

๐Ÿ”— Copy Links