Skip to content
Technology News Information & Jobs

Technology News Information & Jobs

Ubuntu Tutorials, Ubuntu How To , Linux Tips, Tech Jobs

  • Work with US
  • Search Jobs
  • Post a Job
  • Contact Us
  • Ubuntu
    • Ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Themes
  • Linux
  • Laptops
  • Tutorials
  • Job Dashboard
  • Toggle search form
How To Mount Windows 11 Shares On Ubuntu Linux

How To Mount Windows 11 Shares On Ubuntu 22.04 LTS

Posted on March 13, 2022April 10, 2023 By admin 1 Comment on How To Mount Windows 11 Shares On Ubuntu 22.04 LTS

Guide To Mount Windows 11 Shares On Ubuntu Linux

This post shows the user’s guide to mounting Windows shares on Ubuntu. If you want to mount Windows 11 shares or Windows shares on Ubuntu or any Linux-based operating system then you need to use a Common Internet File System (CIFS), a network file-sharing protocol.

How To Mount Windows 11 Shares On Ubuntu Linux

We need to configure a few settings and protocols so that Ubuntu can mount Windows 11 shares.

How To Enable Network Discovery in Windows 11

At first, we make sure that network discovery is enabled in Windows 11. If your network discovery is not enabled, you won’t be able to see Windows devices on a private network.

You can easily enable Network Discovery in Windows 11 with the following steps.

  • Use the Windows key + I shortcut for System Settings, you can go to system settings via Start ==> Settings, Or you can use the search box on the taskbar and search for Settings.
  • In Windows Settings Panel, You can see the Network & Internet option on the right side of the pane. You need to click Network & Internet, then select Ethernet on the right pane of your Windows Settings Panel.
  • After clicking on the Ethernet setting, You will have two network profile types.  You need to select the Private network profile. This profile will allow devices in your network to be discovered.
READ More Relevant Stuff:  Download Ubuntu 19.04 Disco Dingo Beta, Released For Testing

Now you need to turn on Public Folder Sharing in Windows 11.

How To Turn on Public Folder Sharing in Windows 11

You need to go to the Cpanel in Windows 11 first and then select Network and Internet. After clicking on Network and Internet option, you will see the Network and Sharing Center option in the right pane. In-Network and sharing center window, you will see  Change advanced sharing settings on the left side of the pane. You need to click on Change advance sharing settings, and you will see the various options from where you need to select Private (current profile) and Turn on file and printer sharing. Save your changes and exit.

Now, Windows should automatically turn on file and printer sharing in private networks and you should see settings for Public folder sharing. if you are still unable to see the shared files or printers then the File sharing option may be disabled.

You can also easily enable file and print sharing with the following command:

netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=Yes
netsh advfirewall firewall set rule group="Network Discovery" new enable=Yes

Now, you need to have Folders on Windows that you want to share.

How To Create Windows Shares For Linux

Basically, you need to have a folder in Windows that you are looking to share. If you don’t have then you need to create one folder for sharing purposes. Now, the most important part is sharing the folder. Go to the computer management option via the start button.

READ More Relevant Stuff:  Install Linux Kernel 5.0 RC1 On Ubuntu / Linux Mint

In the Computer Management panel, you will see the Shared Folders option in the left pane. You need to expand Shared Folders and right-click Shares, then select New Share. You need to select the folder that you want to share or that you have created in the above step. In this configuration wizard, you can also configure the permissions on the shared folders.

After creating and configuring Windows shares, now you need to configure Ubuntu or Linux from where you are going to access the Windows share.

Mount Windows shares on Ubuntu Linux

Now, you need to install the CIFS utility package on Ubuntu. Run the following commands to install CIFS on Ubuntu.

sudo apt update
sudo apt install cifs-utils

Run the following command to mount a  Windows share to the /mnt/Windows_Share_created directory on Ubuntu Linux.

sudo mount -t <strongcifs -o username=<Windows_User_Name> //Windows_PC_IP/<ShareName> /mnt/Windows_Share_created

It might ask for your Windows account password. If you want to include the password along with the command:

sudo mount -t cifs -o username=<Windows_User_Name>,password=<Windows_Password> //Windows_PC_IP/<ShareName> /mnt/Windows_Share_created

If you don’t want to always type the mount commands to mount Windows shares, you can go through the following steps to automatically mount the shares.

Run the commands:

sudo nano /etc/fstab

Then enter the following commands at the bottom of the file and save.

//Windows_PC_IP/ShareName  /mnt/Widows_Share_created  cifs  credentials=/etc/credentials,file_mode=0755,dir_mode=0755 0   0

Now It will automatically mount the shares.

Run the commands below to unmount the share.

sudo umount /mnt/win_share
How To Ubuntu, Linux, Ubuntu

Post navigation

Previous Post: How To Remove Files And Directories In Linux [Examples]
Next Post: How To Fix No route to host SSH Error In Linux [Solved]

Related Posts

Install Multipass How To Install MultiPass In Linux, macOS And Windows Ubuntu
Rsync Command In Linux With Examples [Updated] Rsync Command In Linux With Examples [Updated] How To Ubuntu
System76’s Oryx Pro Linux 12th Gen Intel CPU Laptop Specification System76’s Oryx Pro Linux 12th Gen Intel CPU Laptop Specification Laptops
Amazing Useful Raspberry Pi Commands Cheat Sheet Amazing Useful Raspberry Pi Commands Cheat Sheet [2023] Linux
Linux Kernel 5.7 Reached End of Life, Upgrade Now Linux Kernel 5.7 Reached End of Life, Upgrade Now Linux
How To Unzip (Open) Gz File How To Unzip (Open) Gz File How To Ubuntu

Comment (1) on “How To Mount Windows 11 Shares On Ubuntu 22.04 LTS”

  1. Steve Studley says:
    April 11, 2024 at 3:13 am

    Making a local user in Windows (Computer Management>Local Users and Accounts.Users>Action>New User) makes it work. Include a password with Never Expire and Cannot Change Password.

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts

  • How To Enable Hibernate in Ubuntu 22.04 LTS May 20, 2024
  • Popular Ubuntu Games: Top 5 Games To Play March 17, 2024
  • WordPress | Your site doesn’t include support for the “generateblocks/container” block GenerateBlocks Plugin February 11, 2024
  • Ubuntu Autoremove Command Debian Autoremove Command February 10, 2024
  • How To Mount Windows 11 Shares on Debian Linux December 7, 2023
  • Anonymous Browsing 101: A Deep Dive Into Residential Proxies November 20, 2023
  • How To Correctly Install Uninstall Linux Ubuntu Nvidia Drivers Fast October 31, 2023
  • Ethical Web Design: The Dos and Don’ts October 28, 2023
  • Understanding the Role of Security Operations Center October 25, 2023
  • The Positive Effects of AI Tools and Online Services on Students Successful Essay-Writing Skills October 3, 2023
  • Linux Wget Examples September 27, 2023

Categories

  • Android
  • Apple
  • Blogs
  • Debian
  • Fix
  • Gadgets
  • Game
  • Google
  • How To Ubuntu
  • Internet
  • Laptops
  • Linux
  • Linux Commands
  • Linux Game
  • Linux Mint
  • News
  • Operating Systems
  • Security
  • Technology
  • Themes
  • Tools
  • Tutorials
  • Ubuntu
  • ubuntu 18.04
  • Ubuntu 20.04
  • Ubuntu 22.04
  • Windows 11
  • Wordpress
  • Search Jobs
  • Post a Job
  • Job Dashboard
  • Contact Us
  • About US
  • Cookie Policy
  • Terms and Conditions
  • Privacy Policy
  • Sitemap
  • Write For US

Tags

android apps centos ChatGPT command Commands Debian deepin Desktop docker Fedora fix game games Gaming gnome google kernel linux linux commands linux kernel Linux laptops Linux Mint Linux themes minecraft NVIDIA Python Raspberry Pi sysadmin themes ubuntu ubuntu 18.04 Ubuntu 18.04 LTS Ubuntu 20.04 ubuntu 20.04 lts Ubuntu 22.04 LTS Ubuntu games Ubuntu kernel ubuntu themes ubuntu tutorial VirtualBox Windows Windows 11 Wine WSL
itsubuntu.com is an Equal Opportunity Employer. For Advertisement, Jobs, Guest posts, and any other thoughts, email us at [email protected]
  • TV Writer

    • New York, NY
    • SPECTRUM
    • Full Time
  • Technical Writer

    • Chantilly, Loudoun County, VA
    • ManTech
    • Full Time
  • Technical Documentation Specialist

    • Peoria, IL
    • EPITEC
    • Full Time
  • Technical Writer

    • Swiftwater, PA
    • Cynet Systems Inc.
    • Full Time
  • Senior Technical Writer

    • San Diego, CA
    • Compunnel Inc.
    • Full Time
  • Technical Writer

    • Crane, IN
    • Bowhead / UIC Technical Services
    • Full Time
  • Senior Data Scientist

    • Waltham, MA (Remote)
    • Global Partners LP
    • Full Time
  • Communications Writer

    • Lynchburg, VA
    • Patrick Henry Family Services Operations, Inc.
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme