2024-11-14 10:12:47.026 [error] Error: Command failed: %windir%\System32\REG.exe QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid
at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at checkExecSyncError (node:child_process:905:11)
at execSync (node:child_process:977:15)
at node:electron/js2c/node_init:2:13164
at v (C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:49:402)
at C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:48:6600
at m (C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:48:6615)
at D (C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:110:1383)
at k (C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:110:1930)
at vt.startup (C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:121:58067)
at C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:123:1805
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Me.a (C:\Users\kimda\AppData\Local\Programs\cursor\resources\app\out\vs\code\electron-main\main.js:123:1276)
I found and checked the log location and found the error.
C:\Windows\System32>echo %windir%
C:\WINDOWS
C:\Windows\System32>C:\WINDOWS\System32\REG.exe QUERY HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography /v MachineGuid
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography
MachineGuid REG_SZ 6ad17724-1b1a-4958-xxxx-xxxxxxxxxxx
When checking in the CMD window, the system variables and paths seem to be fine.