Windows Subsystem for Linux Error: 0x800703fa Illegal operation attempted on a registry key that has been marked for deletion

Windows Subsystem for Linux Error: 0x800703fa Illegal operation attempted on a registry key that has been marked for deletion

Windows 10 更新后,我在启动 WSL Ubuntu 18 时收到此错误。

我已经尝试重启几次,但错误仍然存​​在

Installing, this may take a few minutes...
WslRegisterDistribution failed with error: 0x800703fa
Error: 0x800703fa Illegal operation attempted on a registry key that has been marked for deletion.

Press any key to continue...

解决方案已由 Github 的用户 @friedwm 提供,对此问题评论:

https://github.com/Microsoft/WSL/issues/2576#issuecomment-380823857

解决方法是从services.msc重启LxssManager,如果不是运行就重启。

设置 > 应用和功能 > select Ubuntu > 高级选项 > 修复