According to Task Scheduler- Batch "Run whether user is logged on or not" not working and other articles, "Run whether user is logged on or not" requires pure batch processing without interactive and UI.
How to run a wsl2 program on system start?I have tried use wsl -e ...
and wsl --shell-type none