Windows 11で(Windows 10でも同じだと思いますが)、WSL(Windows Subsystem for Linux)をインストールしてUbuntuとかを起動しようとしたら下記のエラーがでてきました。
![](https://windows-podcast.com/sundayprogrammer/wp-content/uploads/2024/04/85964c661d2fd971c6d2c04d325fe4cf-1024x209.png)
WslRegisterDistribution failed with error: 0x800701bc
と出てきますね。これを対処して無事WSLを起動することができました。
- コマンドプロンプトまたはPowerShellを管理者権限で起動します。
- 下記のコマンドを実行します。
wsl –update - 念のためWindowsを再起動させます。
- (参考)ここでWSLを実行すると「WslRegisterDistribution failed with error: 0x8004032d」とエラーが出ることがあります。このまま続けてください。
- コマンドプロンプトまたはPowerShellを管理者権限で起動します。
- もう一度Ubuntuをインストールします。
wsl –install Ubuntu - WSLでUbuntuが起動します。
![](https://windows-podcast.com/sundayprogrammer/wp-content/uploads/2024/04/image-1024x866.png)
ではよいWindows & Linuxライフを!!