Skip to content

Latest commit

 

History

History
21 lines (12 loc) · 622 Bytes

WSL_Problem.md

File metadata and controls

21 lines (12 loc) · 622 Bytes

WSL_Problem

电脑重启后,VS code 中 WLS 无法启动对应服务。

方法 1

打开控制面板 > 启用或关闭 Windows 功能 > 勾选虚拟机平台选项,而后重启;

方法 2

WSL 无法连接问题

# 以管理员身份打开powershell
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart

dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

其他方法:直接删除 .vscode-server