How to terminate all Linux distros on WSL in Windows 11


– Advertisement –

The Windows 11 working system from Microsoft comes with a characteristic known as Windows Subsystem for Linux (WSL) that allows customers to simply run any Linux distros in your laptop alongside the Windows working system.

– Advertisement –

When a Linux distro is put in on the system, the light-weight digital machine will proceed to run within the background even when the person exits the command shell, which implies that it’ll maintain utilizing the mandatory system sources, leading to efficiency for the Windows OS.

– Advertisement –

But fortunately, there’s a strategy to terminate the Linux distro from the system as quickly because the person is completed utilizing it. This might be performed by way of the built-in wsl command-line device and can be utilized for any explicit distribution or for all of the distros on the system.

In this step-by-step information, we’ll present you how one can shortly and simply terminate all of the Linux distributions put in in your Windows 10 or Windows 11 laptop with the WSL command-line device utilizing the built-in Command Prompt or PowerShell in your system. For this information, we might be utilizing the Command Prompt in Windows 11 working system.

– Advertisement –

How to terminate all Linux distros on WSL in Windows 11

Step 1: Open the Start Menu in your Windows-powered laptop.

Step 2: In the Start Menu, seek for the Command Prompt and choose the “Run as administrator” possibility.

Step 3: When the Command Prompt opens, enter the next command:

wsl –checklist –verbose

The above-mentioned command will present all of the operating Linux distros in your system.

Step 4: Type and enter the next command to close down all of the Linux distros in your Windows system.

wsl –shutdown

That’s it. As quickly as you enter the command talked about within the above step-by-step information, all of the operating Linus distributions might be terminated out of your Windows 11-powered laptop. You can enter these instructions within the Command Prompt in addition to in PowerShell, which is able to ship related output.


– Advertisement –


Source link

Comments are closed.