Follow
Windows

How to Mount Network Drives in Windows Subsystem for Linux

Richard
Written by
Richard
Dec 21, 2021 Updated Apr 29, 2026 3 min read
How to Mount Network Drives in Windows Subsystem for Linux

If you use wsl-in-windows-11/" class="sal-link" rel="noopener" target="_blank" data-sal-id="19890">Windows Subsystem for Linux (WSL), you might want to open files stored on your network directly from your Linux terminal. This guide shows you how to connect these network folders to your Linux workspace.

Why mount network drives in WSL?

Mounting a network drive lets you use Linux tools to work on shared files. It connects your Windows network folders to your Linux environment, making it much easier to manage projects or data stored on a server.

What happens when you are done?

Once finished, your network folder will look and act like a normal folder inside your Linux system. You can read, edit, and move files just like any other file on your computer.

DrvFs vs. Native Linux Mounting

WSL uses DrvFs to bridge Windows files to Linux. This is the standard way to access Windows network shares. While you could use cifs-utils to mount shares natively, DrvFs is better for WSL because it handles Windows permissions automatically. Use DrvFs for most tasks to avoid complex configuration.

Mounting a drive letter

If you have already mapped a network location to a drive letter in Windows (like F:), you can easily bring it into WSL.

Note: The following commands require admin privileges.

  1. Create a folder in Linux to act as the bridge:
    🐧Bash / Shell
    sudo mkdir /mnt/f
  2. Mount the Windows drive letter to that folder:
    🐧Bash / Shell
    sudo mount -t drvfs F: /mnt/f

Mounting a network folder path (UNC)

You can access network shares without mapping a drive letter by using the UNC path directly. This is useful for temporary access.

  1. Create a mount point:
    🐧Bash / Shell
    sudo mkdir /mnt/documents
  2. Mount the network share:
    🐧Bash / Shell
    sudo mount -t '\\server\documents' /mnt/documents

Persistent mounting via /etc/fstab

To keep your mount after a reboot, add it to the /etc/fstab file. Open the file with sudo nano /etc/fstab and add this line:

💻Code
\\server\share /mnt/network drvfs defaults 0 0

Run sudo mount -a to apply changes immediately.

Troubleshooting Common Errors

If you see a Permission Denied error, ensure your Windows user has access to the share. If you see Mount point busy, the folder is already in use. Use mount to check active connections.

Pro Tip: Verify your mount status anytime by typing mount in your terminal. This lists all active connections and their paths.

Why does my WSL network drive mount disappear after reboot?

WSL does not automatically save mount points between sessions. To make them permanent, you must add the mount configuration to the /etc/fstab file. This tells Linux to reconnect to the network share every time you start your WSL distribution, ensuring your files are always available when you need them.

How do I handle permission issues when accessing Windows network drives in WSL?

Permission issues usually occur because WSL does not have the same credentials as your Windows user. Ensure you have mapped the drive in Windows using the net use command with proper credentials first. DrvFs will then inherit these permissions, allowing you to read and write files without further authentication prompts.

Summary

Mounting network drives in WSL allows you to bridge your Windows network resources into your Linux workflow. By using DrvFs, you can map drive letters or direct UNC paths to Linux folders. For permanent access, configure your /etc/fstab file. Always verify your connection with the mount command if you run into errors.

Learn more about DrvFs file permissions in the official Microsoft documentation.

Was this guide helpful?

Tags: #Windows 11
Was this helpful?
Richard

About the Author

Richard

Tech Writer, IT Professional

Richard, a writer for Geek Rewind, is a tech enthusiast who loves breaking down complex IT topics into simple, easy-to-understand ideas. With years of hands-on experience in system administration and enterprise IT operations, he’s developed a knack for offering practical tips and solutions. Richard aims to make technology more accessible and actionable. He's deeply committed to the Geek Rewind community, always ready to answer questions and engage in discussions.

📚 Related Tutorials

How to Map Network Drives in Windows 11
Windows How to Map Network Drives in Windows 11
How to Access Linux Files on Windows 11 Using WSL
Windows How to Access Linux Files on Windows 11 Using WSL
How to Uninstall Windows Subsystem for Linux (WSL) in Windows 11
Ubuntu Linux How to Uninstall Windows Subsystem for Linux (WSL) in Windows 11
How to Show or Hide the Network Folder in Windows 11
Windows How to Show or Hide the Network Folder in Windows 11

0 Comments

  • Ben Crocker

    Hi!

    You’re missing one thing from this otherwise extraordinarily useful post:

    sudo mount -t ‘\\server\documents’ /mnt/documents

    should be

    sudo mount -t drvfs ‘\\server\documents’ /mnt/documents

    (I got the bit about “-t drvfs” from another post that involved doing
    “Map network drive” first to assign a drive letter to the network drive.)

    Reply

Leave a Comment

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