I struggle to install Cursor AI on Windows. It seems to install fine, the files are in users directory, but when I click the executable it doesn’t do anything.
I found some log files and there are some issues. I seem to have all admin rights, but it wants to edit registry and it can’t
2024-09-11 11:09:34.772 [error] Error: Command failed: %windir%\System32\REG.exe QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid
ERROR: Registry editing has been disabled by your administrator.
Is there a way I can manually edit the registry to allow it to run? or can I provide some information to cursor to run?
There are no other logs apart from this one. Is there also a way to run the executable from Powershell with some troubleshooting command to see some additional output?
Thanks for any help
3 Likes
+1
this makes cursor on a managed windows machine unusable for me, too.
Here is the full stack trace, when starting cursor from the bash cli
Local\Programs\cursor
❯ ./Cursor.exe
ERROR: Registry editing has been disabled by your administrator.
[main 2024-09-16T16:00:33.324Z] Error: Command failed: %windir%\System32\REG.exe QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid
ERROR: Registry editing has been disabled by your administrator.
at checkExecSyncError (node:child_process:905:11)
at execSync (node:child_process:977:15)
at node:electron/js2c/node_init:2:13035
at p (C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:42:402)
at C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:41:6334
at b (C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:41:6349)
at R (C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:102:1171)
at E (C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:102:1480)
at gt.startup (C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:113:57405)
at C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:115:1653
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ke.a (C:\Users\xxx\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:115:1126)
EDIT:
Isn’t there an option for a windows user install or just making this registry edit optional? @shaoruu maybe you have an idea?
1 Like
I cannot start Cursor on my win11 company laptop. Also this issue? (Can't open Cursor (Latest Version) · Issue #1007 · getcursor/cursor · GitHub)
Needing a fix! Thanks!
1 Like