需要以管理员身份打开 PowerShell,然后运行以下命令:
<strong>Close all WSL terminals and run this to fully shut down WSL.</strong> |
如果您使用的是 Windows 家庭版并且optimize-vhd不是有效命令,您可以尝试运行以下命令:
<strong>Replace Nick with your Windows user name.</strong> |
所有内容都适用于所有版本的 Windows 10。
<strong>Close all WSL terminals and run this to fully shut down WSL.</strong> |
<strong>Replace Nick with your Windows user name.</strong> |
所有内容都适用于所有版本的 Windows 10。