How to enable wsl 2 on windows server 2022 ver 20329?

%3CLINGO-SUB%20id%3D%22lingo-sub-2272197%22%20slang%3D%22zh-CN%22%3EHow%20to%20enable%20wsl%202%20on%20windows%20server%202022%20ver%2020329%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2272197%22%20slang%3D%22zh-CN%22%3E%3CP%3EI%20installed%20wsl%20and%20enabled%20hyper-v%20features%20on%20my%2020329%20server%2C%20but%20I%20could%20not%20tansfer%20my%20wsl%20to%20wsl%202%3C%2FP%3E%3CP%3EIs%20it%20supported%20yet%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2272197%22%20slang%3D%22zh-CN%22%3E%3CLINGO-LABEL%3EWindows%20Server%202022%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3Ewsl%202%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2274090%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20enable%20wsl%202%20on%20windows%20server%202022%20ver%2020329%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2274090%22%20slang%3D%22en-US%22%3ESo%20far%20it%20seems%20like%20MS%20will%20prevent%20us%20from%20running%20WSL2%20on%20a%20server%20with%20a%20GUI.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2663367%22%20slang%3D%22en-US%22%3ERe%3A%20How%20to%20enable%20wsl%202%20on%20windows%20server%202022%20ver%2020329%3F%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2663367%22%20slang%3D%22en-US%22%3EIs%20there%20a%20reason%20why%20so%3F%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20also%20the%20GUI%20running%20and%20the%20commands%20%22wsl%20--set-default-version%202%22%20and%20%22wsl%20--set-version%20%3CDISTRONAME%3E%202%22%20do%20not%20work%2C%20even%20when%20they%20are%20listed%20in%20%22wsl%20--help%22.%3CBR%20%2F%3E%3CBR%20%2F%3EIs%20there%20a%20workaround%20for%20enabling%20WSL2%20on%20Windows%20Server%202022%20with%20GUI%20running%3F%3C%2FDISTRONAME%3E%3C%2FLINGO-BODY%3E
Occasional Visitor

I installed wsl and enabled hyper-v features on my 20329 server, but I could not tansfer my wsl to wsl 2

Is it supported yet?

 

2 Replies
So far it seems like MS will prevent us from running WSL2 on a server with a GUI.
Is there a reason why so?

I have also the GUI running and the commands "wsl --set-default-version 2" and "wsl --set-version <distroname> 2" do not work, even when they are listed in "wsl --help".

Is there a workaround for enabling WSL2 on Windows Server 2022 with GUI running?