How to restart UP4W¶
Some configuration changes only apply when you restart UP4W. Here is a guide on how to restart it. There are two options.
Option 1: Restart your UP4W host machine¶
This is the simple one. If you’re not in a hurry to see the configuration updated, just wait until next time you boot your machine.
Option 2: Restart only UP4W¶
Stop the agent:
Get-Process -Name Ubuntu-Pro-Agent | Stop-Process
Stop the distro, or distros you installed WSL-Pro-Service in:
wsl --terminate DISTRO_NAME_1 wsl --terminate DISTRO_NAME_2 # etc. # Alternatively, stop all distros: wsl --shutdown
Start the agent again:
Open the start Menu and search for “Ubuntu Pro for WSL”.
The GUI should start.
Wait a minute.
Click on “Click to restart it”.
Start the distro, or distros you installed WSL-Pro-Service in.