I have tried to setup redis as starting background task with wsl-autostart, Task Scheduler and with lot vbs scripts including one described here but none of them seemed to work.
In the end I have manually created a simple one that does the job. This script basically starts a hidden Ubuntu Window and starts redis-server inside it.
- Install WSL (this is tested with Ubuntu 18.04 version)
- Install redis-server inside WSL
sudo apt install redis-server
- Add sudo permission to your user to execute service command without password