Set version to WSL '1' fails with 'Invalid command line option' #9487
Unanswered
daldr-ntml
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Windows 11 build 10.0.22000
Hi, we have installed WSL with Ubuntu 22.04 on Windows 11 on one of our engineer's laptops. We set the default version to 1 before installing Ubuntu (from an admin cmd prompt):
wsl --set-default-version 1
but Ubuntu still ended up being version 2. From a non-admin command prompt:
We want WSL version 1. So we execute:
wsl --set-version Ubuntu-22.04 1
from a non-admin cmd prompt. That gives:
Invalid command line option: --set-version
Why does that command fail?
Beta Was this translation helpful? Give feedback.
All reactions