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

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:  Top Free Linux Cloud Servers In 2023

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:  Best Linux Remote Desktop Apps To Share Your Desktop

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

How To Install Python 3.7 In Ubuntu Distro Using PPA How To Install Python 3.7 In Ubuntu Distro Using PPA Ubuntu
Create Bootable CentOS 7 USB Stick on Linux Create Bootable CentOS 7 USB Stick on Linux Linux
Exclude Specific Packages From Yum Update In RHEL/CentOS Exclude Specific Packages From Yum Update In RHEL/CentOS Linux
How to Set Up Apache HTTP with an SSL Certificate How to Set Up Apache HTTP with an SSL Certificate Internet
Happy 30th Birthday Linux | One Of The Biggest Day In The History Of Tech Happy 30th Birthday Linux | One Of The Biggest Day In The History Of Tech Linux
List Of Useful Multimedia Software For Ubuntu 22.04 LTS List Of Useful Multimedia Software For Ubuntu 22.04 LTS In 2023 Ubuntu 20.04

Recent Posts

  • New Job Search October 10, 2025
  • 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

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]
  • SQL Report Writer

    • Hammonton, NJ
    • TWO95 International
    • Full Time
  • Sr Electrical Engineer, Data Center (Hybrid)

    • San Jose, CA
    • CyberCoders
    • Full Time
  • Distinguished Data Engineer

    • Petersburg, VA (Remote)
    • Capital One
    • Full Time
  • Deviation Writer

    • Durham, NC
    • Process Alliance
    • Full Time
  • Remote Blockchain Engineering Manager (San Francisco)

    • San Francisco, CA
    • Circle
    • Full Time
  • Azure Engineer

    • Fort Worth, TX
    • Jobot
    • Full Time
  • Nights & Weekends Blogger, The Cut

    • Remote
    • Vox Media
    • Full Time
  • AI / Machine Learning Engineer

    • Stratford, CT
    • Lockheed Martin
    • Full Time

Copyright © 2025 Technology News Information & Jobs.

Powered by PressBook Grid Blogs theme