WSL: error code 0x8000ffff when try to install Ubuntu via WSL
Version Microsoft Windows [Version 10.0.25174.1010]
WSL Version
WSL 2
Kernel Version
unknown
PS C:\WINDOWS\system32> wsl --statuswsl --status
and I got output saying kernel not installed.
PS C:\WINDOWS\system32> wsl.exe --update
and it throws:
インストール中: Linux 用 Windows サブシステム
致命的なエラーです。
translation: Linux Windows Subsystem being installed. fatal error.
Distro Version Ubuntu-22.04
Other Software No response
Repro Steps PS C:\WINDOWS\system32> wsl --list --online インストールできる有効なディストリビューションの一覧を次に示します。 ‘wsl --install -d <Distro>’ を使用してインストールします。
NAME FRIENDLY NAME Ubuntu Ubuntu Debian Debian GNU/Linux kali-linux Kali Linux Rolling Ubuntu-18.04 Ubuntu 18.04 LTS Ubuntu-20.04 Ubuntu 20.04 LTS Ubuntu-22.04 Ubuntu 22.04 LTS OracleLinux_8_5 Oracle Linux 8.5 OracleLinux_7_9 Oracle Linux 7.9 SUSE-Linux-Enterprise-Server-15-SP4 SUSE Linux Enterprise Server 15 SP4 openSUSE-Leap-15.4 openSUSE Leap 15.4 openSUSE-Tumbleweed openSUSE Tumbleweed PS C:\WINDOWS\system32> wsl --install -d Ubuntu インストール中: Ubuntu インストール中にエラーが発生しました。ディストリビューション名: ‘Ubuntu’ エラー コード: 0x8000ffff (translation: error during installation. Distribution name: Ubuntu. Error code: 0x8000ffff)
Expected Behavior Ubuntu successfully installed
Actual Behavior It throw “Error code: 0x8000ffff”
Diagnostic Logs WslLogs-2023-03-16_18-44-34.zip
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 17
I had the same issue - Try to open ps without admin rights
I had this issue on a Windows Server 2022 system, tried reinstalling WSL etc, but simply running
wsl --updateis what solved the problem in the end.🎉 Confirming that running
wsl --updatefixed the issue on Windows Server 2022Doesn’t work…
Same problem here. As I am connecting to the server via SSH, de-elevating to a non-admin user is not an option.
Logs attached.
WslLogs-2024-02-26_20-14-46.zip
@USSX-Hares Hey, bro! I meet the same problem with you, but finally I solve this problem in another way ! try to follow this link where you can find ANOTHER WAY TO DOWNLOAD “wsl” rather than using horrible ‘cmd’ ! install-manual
For Windows 10 Users:
1 - I enabled the virtualization in BIOS and Hyper-v in Windows Features. 2 - Installed the Windows Subsystem For Linux from Microsoft Store. 3 - Installed Ubuntu from Microsoft Store.