WSLがたまに起動失敗するときの対処

WSLを起動しようとするとたまに以下のようなエラーを吐いて死ぬ。

Error: 0x800703fa
Press any key to continue...

これについては以下のissueがある。

github.com

Windowsを再起動しても治るけど、めんどくさいので以下を参照にLxssManagerを再起動している。

www.bountysource.com

I Had the same problem, just restart LxssManager by following this tips:
1- Run CMD as administrator and restart the LxssManager status

2- Stop it by :
sc stop LxssManager

3- Then restart it by:
sc start LxssManager