How to update or downgrade WSL kernel on Windows 11
Windows Subsystem for Linux, or WSL, is usually updated automatically as part of regular Windows updates. But if the automatic update fails and you need to change the WSL version for any reason, you can do it manually with Command Prompt.
How to update WSL kernel in Command Prompt
The wsl.exe command line tool makes changing the Windows Subsystem for Linux kernel relatively easy.
1. In Windows Search, type cmd and select the option to run Command Prompt with admin rights. Without admin rights, you will not be able to use wsl.exe.
2. In Command Prompt, type wsl --version and check your current WSL version with the latest version on GitHub.
3. Assuming you are using an earlier version, type wsl --update and press Enter.
4. After a short process, WSL is now up to date. You can check by typing wsl --version again and pressing Enter.
How to restore WSL kernel to previous version
If the WSL update causes unexpected problems or breaks somehow, you can rollback to the previous version.
1. In Windows Search, type cmd and select the option to run Command Prompt with admin rights.
2. At the cursor, type wsl --update --rollback and press Enter.
3. After the restore is complete, You can check the WSL version by typing wsl --version and then pressing Enter.
Windows Subsystem for Linux will now revert to its previous version and any issues that a manual update introduces will be fixed. If the problem persists, it might be worth checking out some alternatives to WSL for running Linux distributions on Windows.
Check Windows 11 automatic update settings
Being able to update WSL manually at the command line is very useful. But you should check the automatic Windows Update settings if you don't want to update manually every time a new version is available.
- Open the Windows Settings app and navigate to Windows Update.
- Select Advanced Options and make sure that the Receive updates for other Microsoft products option is enabled.
WSL will now be updated automatically whenever a new revision is released.
You should read it
- How to downgrade kernel in Linux
- What's New in Linux Kernel 5.14?
- What's new in Linux Kernel 5.9?
- Update Linux kernel on Ubuntu via UKUU
- How to create a Custom Kernel on Ubuntu
- Microsoft will release Linux 'genuine' Linux kernel with Windows 10 WSL
- How to fix Kernel Power Error in Windows 10
- How to Update Ubuntu Kernel
May be interested
- What's New in Linux Kernel 5.14?kernel 5.14 was released to celebrate linux's 30th birthday. the new kernel includes internal fixes and user-visible changes.
- How to Update Ubuntu Kernelthis wikihow teaches you how to update your ubuntu linux kernel, which is the core software that runs the rest of your linux distribution. the easiest way to do this is by installing and running a package manager called 'ukuu', but you can...
- How to downgrade from Windows 11 to Windows 10how to downgrade windows 11 to windows 10? how to downgrade windows 11 to win 10 without losing data. share 2 ways to revert back to windows 10 after upgrading to windows 11
- Microsoft will release Linux 'genuine' Linux kernel with Windows 10 WSLmicrosoft will start 'shipping' a built and customized linux kernel (linux kernel), first applied to windows 10 insider builds this summer. it is known that this kernel will act as a backbone of windows subsystem for linux 2.0 or wsl2.
- How to fix Kernel Power Error in Windows 10does your windows computer turn off without notice or problem every time you try to wake it from sleep? this issue, called the kernel-power bug, seems to have no reason, but is a serious system problem.
- New news: Apple is paving the way for iOS 7, 8, 9, and 10 downgrades for most iPhonesafter ios 9.3.5 sign lock of devices using apple a5 chip, apple surprised users when there is a sign opening move for ios 7, ios 8 versions on iphone 5, iphone 5s.
- How to downgrade from iOS 17 to iOS 16 without losing data using Tenorshare Reibootif you want to go back to stable ios 16 on your phone, here is the basic guide to uninstall ios 17 and downgrade from ios 17 to 16.
- What's new in Linux Kernel 5.9?linus torvalds has announced the new, stable linux kernel 5.9. this linux kernel version is a major release of hardware, graphics, and many other performance updates.
- How to downgrade iOS 14, iPadOS 14 to iOS 13you can downgrade ios 14 / ipados 14 to ios 13 / ipados 13 for a certain time on your iphone or ipad. if you want to downgrade your software, do it as soon as possible before apple locks out older versions of the software.
- How to downgrade iOS 11 beta to iOS 10after upgrading to ios 11 beta, we can downgrade to ios 10 if you want. but you need to back up data before downgrading.