Windows WSL: WSL Daemon exists with code 0

Hi I managed to fix this issue after trying multiple approaches here an none of them worked for me. What worked for me was completely uninstalling both VS Code and Cursor from windows as well as going into my file system and removing any reference to cursor that was left behind. Look in these places.

    • Delete the folder at %APPDATA%\Cursor
  • Delete the folder at %USERPROFILE%\.cursor
  • Extensions:
  • Delete the folder at %LOCALAPPDATA%\

I also deleted the ~/.cursor-server folder on my WSL image.

I then reinstalled VS code and checked WSL still worked. After this I then reinstalled cursor. If when you are installing it says cursor folder exists ensure you delete that folder before proceeding. Then when cursor has installed open the WSL connection and it will prompt the reinstallation of cursor-server.

I could then connect fine!

Hope this helps

1 Like