Skip to content
Follow
Windows

How to Access Linux Files on Windows 11 Using WSL

Richard
Written by
Richard
Feb 15, 2026 Updated Aug 13, 2026 3 min read
How to Access Linux Files on Windows 11 Using WSL
How to Access Linux Files on Windows 11 Using WSL

Linux files on Windows 11 are directly accessible through File Explorer when you set up WSL (Windows Subsystem for Linux). WSL runs a mini Linux system right inside Windows 11 version 22H2 and later, meaning you can open, edit, and save your Linux files without installing a second operating system or setting up a complicated virtual machine.

Connecting your Linux storage this way lets you view all your files in one familiar window. You can even open Linux files using regular Windows programs like Notepad.

⚡ Quick Answer

Access Linux files in Windows 11 using WSL by opening PowerShell as administrator and running `wsl –mount `. Then, navigate to `\wsl$` in File Explorer to see your Linux distributions and mounted drives.

Steps to Mount Linux File System on 🪟 Windows 11

Step 1Open PowerShell as Administrator

⚠️ Admin privileges required

Opening PowerShell with administrator privileges sets the stage for the configuration:

  1. Click Start . Type PowerShell.
  2. Right-click Windows PowerShell. Select Run as administrator.

Step 2See Your Drives

Windows Subsystem for Linux (WSL) can access your computer’s drives. To check your available hardware, open PowerShell and run `wmic diskdrive list brief` to generate a hardware inventory. This command displays a clear list of your drives, showing their names and sizes, helping you select the correct drive for mounting.

💻Code
wmic diskdrive list brief

The terminal outputs a list matching this format:

Caption DeviceID Model Partitions Size
SAMSUNG MZVKW512HMJP-000H1 \.PHYSICALDRIVE0 SAMSUNG MZVKW512HMJP-000H1 3 512105932800
ST1000LM035-1RK172 \.PHYSICALDRIVE1 ST1000LM035-1RK172 1 1000202273280

Scanning the DeviceID column reveals the specific names of the physical drives.

Step 3Mount the Linux Drive

Mounting your Linux drive lets you access its files directly from Windows using a PowerShell command. In PowerShell, type 'wsl --mount ', but replace with the specific drive identifier you found earlier, like \.PHYSICALDRIVE0 for the first drive.

💻Code
wsl --mount <DISKPATH>

For example, mounting the first drive shown above requires this syntax:

💻Code
wsl --mount \.PHYSICALDRIVE0

Targeting a single partition (part of the drive) requires adding --partition alongside the partition number. For instance, mounting partition 1 on the same drive uses this syntax:

💻Code
wsl --mount \.PHYSICALDRIVE0 --partition 1

By default, WSL attempts to mount the drive using the ext4 Linux file system. Drives utilizing a different format, like FAT, require the -t option for proper recognition:

💻Code
wsl --mount <DISKPATH> -t vfat

Step 4Access Linux Files in Windows File Explorer

Once your Linux drive is mounted, Windows File Explorer grants direct access to its contents. Open File Explorer, type '\wsl$' into the address bar at the top, and click your Linux distribution's name to view your files.

In the address bar at the top, type:

💻Code
\wsl$

Your Linux distributions appear in this directory. Clicking your Linux distro (for example, Ubuntu) opens the mount folder to locate your mounted drive's files.

Windows 11 File Explorer showing Linux file system
windows 11 wsl browse linux file system file explorer

Step 5Unmount the Linux Drive (When Done)

Disconnecting the Linux drive safely requires returning to PowerShell and running this syntax:

💻Code
wsl --unmount <DISKPATH>

Example:

💻Code
wsl --unmount \.PHYSICALDRIVE0

Summary

  • WSL lets you run Linux inside Windows 11 easily.
  • You can mount and open Linux drives or partitions directly in Windows via PowerShell commands.
  • Once mounted, Linux files are available inside Windows File Explorer under \wsl$.
  • Remember to unmount your drives safely when done.

Windows Subsystem for Linux (WSL) brings Linux capabilities directly to your Windows 11 computer. Mounting Linux drives or partitions allows direct file management within Windows File Explorer using PowerShell commands and the '\wsl$' path.

How to Install WSL on Windows 11

How to Use File Explorer on Windows 11

How to Run PowerShell as Administrator

If you have questions or want to share your experience, please leave a comment below!

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 Install the LAMP Stack on Windows WSL
Ubuntu Linux How to Install the LAMP Stack on Windows WSL
How to Install the LEMP Stack on Windows WSL
Windows How to Install the LEMP Stack on Windows WSL
How to Install phpMyAdmin on Windows WSL with Apache
CMS How to Install phpMyAdmin on Windows WSL with Apache
How to Install Windows Subsystem for Linux (WSL) on Windows 11
Ubuntu Linux How to Install Windows Subsystem for Linux (WSL) on Windows 11

No comments yet — be the first to share your thoughts!

Leave a Comment

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