To Launch Seamless mode via a batch script.
Please note, you will need to enable WSL 2, please follow Kali offical documation on how to enable it. Also please note, this script is setup to run as root.
Kali Offical website - https://kali.org/ Kali Documation for sl I used - https://www.kali.org/docs/wsl/win-kex-sl/