Unable to install windows subsystem for linux, error 0x800f0831

When I tried to install wsl without enabling it, it gives me this error

PS C:\WINDOWS\system32> wsl --install
wsl : The term 'wsl' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the
spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ wsl --install
+ ~~~ + CategoryInfo : ObjectNotFound: (wsl:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException

After trying out Microsoft's guide to manual installation, it still fails

PS C:\WINDOWS\system32> dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
Deployment Image Servicing and Management tool
Version: 10.0.19041.844
Image Version: 10.0.19043.1081
Enabling feature(s)
[==========================100.0%==========================]
Error: 0x800f0831
DISM failed. No operation was performed.
For more information, review the log file.
The DISM log file can be found at C:\WINDOWS\Logs\DISM\dism.log

When I tried to enable wsl via command prompt, it gives the same error. It "trys" to search/enable/install for wsl but in the end, it gives the same error code (same in title).

  • Is my computer capable of this virtualization?
  • Do I need to update something?
  • Have I messed up anything in the system files?
3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

You Might Also Like