Can't connect to WSL

Hello,
i’m getting an error when running cursor and click to connect to wsl

[2024-10-09 10:24:07.067] <3>WSL (732) ERROR: CreateProcessCommon:551: chdir(/mnt/c/Users/damjank/AppData/Local/Programs/cursor) failed 5
[2024-10-09 10:24:07.067] sh: 1: /mnt/c/Users/damjank/.cursor/extensions/ms-vscode-remote.remote-wsl-0.81.8/scripts/wslServer.sh: Input/output error

before it worked but suddenly is not working anymore.

Please help.
Thanks.

well i have find out that works if i run cursor as administrator.

it was a wsl2 problem not cursor. it’s solved now.