## What this changes and why
<!-- One change per pull request. Say what it does and what problem it solves. -->
On Windows 10 22H2, setup enables only Virtual Machine Platform before installing the WSL MSI. The MSI puts `wsl.exe` in place, so `wsl --version` answers and setup thinks WSL is ready; `wsl --import` then fails with `WSL_E_WSL_OPTIONAL_COMPONENT_REQUIRED` because the `Microsoft-Windows-Subsystem-Linux` optional component is still off (#297).
`contrib/windows/kiri-admin.ps1` now enables both components in one call:
```powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux, VirtualMachinePlatform -All -NoRestart
```
One call is one CBS transaction: `-All` brings the parent features with it and `RestartNeeded` is a single result, instead of two independent DISM exit codes and two possible pending reboots. Microsoft documents this single-call form for WSL. A failure is reported to setup as exit 24; `setup.rs` names that case instead of falling through.
Fixes#297
The readable-error part of #297 is in PR #711
<!-- Anything larger than a small fix needs an issue we've agreed on first (see CONTRIBUTING.md). -->
## How you tested it
<!-- On a real machine: the commands you ran and their output, before and after the change.
For the window, a screenshot of before and after. -->
Before (Kiri 0.2.1):
```text
Get-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
State : Disabled
"Add it to WSL" fails with: Wsl/WSL_E_WSL_OPTIONAL_COMPONENT_REQUIRED
```
<img width="907" height="683" alt="after_fix297_utf16 png" src="https://github.com/user-attachments/assets/3411fac3-b7b2-4a4c-b6f2-016a3475cb3a" />
<img width="574" height="102" alt="{D53AE272-B726-4D8E-B88B-564EBCE4C0B4}" src="https://github.com/user-attachments/assets/3f2812cc-a203-42f3-afeb-5b3500fc5a22" />
After (this branch):
```text
Microsoft-Windows-Subsystem-Linux : Enabled
VirtualMachinePlatform :
Enabled
Setup reaches "Choose a Linux"; Kiri Linux imports successfully.
```
<img width="704" height="368" alt="{ED024D56-DA30-4E16-BEBE-C183DD01F415}" src="https://github.com/user-attachments/assets/0136375b-9bde-49af-b3b5-335a206f35ad" />
<img width="173" height="187" alt="{6E97503E-A216-4867-90F7-A89D0AEEBDC3}" src="https://github.com/user-attachments/assets/c71719e3-5fc0-45a9-8bae-29ad225a9138" />
Tested on: Windows 10 Enterprise 22H2 (19045.6456) x64, WSL 3.0.3.0.
## How you found it
- [x] I use Kiri and ran into this myself
- [x] I found it by reading the code or comparing with Docker
- [x] Someone else reported it (link the issue above)
AI tools used to write this change: yes — the code was written with an AI assistant, reviewed and tested on a real machine.
## Checklist
- [x] I have at most 3 pull requests open on Kiri, this one included
- [x] `cargo fmt`, `cargo clippy` and the tests pass
- [x] It works on macOS, Windows and Linux, or the change only touches one of them
Co-authored-by: Fellmonkey <90258055+Fellmonkey@users.noreply.github.com>