Hello there,
Try the workaround posted in this thread https://github.com/microsoft/WSL/issues/8835
The scheduled task will only work if the MSA account is in the Administrators group. If it is, then I can restart the server and the task will successfully kick off WSL and run that script.
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer--