Skip to content

Instantly share code, notes, and snippets.

@manelrodero
Created October 23, 2022 11:32
Show Gist options
  • Save manelrodero/2a45af37cfd76736160e8c7c29ed4285 to your computer and use it in GitHub Desktop.
Save manelrodero/2a45af37cfd76736160e8c7c29ed4285 to your computer and use it in GitHub Desktop.
Uninstall WSL/WSL2 (Windows 10 2004+)
msiexec.exe /x "wsl_update_x64.msi" /q
dism.exe /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /remove /norestart
dism.exe /online /disable-feature /featurename:VirtualMachinePlatform /remove /norestart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment