shayne / go-wsl2-host

Automatically update your Windows hosts file with the WSL2 VM IP address
1.65k stars 140 forks source link

Using the set account, the wsl2 host service can be started, but it will shut down automatically after a few seconds #71

Open FairyWorld opened 2 years ago

FairyWorld commented 2 years ago

Using the set account, the wsl2 host service can be started, but it will shut down automatically after a few seconds However, using the local account system login of the first option can keep the service running, but the hosts are not set successfully image

toriqo commented 1 year ago

look in the Events Viewer > Windows Logs > Application and verify the error there. most probably wrong password for the account you used or insufficient privileges