windows:windows-subsystem-for-linux:keep-wsl-alive
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| windows:windows-subsystem-for-linux:keep-wsl-alive [2026/03/20 15:16] – created odefta | windows:windows-subsystem-for-linux:keep-wsl-alive [2026/03/20 15:18] (current) – odefta | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== How to keep wsl alive ====== | ====== How to keep wsl alive ====== | ||
| - | After closing the terminal in which wsl was opened, it goes away. | + | After closing the terminal in which wsl was opened, it goes away. \\ |
| To keep it open, follow these steps: | To keep it open, follow these steps: | ||
| - | |||
| - | ===== Run wsl at windows startp ===== | ||
| Run taskschd.msc and define a new task: | Run taskschd.msc and define a new task: | ||
| Line 10: | Line 8: | ||
| {{.: | {{.: | ||
| - | General -> Name -> Start WSL | + | General -> Name -> Start WSL \\ |
| - | General -> Security options -> Run only when user is logged on | + | General -> Security options -> Run only when user is logged on \\ |
| - | General -> Security options -> Run with highest privileges | + | General -> Security options -> Run with highest privileges |
| - | General -> Hidden | + | General -> Hidden |
| - | General -> Configure for: Windows 10 | + | General -> Configure for: Windows 10 \\ |
| - | + | \\ | |
| - | Triggers -> At log on | + | Triggers -> At log on \\ |
| - | + | \\ | |
| - | Action -> Start a program | + | Action -> Start a program |
| - | Action -> Settings -> Program/ | + | Action -> Settings -> Program/ |
| - | Action -> Settings -> Add arguments: " | + | Action -> Settings -> Add arguments: " |
| <code vbs wsl_keepalive.vbs> | <code vbs wsl_keepalive.vbs> | ||
windows/windows-subsystem-for-linux/keep-wsl-alive.1774019794.txt.gz · Last modified: by odefta
