New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and
privacy statement. We’ll occasionally send you account related emails.
Already on GitHub?
Sign in
to your account
Closed
resigned opened this issue
Apr 2, 2020
· 34 comments
Comments
-
Your Windows build number: (Type
ver
at a Windows Command Prompt)
Microsoft Windows [Version 10.0.19041.172] -
What you’re doing and what’s happening: (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)
I am trying to run the kernal updater tool and I’m receiving an error that «This update only applies to machines with the Windows subsystem for Linux
- What’s wrong / what should be happening instead:
I am unable to update the kernel and use WSL 2
I didn’t mention this but I definitely have WSL 1 installed, I updated Windows with the intention of installing WSL 2. WSL 1 still runs fine.
the same thing is happening to me I have WSL 1 already installed but WSL Update is not working
Same behaviour: WSL1 installed, unable to update. Error: «This update only applies to machines with the Windows Subsystem for Linux».
solomon-cc, groovysnake, paulrozhkin, and ppchris2 reacted with laugh emoji
sincladk, whelerson, solomon-cc, paulrozhkin, siburny, and ppchris2 reacted with hooray emoji
nblauch, tomecho, jieya-ms, Igzak, kli579, Tohusk, mateuszseczkowski, Xulaari, sincladk, luke-sackash, and 6 more reacted with rocket emoji
Yep this the installer doesn’t request admin..
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open «turn windows features on or off»
- Uncheck both «Virtual Machine Platform» and
«Windows subsystem for Linux» - Press OK
- Reboot your system
- Open «turn windows features on or off» again
- Now check both «Virtual Machine Platform» and «Windows subsystem for Linux»
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
ultrawebmarketing, vekien, cpoptic, Xulaari, nishant23122000, dehrk, icarofs, bogomipa, and cutku reacted with thumbs down emoji
hewcaw, timendez, tloecher, phelps-matthew, amaslak0v, nishant23122000, upolar, mimranfaruqi, supersciencegrl, eddiekrystowski, and elisagiornes reacted with hooray emoji
hewcaw, amaslak0v, nishant23122000, upolar, tech-with-bolow, rozinCodes, mimranfaruqi, tsiory-vscode-config, pinguin-frosch, mortroguez, and 5 more reacted with heart emoji
hewcaw, AlphaMalik, tloecher, amaslak0v, mimranfaruqi, WintonLi, fdrov, jexliwag, and Rafat97 reacted with rocket emoji
eatcosmos reacted with eyes emoji
This comment has been minimized.
@sonook ‘s solution worked for me. Thanks!
I got the issue today with 10.0.19042.685 (20H2) and the workaround proposed by sonook also worked for me. By the way a typo can be noticed in the error message : «This update only applies to machines with the Windows subsytem for Linux», with a missing «s» in subsystem.
@sonook ‘s solution works for me. Thanks!!
@sonook ‘s solution worked for me also. Thanks.
+1 for @sonook ‘s solution, this error is hideous!
Edit: I’ve run the installer as admin, I’ve launched it from the powershell with admin rights, nothing worked except turning the features off and on.
Check your BIOS to ensure virtualization support is turned on…
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open «turn windows features on or off»
- Uncheck both «Virtual Machine Platform» and
«Windows subsystem for Linux»- Press OK
- Reboot your system
- Open «turn windows features on or off» again
- Now check both «Virtual Machine Platform» and «Windows subsystem for Linux»
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
It worked for me
@sonook
It worked for me. Microsoft Windows [Version 10.0.19041.928]
Just restarting worked for me.
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open «turn windows features on or off»
- Uncheck both «Virtual Machine Platform» and
«Windows subsystem for Linux»- Press OK
- Reboot your system
- Open «turn windows features on or off» again
- Now check both «Virtual Machine Platform» and «Windows subsystem for Linux»
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
Worked for me
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open «turn windows features on or off»
- Uncheck both «Virtual Machine Platform» and
«Windows subsystem for Linux»- Press OK
- Reboot your system
- Open «turn windows features on or off» again
- Now check both «Virtual Machine Platform» and «Windows subsystem for Linux»
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
awesome, it did fix this issue.
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open «turn windows features on or off»
- Uncheck both «Virtual Machine Platform» and
«Windows subsystem for Linux»- Press OK
- Reboot your system
- Open «turn windows features on or off» again
- Now check both «Virtual Machine Platform» and «Windows subsystem for Linux»
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
This worked for me, cheers
I just solved the problem by enabling «BIOS Back Flash». For those who have never installed WSL before this might work.
The solution from @sonook worked for me!
It turns out that «Windows subsystem for Linux» was not automatically checked after installing WSL2 wsl --install
. After checking this item and rebooting Windows, it worked!
@sonook
I found the working solution, please try and let me know the result.
Procedure to fix the issue :-
- Open «turn windows features on or off»
- Uncheck both «Virtual Machine Platform» and
«Windows subsystem for Linux»- Press OK
- Reboot your system
- Open «turn windows features on or off» again
- Now check both «Virtual Machine Platform» and «Windows subsystem for Linux»
- Press OK
- Reboot your system again
- Now run the wsl_update_x64.msi again, it should install successfully now
- Go to powershell and run wsl command
Demo Video for graphical representation
It works for me.
Windows 10 pro
Version 21H1 (OS build 19043.928)
This did not work for me.
«Download Linux kernel update package» error
What to do if you get the following error in step 4 of What to do if you try what is written in the formula but it does not solve the problem.
This update only applies to machines with the Windows Subsystem for Linux
Resolution
- Download and unzip wsl_update_x64.msi
- Unzip further «lxss_kernel» in the unzipped folder
- Place «FID_LXSS_KERNEL» in the unzipped folder «lxss_kernel» in the following directory
- Renamed to FID_LXSS_KERNEL → kernel
C:\\Windows\\System32\\lxss\\tools
That’s it.
Contents
- 1 Fixed Update Only Applies To Machines With The Windows Subsystem For Linux Wsl Error
- 2 [fixed] Update Only Applies To Machines With The Windows Subsystem For Linux | Wsl Error
- 2.1 Conclusion
- 2.1.1 Related image with fixed update only applies to machines with the windows subsystem for linux wsl error
- 2.1.2 Related image with fixed update only applies to machines with the windows subsystem for linux wsl error
- 2.1 Conclusion
Unlock the transformative power of Fixed Update Only Applies To Machines With The Windows Subsystem For Linux Wsl Error with our thought-provoking articles and expert insights. Our blog serves as a gateway to explore the depths of Fixed Update Only Applies To Machines With The Windows Subsystem For Linux Wsl Error, empowering you with the information and inspiration to make informed decisions and embrace the opportunities that Fixed Update Only Applies To Machines With The Windows Subsystem For Linux Wsl Error presents. Join us as we navigate the dynamic world of Fixed Update Only Applies To Machines With The Windows Subsystem For Linux Wsl Error and unlock its hidden treasures. Gt where settings 0x8007019e with failed windows new is system windows not advanced wslregisterdistribution storage is component settings open linux the content gt enabled- error gt saved On for 11 optional storage gt subsystem
Update Only Applies To Machines With The Wsl Fixed
Update Only Applies To Machines With The Wsl Fixed
Error: this update only applies to machines with windows subsystem for linux · issue #616 · microsoftdocs wsl · github microsoftdocs wsl public notifications fork 557 star 1.8k code issues 141 pull requests 3 actions projects security insights new issue error: this update only applies to machines with windows subsystem for linux #616 closed. Overview [fixed] update only applies to machines with the windows subsystem for linux | wsl error sonoo’s kb 7.11k subscribers subscribe 18k views 2 years ago wsl (windows subsystem for.
Error This Update Only Applies To Machines With Windows Subsystem For
Error This Update Only Applies To Machines With Windows Subsystem For
On windows 11 open settings > system > storage > advanced storage settings > where new content is saved wslregisterdistribution failed with error 0x8007019e the windows subsystem for linux optional component is not enabled:. To get access to this new version, just run this command in powershell: wsl update; wsl update pre release, or you can download it manually from the wsl github repository. please file any issues at the wsl github repository, or view the wsl docs to learn more. · was this reply helpful? yes no i just installed the latest update here is the detail of the system. edition windows 10 home insider preview version 2004 installed on 2 07 2020 os build 20161.1000 experience windows feature. In an attempt to fix the app i have tried using windows setting: apps > installed apps > windows subsystem for linux, and requested «repair» under the reset heading. this didn’t seem to work. without knowing what to try to repair i am left thinking that it might be necessary to re install wsl.exe.
Enable Or Disable Windows Subsystem For Linux Wsl In Windows 10 Tutorials
Enable Or Disable Windows Subsystem For Linux Wsl In Windows 10 Tutorials
· was this reply helpful? yes no i just installed the latest update here is the detail of the system. edition windows 10 home insider preview version 2004 installed on 2 07 2020 os build 20161.1000 experience windows feature. In an attempt to fix the app i have tried using windows setting: apps > installed apps > windows subsystem for linux, and requested «repair» under the reset heading. this didn’t seem to work. without knowing what to try to repair i am left thinking that it might be necessary to re install wsl.exe. The term ‘wsl’ is not recognized as the name of a cmdlet, function, script file, or operable program ensure that the windows subsystem for linux optional component is installed. error: this update only applies to machines with the windows subsystem for linux. wsl is not enabled (step 1), or you have an old version of windows. error: wsl 2. If it fails, it you will see the message: <code>this update only applies to machines with the windows subsystem for linux< code>.< li>\n<li>there are three possible reason you see this message:< li>\n< ul>\n<ol dir=\»auto\»>\n<li>\n<p dir=\»auto\»>you are still in old version of windows which doesn’t support wsl 2.
[fixed] Update Only Applies To Machines With The Windows Subsystem For Linux | Wsl Error
[fixed] Update Only Applies To Machines With The Windows Subsystem For Linux | Wsl Error
menu: overview: 00:00 fixing wsl2 installation error: 01:08 check wsl2 status: 02:47 done: 03:23 wsl2 installation error windows subsytem for linux update windows subsytem for linux update windows subsytem for linux update windows subsytem in this video, you will install ubuntu on windows 11 using wsl2. wsl 2 is the windows subsystem for linux 2 that helps us in how to fix wsl 2 requires an update to its kernel component | wls 2 linux kernel update package | installing wsl 2 on wslregisterdistribution failed with error: 0x800701bc wsl 2 requires an update to its kernel component error: 0x800701bc wsl how to troubleshoot the windows 10 wsl: windows subsystem for linux error: 0x80370102 the virtual machine could not be the first thing a budding developer should do is make their system developer friendly. as a developer, you’d want to interact with how to troubleshoot the windows 11 wsl: windows subsystem for linux error: 0x80370102 the virtual machine could not be this video will show you how to fix this error when you try to open or to complete the installation of linux distribution windows 10 the text version of this video: bonguides windows subsystem for linux has no installed distributions windows visit my blog: jununix.pythonanywhere in case you haven’t installed wsl yet just follow these steps : or go to this link wsl register distribution failed with error: 0x80370102 || error: 0x80370102 an illegal state change. subscribe for the next
Conclusion
Taking everything into consideration, it is clear that article provides informative information regarding Fixed Update Only Applies To Machines With The Windows Subsystem For Linux Wsl Error. Throughout the article, the writer demonstrates a deep understanding about the subject matter. Notably, the discussion of X stands out as a highlight. Thank you for the article. If you need further information, please do not hesitate to reach out via email. I look forward to hearing from you. Additionally, here are a few relevant posts that might be useful:
Fix Error Linux
Menu: Overview: 00:00 Fixing WSL2 installation error: 01:08 Check WSL2 status: 02:47 Done: 03:23 WSL2 installation error Windows subsystem for Linux … .
To see the full content, share this page by clicking one of the buttons below
Concluzion: [Fixed] update only applies to machines with the windows subsystem for Linux | WSL error – wsl,Linux on windows,WSL2,error,windows 10
source
Check Also
Fix iPhone Locked To Owner iOS 17.0.1 Free iPhone 12 iCloud
Fix iPhone Locked To Owner iOS 17.0.1 Free⭐ iPhone 12 iCloud Bypass Full🥇 Remove Activation …
Article catalog
- First, install WSL2.0
- Second, install Ubuntu20.04LTS
- Third, configure SSH
- Fourth, set the distribution version
- V. Common problems solve
-
- 5.1 Installation failed and error 0x80070003
- 5.2 WSLREGISTERDISTRIBUTION failed and error 0x8007019E
- 5.3 Installation failed, error 0x80070003 or error 0x80370102
- 5.4 Try to upgrade an error: Invalid Command Line Option: WSL —SET-VERSION Ubuntu 2
- 5.5 Due to a limit on the virtual disk system, the requested operation cannot be completed. The virtual hard disk file must be unpredied and unencrypted and cannot be sparse
- 5.6 Unable to identify the word «WSL» as cmdlets, functions, scripting files, or running programs
- 5.7 Error: This update applies only to computers with Windows subsystems suitable for Linux
- 5.8 Error: WSL 2 requires updating its kernel components
- Six, forget WSL password
- Reference documentation
First, install WSL2.0
WSL2.0 has a complete Linux kernel compared to WSL1.0, managed VM, and complete system call compatibility, so we use WSL2.0 here.
-
Enable Windows Subsystem for Linux: Open PowerShell and enter:
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
-
Check if WSL2 requirements:
win
+R
Open the run, then enterwinver
Check the Windows version
-
This version needs to be greater than 1903
-
Enable virtualization: Open PowerShell Enter the following command with administrators
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
-
downloadX64 WSL2 Linux kernel upgrade packageAnd install
-
Set WSL default version
wsl --set-default-version 2
Second, install Ubuntu20.04LTS
-
Open Microsoft Store
-
General Windows add Ubuntu to
My software library
In, if you don’t search Ubuntu yourself and then install it, you can’t install it. -
Find ubuntu 20.04lts Click to install, here I have installed it directly click to start
-
Set the initial username and password after opening, if the reference object type does not support attempt, reset the network
net winsock reset
-
Set the root password
sudo passwd
Third, configure SSH
-
Modify the configuration file
/etc/ssh/sshd_config
Open the following optionsPermitRootLogin YES # Allow root authentication login PasswordAuthentication YES # allows password authentication Rsaauthentication YES # Secret Key Certification PubkeyAuthentication yes
-
Since the OpenSSH-Server that comes has not generated a key, the key file is required, otherwise it will appear.
sshd: no hostkeys available -- exiting.
#ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key #ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key
-
Start SSH
service ssh start
-
Boot start SSH:
win
+R
Open operation, entershell::startup
Enter the boot start item, create WSL_SSH_START.BAT, its content isC: \ user name \ appdata \ local \ microsoft \ windowsapps \ ubuntu2004.exe run "sudo service ssh restart"
-
Default root login, open POWSHELL with administrators, enter the following command,
Note: The username needs to replace it, the version page needs to be replaced, if the path of WSL is not hereC: \ Program Files \ WindowsApps \ xxx.ubuntuxxx \ ubuntu version .exe
C: \ users \ User Name \ Appdata \ Local \ Microsoft \ WindowsApps \ Ubuntu Version.exe config --default-user root
Fourth, set the distribution version
Check the WSL version assigned to the installed Linuxwsl -l -v
wsl --list --verbose
Set the distribution version for a WSL version
wsl --set-version <distribution name> <versionNumber>
V. Common problems solve
5.1 Installation failed and error 0x80070003
Windows subsystem suitable for Linux can only be in the system drive (usuallyC:
The drive is running in the drive. Make sure the distributed version is stored on the system drive: Open «Settings» -> System -> «Storage» ->«More Storage Settings»: Change the storage location of new content «
5.2 WSLREGISTERDISTRIBUTION failed and error 0x8007019E
Optional components that do not enable «Windows Subsystem for Linux»:
Open «Control Panel» -> Programs and Features «->» Windows Subsystem «-> Select» Windows Subsystem for Linux «or use the PowerShell cmdlet described in this article.
5.3 Installation failed, error 0x80070003 or error 0x80370102
Make sure that virtualization is enabled in your computer’s BIOS. Description of how to do this is different from the computer, and it is likely to under the CPU-related option. WSL2 requires the CPU to support the secondary address conversion (SLAT) function, which is incorporated in the Intel NehalerEm processor (Intel Core first generation) and AMD Opteron. Even if the virtual machine platform is successfully installed, the old CPU (such as Intel Core 2 Duo) cannot run WSL2.
5.4 Try to upgrade an error: Invalid Command Line Option: WSL —SET-VERSION Ubuntu 2
Make sure that Windows subsystems for Linux are enabled, and you are using Windows internal version 18362 or higher. To enable WSL, run this command as the PowerShell prompt with administrator privilege:Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
。
5.5 Due to a limit on the virtual disk system, the requested operation cannot be completed. The virtual hard disk file must be unpredied and unencrypted and cannot be sparse
- Uncheck «Compressed Content» (if «encrypted content» is selected, please uncheck it), the method is to open the Configuration file folder for the Linux release. It should be located in a folder on the Windows file system, similar to:
USERPROFILE%\AppData\Local\Packages\CanonicalGroupLimited...
- In this Linux distribution configuration file, there should be a localState folder. Right-click this folder to display the menu of the option. Select Properties> Advanced, then make sure that the «Compressed content is not selected» and «Encrypt the content to protect the data» check box. If the system query is to apply this to the current folder or apply to all subfolders and files, select «Only this folder» because you just want to clear the compression flag. After completing this,
wsl --set-version
The command should work normally.
5.6 Unable to identify the word «WSL» as cmdlets, functions, scripting files, or running programs
please ensureAn optional component that is «Windows Subsystem for Linux» installed. Also, if you use the ARM64 device, you will receive this error from PowerShell. Please change it fromPowerShell Core Or run from the command promptwsl.exe
。
5.7 Error: This update applies only to computers with Windows subsystems suitable for Linux
- To install the Linux kernel update MSI package, you need WSL, you should enable it first. If you fail, you will see the following message:
This update only applies to machines with the Windows Subsystem for Linux
。 - There are three possible reasons why this news appears:
- You still use old version of Windows, WSL 2 is not supported. See step # 2 of the link request and updated update.
- WSL is not enabled. Needable to return to step # 1 and make sure that an optional WSL function is enabled on your computer.
- After enabling WSL, you need to restart to take effect, restart your computer and try again.
5.8 Error: WSL 2 requires updating its kernel components
If the Linux kernel package is missing in the% SystemRoot% \ System32 \ Lxss \ Tools folder, this error will be encountered. To resolve this issue, install the Linux kernel update MSI package in step # 4 of the installation instructions. May needAdd or delete programs
Uninstall the MSI and reinstall it.
Six, forget WSL password
If you forget the Linux distribution password:
-
Open PowerShell and use the following command to enter the default WSL distribution version of the root directory:
wsl -u root
If you need to update your forgotten password in a non-default distribution, use the command:
wsl -d Debian -u root
And willDebian
Replace the name of the target distribution. -
After opening the WSL release root at the root level within PowerShell, you can use this command to update your password:
passwd <WSLUsername>
,among them<WSLUsername>
Is the username of the account in Distro, and you forgot its password. -
The system will prompt you to enter the new UNIX password and confirm this password. After being told that the password has been updated successfully, use the following command to close the WSL within PowerShell:
exit
Reference documentation
Microsoft WSL documentation