Uninstall WSL2 on Windows 10 The uninstall process of the Windows Subsystem for Linux 2 requires multiple steps, including removing the distro, kernel update, and other components. Step one: Uninstall Linux dis
WSL 2 is a significant upgrade over the initial version of the Windows Subsystem for Linux, so here's how to make sure you have it installed.
I am using an Ubuntu 18.04 LTS distribution with WSL2. The distribution comes with Nvidia drivers as a pre-installed virtual packages. However the program I was trying to run can only use CPU graphics, and an Nvidia driver will cause it ...
You can also run wsl --unregister <distroName> to uninstall a distro which will remove those files for you. Given that you're on server, I believe you should run the wsl --unregister command as @Biswa96 is correct deleting a registry key will just make WSL unaware of the distro it wi...
wsl --unregister distro_name For example, if you want to uninstall the Ubuntu distribution, enter the following command: wsl --unregister Ubuntu Step 7:Close the Terminal window. Finally, close the Terminal window by clicking the ‘X’ icon on the window’s top-right corner. ...
Learn how to check the amount of disk space available, expand the size of the Virtual Hard Disk (VHD), repair a VHD mounting or read-only error, and locate the .vhdx file and disk path for Linux distributions installed with WSL 2.
From WSL console To remove a Linux GUI app through WSL, use these steps: OpenStart. Search forUbuntu(or another distro) and click the top result to launch the Linux distribution. Type the following command to uninstall the application and pressEnter: ...
And as you can see in the output above the Ubuntu distro is still using WSL 1. To upgrade the Ubuntu distro, you canwsl --set-version Ubuntu 2which will kick off the upgrade process, be patient this took almost five minutes for me. ...
How to add Users to WSL Distro There are two main methods to add users to Windows Subsystem for Linux distro on Windows 11/10. They are the following: When logged in as a SUDO user. When logged in as ROOT. 1] When logged in as a SUDO user After you have opened your Linux distro...
Note: the password is invisible, so make sure you store it in a safe place. If you forget your password, you’ll have to uninstall the Linux distro, which will delete all your Linux files. Update your installation using: sudoapt update ...