From e19be3d88ab17c5c317068c3d55d1eb7fdf031a8 Mon Sep 17 00:00:00 2001 From: "luk.lu" Date: Sun, 24 Jul 2022 11:57:46 +0800 Subject: [PATCH] u --- wsl-install.bat | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 wsl-install.bat diff --git a/wsl-install.bat b/wsl-install.bat new file mode 100644 index 0000000..5639a27 --- /dev/null +++ b/wsl-install.bat @@ -0,0 +1,13 @@ +echo Enable [Windows Subsystem for Linux] feature +dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart + +echo Enable [Virtual Machinese Platform] feature +dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart + +echo Download https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi + +wsl --set-default-version 2 +wsl --update +wsl --shutdown +wsl --list --online +wsl --install -d Debian