# wsl.exe

Windows Process: Microsoft Corporation

Catalog search terms wsl, windows subsystem for linux cli, wsl.exe

Windows, System Component

User-facing WSL command-line launcher. Na here you dey run \`wsl -l -v\`. E no be vmmem and e no be WslService.

## Wetin you need know

wsl.exe na the CLI wey you dey run; e no be vmmem.

wsl.exe na the inbox launcher. \`wsl -l -v\` dey print distributions. Guest RAM for WSL2 dey show as vmmem or vmmemWSL. WslService dey keep the VM alive afta this CLI exit. To close the prompt no be memory cleanup.

- **E safe?**: Check the running file path, signature, and publisher. Name alone no fit confirm say e safe.

  **Shey na vmmem?**: No. vmmem na guest memory

  **I fit end am?**: Dat CLI session go end

Feex tok say

If person point hand for wsl.exe for "8 GB of WSL RAM," I dey look vmmemWSL. I dey use the CLI to list and shut down. I no dey end the launcher dey expect say make the VM working set disappear.

## Wetin be wsl.exe?

wsl.exe na the CLI wey you dey run; e no be vmmem. Task Manager memory for the WSL2 VM na vmmemWSL (or vmmem). This file only dey launch and control. E also no be WslService.

## Wetin e dey do?

E dey start distro, dey run Linux commands, and dey accept \`wsl --shutdown\`. E no dey hold the guest working set and e no dey host Hyper-V Manager.

## Wetin make am dey run?

You, script, Windows Terminal, or IDE launch WSL. Short-lived wsl.exe na one-shot command. Long-lived one na attached shell.

## Inspect the running instance

Inside Windows PowerShell, this read-only query show matching process IDs, creation times and executable paths on this PC. (pcm)

`Get-CimInstance -ClassName Win32_Process | Where-Object { $_.Name -eq 'wsl.exe' } | Select-Object ProcessId, ParentProcessId, CreationDate, Name, ExecutablePath | Format-List`

No result or a path we no fit access is inconclusive. Protected processes fit restrict access, and process IDs fit be reused. Keep personal paths local. (pcm)

Use the [file-identity guide](https://feex.it/wiki/l/pcm/software/system/verify-executable-path-signature/) to compare signatures and product metadata. A filename alone no fit establish safety. (pcm)

## E dey safe?

Check dis running file

System32 wsl.exe na the Microsoft CLI. wsl.exe inside Downloads no be dat. High RAM on different row wey dem name vmmem no be this launcher.

Compare the recorded location with the actual file. A familiar folder alone no fit establish identity. (pcm)

`C:\Windows\System32\wsl.exe`

- Inbox launcher inside System32
- List distros with wsl -l -v
- Memory sibling: vmmem / vmmemWSL, no be this file

## I fit end am?

Dey close dat CLI

To end wsl.exe dey stop dat command or shell. The WSL2 VM fit remain inside vmmemWSL until \`wsl --shutdown\`. To end vmmem no dey offered as file delete.

## I fit comot am?

Optional features, no be Explorer

Commot Windows Subsystem for Linux from Optional features or the Store package. No delete System32\wsl.exe. To delete vmmem no be supported uninstall.

## E suppose start with Windows?

Shortcut or Terminal profile fit start am. The VM memory row no be this CLI.

## Measure resource use

| CPU and memory   | Compare several observations for the same PID and workload. This entry get no independently measured universal baseline. (pcm)               |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| Disk and network | Attribute activity to the actual process and current task; a filename alone no fit establish expected destinations or transfer volume. (pcm) |

## File information

| Executable name            | wsl.exe                                                                            |
| -------------------------- | ---------------------------------------------------------------------------------- |
| Recorded installation path | C:\Windows\System32\wsl.exe                                                        |
| Publisher                  | Microsoft Corporation                                                              |
| Signature check            | Inspect the actual file; this entry no dey certify its certificate identity. (pcm) |

## Common wahala dem

### People dey try to delete vmmem because wsl.exe look small

vmmem na guest memory on top host. Use wsl --shutdown from this CLI. No vmmem.exe cleanup dey inside System32.

### \`wsl -l -v\` dey empty afta dem end WslService

The CLI no fit talk to coordinator wey don die. Start WslService, then list again. The launcher file never be the service.

## How to troubleshoot

Diagnose before you change anything wey fit scatter things.

### Run wsl -l -v before you go hunt RAM

Stopped distros still dey leave VM until shutdown. vmmemWSL na dat working set. This exe na only the command.

### wsl --shutdown, then confirm say vmmemWSL don leave

If the CLI give error, repair WSL. No replace wsl.exe from zip, and no delete any vmmem file.

## Technical details

Technical details

| Image name | wsl.exe                   |
| ---------- | ------------------------- |
| Role       | WSL command-line launcher |

## Check the identity of running file

A filename alone no fit establish safety. Verify the actual path, signature and product identity. (pcm)

## Related

Dis entities connect to dis article. Type dey show for every link.

[wslservice.exe: Windows Process](https://feex.it/wiki/l/pcm/process/wslservice.exe/)[vmmemWSL: Windows Process](https://feex.it/wiki/l/pcm/process/vmmemwsl/)[vmmem: Windows Process](https://feex.it/wiki/l/pcm/process/vmmem/)[Check an executable path and digital signature: Guide](https://feex.it/wiki/l/pcm/software/system/verify-executable-path-signature/)[Read Task Manager and compare process activity: Guide](https://feex.it/wiki/l/pcm/software/system/how-to-read-task-manager/)[Windows processes: Category](https://feex.it/wiki/process/windows/)

## Sources and verification

Recorded source label: August 2026. Dis label no establish independent verification. [How we dey do research](https://feex.it/wiki/research/).

- [Microsoft Learn: WSL basic commands ](https://learn.microsoft.com/windows/wsl/basic-commands)· wsl.exe na the command-line entry point
- [Microsoft Learn: install WSL ](https://learn.microsoft.com/windows/wsl/install)· Inbox wsl.exe dey launch distributions
- [Foxhole process map ](https://foxhole.feex.it/)· First-party samples on top Windows PCs. No be lab benchmark.
- [Microsoft Sysinternals: Sigcheck ](https://learn.microsoft.com/en-us/sysinternals/downloads/sigcheck)· Dey explain how to check file signatures. Dis reference no establish the identity or safety of any particular running file.
- [Microsoft: Get-CimInstance ](https://learn.microsoft.com/en-us/powershell/module/cimcmdlets/get-ciminstance)· Read-only local process-query method. (pcm)
- [Microsoft: Win32_Process properties ](https://learn.microsoft.com/en-us/windows/win32/cimwin32prov/win32-process)· Documents process IDs, executable paths, creation dates and parent-ID reuse. (pcm)

## Dis article make sense to you?

Yes or no dey enough. Choose reason if you want, or add short note.

Quick facts

The short identity of dis page. Specs, sources, and the full story still dey inside the article.

- **Type**: Windows Process

  **Publisher**: Microsoft Corporation

  **Executable**: wsl.exe

  **Typical path**: C:\Windows\System32\wsl.exe

  **Record context**: Feex Wiki reference entry

Recorded source status: Feex Reviewed: Recorded source label: August 2026. Dis label no establish independent verification.

---

Source: [Canonical Feex Wiki page](https://feex.it/wiki/l/pcm/process/wsl.exe/)

[Developer guide](https://feex.it/wiki/developers/) | [API policy](https://feex.it/developers/api-policy/) | [Agent guidance](https://feex.it/wiki/llms.txt)
