Linux appears in Windows File Explorer because Windows has detected or enabled a feature that lets you access Linux files, most commonly Windows Subsystem for Linux (WSL). The entry is usually a shortcut to the files of an installed Linux distribution, not evidence that Linux has replaced Windows or taken over your computer.
What the Linux entry represents
WSL lets you run a Linux environment alongside Windows. A distribution such as Ubuntu or Debian supplies Linux command-line tools and its own file system, while Windows continues to run as usual. In File Explorer, the Linux entry provides a graphical route into the files belonging to those WSL distributions.
Depending on your Windows version and configuration, the entry may appear as “Linux” in the navigation pane or when browsing network locations. Opening it can show one or more distributions. If you have only one installed, you may see that distribution’s name; if none is installed or registered, the location may be empty or prompt you to set one up.
Seeing the entry does not by itself mean that a Linux desktop is running in the background. It indicates that Windows has a WSL-related integration available. A distribution may start when you open it or run a Linux command, and otherwise may not be running.
How WSL and File Explorer work together
WSL has two main versions. WSL 1 translates Linux system calls for Windows, while WSL 2 runs a real Linux kernel in a lightweight virtual machine. Both let Windows users work with Linux tools, though their architecture and compatibility differ. The File Explorer integration is designed to make files in a WSL distribution reachable from Windows without requiring you to browse directly through the distribution’s underlying storage.
In a running WSL distribution, the Linux file system is commonly available in Windows through a network-style address such as \\wsl$\Ubuntu or, on newer setups, \\wsl.localhost\Ubuntu. The distribution name in the address may differ on your computer. You can also open the Linux location in File Explorer and navigate through folders such as home and your Linux username’s directory.
The recommended way to reach Linux files from Windows is through this WSL interface. Avoid editing the distribution’s virtual-disk files directly from Windows or moving them around in internal Windows system folders. Those files store the Linux environment, and changing them outside WSL can damage the distribution or make its files inaccessible.
Why it may have appeared
The Linux item may be present because you installed WSL or a Linux distribution, enabled WSL as part of development software, or used a Windows feature or setup process that configured it. Developers often install WSL to use Linux command-line utilities, run development environments, or test software without replacing Windows. Some people enable it for learning or for tools that are easier to use in Linux.
It can also remain visible after you stop using Linux. Uninstalling a distribution, disabling a Windows feature, or updating Windows can change what appears, but the navigation entry does not always disappear immediately. Its presence alone is not a reliable indication of whether a distribution is currently installed, running, or actively being used.
How to check what is installed
To see whether WSL distributions are registered, open Windows Terminal or PowerShell and run:
wsl --list --verbose
The command lists registered distributions and shows whether each is running, along with its WSL version. If Windows says the command is not recognized, WSL may not be installed or available in that environment. You can also look in Settings > Apps > Installed apps for a Linux distribution, such as Ubuntu, and in Turn Windows features on or off for the Windows Subsystem for Linux feature. Names and settings can vary somewhat by Windows release.
Do not remove a distribution just because the Linux entry is unfamiliar. First check whether it contains files or development tools you need. A WSL distribution can hold projects, documents, configuration, and other data separate from your ordinary Windows folders.
Common problems and safe file access
If opening Linux in File Explorer produces an error, first start the relevant distribution from the Start menu or run wsl in Terminal, then try again. A distribution that was never installed, was removed, or has a stopped or damaged setup may not open as expected. Restarting Windows can resolve a temporary integration issue; if it persists, check Windows Update and WSL’s status before making changes to the distribution.
For reliable access, follow these practices:
- Use the Linux entry or the WSL network path to access Linux-side files from Windows.
- Keep Linux projects in the Linux file system, commonly under
/home/yourname, when using Linux tools heavily. This generally avoids the performance and file-behavior complications that can arise when Linux workloads operate on files under a Windows-mounted path such as/mnt/c. - Back up important files before resetting, unregistering, or uninstalling a distribution. The command
wsl --unregister DistributionNamedeletes that distribution and its data; it is not merely a way to hide the Explorer entry. - Use Windows folders for files that need to be shared frequently with ordinary Windows applications, and use WSL’s supported mounting or access methods rather than altering its virtual disk directly.
Removing or hiding Linux
If you do not need WSL, you can uninstall the specific distribution through Windows’ installed-apps settings. That removes the distribution and may delete its Linux files, so copy out anything important first. WSL itself can be disabled separately through Windows features or by using the supported WSL management commands, depending on your Windows version. Disabling the feature is broader than uninstalling one distribution and may affect other software that relies on WSL.
If your only goal is to remove an unused navigation item, check whether the distribution is still registered before changing system settings. The entry is normally a navigation feature rather than a separate drive, so assigning it a drive letter or deleting files from system folders is not the right fix. Windows versions differ in how the entry is displayed, and there may not be a simple built-in switch to hide it while keeping WSL installed.
Frequently Asked Questions
Is Linux in File Explorer a virus?
No. The entry is normally part of Windows Subsystem for Linux, a Microsoft-supported Windows feature. If you are unsure what installed it, check the registered distributions and installed apps rather than deleting unfamiliar system files.
Does seeing Linux mean my computer is running Linux?
No. Windows remains your operating system. WSL provides a Linux environment that can run alongside Windows, and a distribution may start only when you use it.
Can I delete the Linux folder from File Explorer?
Do not treat it like an ordinary folder. To remove Linux, uninstall the relevant distribution or manage WSL through Windows settings and supported commands. Back up files first because removing or unregistering a distribution can erase its data.
Why is the Linux entry empty?
There may be no registered distribution, the distribution may have been removed, or WSL may need to be started or repaired. Check with wsl --list --verbose and open any listed distribution before troubleshooting Explorer.
Is it safe to open Linux files from Windows?
Yes, use the Linux entry or WSL’s supported network path. Avoid making changes directly to the distribution’s virtual-disk files in Windows system folders, which can corrupt the Linux environment.