# Kaspersky blocks Cursor from querying Windows registry

**URL:** <https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892>\
**Category:** Bug Reports\
**Tags:** windows, security\
**Created:** [September 24, 2026, 9:58am UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892 "2026-09-24T09:58:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![a658525722ff6e982429](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@a658525722ff6e982429](https://forum.cursor.com/u/a658525722ff6e982429)\
**Post date:** [September 24, 2026, 9:58am UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/1 "2026-09-24T09:58:31Z")

</div>

### Where does the bug appear (feature/product)?

Cursor IDE

### Describe the Bug

I’m getting security alerts from my Kaspersky antivirus indicating that Cursor is trying to write keys to the Windows registry.

### Steps to Reproduce

Here is the anomaly message from my Kaspersky console (translated from French source system):  
Event: Process action blocked  
User: AC-NANTES\dtollet  
User type: Initiator  
Application name: node.exe  
Application path: C:\Users\dtollet\AppData\Roaming\Cursor\User\globalStorage\anysphere.cursor-agent-worker\agent-cli.local\share\cursor-agent\versions\2026.09.23-86fc751  
Rule: Start of Registry Editor from JScript script  
Source process: c:\users\dtollet\appdata\roaming\cursor\user\globalstorage\anysphere.cursor-agent-worker\agent-cli.local\share\cursor-agent\versions\2026.09.23-86fc751\index.js  
Source process hash: 4b50f729446ab8c3eb688b6b66af8ddf9fe236dbd8daade5d6dbdcc83f31c3dd  
Target process: C:\Windows\System32\reg.exe  
Target process hash: ef37663b44ac66920c6f33694deea01acb78ae3f3012884819373fa04c3eb5f0  
Target object: object://cmdline:reg.exe query HKLM\SOFTWARE\Policies\Cursor\Cursor  
Result description: Blocked  
Type: Anomaly  
Name: Start of Registry Editor from JScript script  
Accuracy: Heuristic analysis  
Object type: Process  
Object name: index.js  
Object path: C:\Users\dtollet\AppData\Roaming\Cursor\User\globalStorage\anysphere.cursor-agent-worker\agent-cli.local\share\cursor-agent\versions\2026.09.23-86fc751

### Operating System

Windows 10/11

### Version Information

Version: 3.21.9 (user setup)  
VS Code Extension API: 1.128.0  
Commit: 9998796a6096ce83d83a9332bfe7473b985db750  
Date: 2026-09-17T02:16:48.732Z  
Layout: IDE  
Build Type: Stable  
Release Track: Default  
Electron: 42.10.0  
Chromium: 148.0.7778.280  
Node.js: 24.18.1  
V8: 14.8.178.38-electron.0  
xterm.js: 6.1.0-beta.291  
OS: Windows\_NT x64 10.0.26200

### Does this stop you from using Cursor

No - Cursor works, but with this issue

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 24, 2026, 9:58am UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/4 "2026-09-24T09:58:42Z")

</div>

Unlisted on September 24, 2026, 9:58am UTC



---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 24, 2026, 9:58am UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/5 "2026-09-24T09:58:45Z")

</div>

Hi,

Thanks for posting on the Cursor forum!

To help ensure most of our users can participate in discussions, this forum is currently English only.

If you’d like, you can edit your post to translate it into English. Once it meets our guidelines, it will be automatically relisted.

Thanks for understanding!

_Note: This is an automated detection system and sometimes makes mistakes. If your post is already in English, feel free to ignore this message, or just make a small edit and it will be reviewed again._

---

<div class="post-metadata">

**Author:** ![a658525722ff6e982429](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@a658525722ff6e982429](https://forum.cursor.com/u/a658525722ff6e982429)\
**Post date:** [September 24, 2026, 10:15am UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/8 "2026-09-24T10:15:17Z")

</div>

Original post transleted to english. Please consider it.

---

<div class="post-metadata">

**Author:** ![a658525722ff6e982429](https://avatars.discourse-cdn.com/v4/letter/a/6bbea6/32.png) [@a658525722ff6e982429](https://forum.cursor.com/u/a658525722ff6e982429)\
**Post date:** [September 24, 2026, 2:58pm UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/9 "2026-09-24T14:58:11Z")

</div>

Translation has been done. Please reactivate this post.

---

<div class="post-metadata">

**Author:** ![kevinn](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/kevinn/32/101206_2.png) [@kevinn](https://forum.cursor.com/u/kevinn)\
**Post date:** [September 24, 2026, 4:27pm UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/10 "2026-09-24T16:27:34Z")

</div>

Listed on September 24, 2026, 4:27pm UTC



---

<div class="post-metadata">

**Author:** ![Colin](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/colin/32/90452_2.png) [@Colin](https://forum.cursor.com/u/Colin)\
**Post date:** [September 24, 2026, 5:36pm UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/11 "2026-09-24T17:36:17Z")

</div>

Hey @a658525722ff6e982429, thanks for the report and for including the full Kaspersky event.

Cursor isn’t writing anything to your registry. The blocked command is a read-only `reg.exe query HKLM\SOFTWARE\Policies\Cursor\Cursor`. Cursor’s background agent process uses it to check whether your organization has set a device sign-in policy for Cursor. When Kaspersky blocks it, Cursor just treats the machine as unmanaged and keeps working normally, so nothing breaks.

This process runs when Remote Control is turned on for this computer. To stop the alerts, either:

1. Turn it off if you don’t use it: in the Agents Window settings, open Remote Control and switch off “Enable Remote Control for this computer”.
2. Or ask your Kaspersky administrator to add an exclusion for the “Registry Editor start from JScript” rule for `%APPDATA%\Cursor\User\globalStorage\anysphere.cursor-agent-worker\agent-cli\.local\share\cursor-agent\versions\*\` (use a wildcard, because the version folder changes on every update).

---

<div class="post-metadata">

**Author:** ![system](https://sea3.discourse-cdn.com/cursor1/user_avatar/forum.cursor.com/system/32/99069_2.png) [@system](https://forum.cursor.com/u/system)\
**Post date:** [September 26, 2026, 5:37pm UTC](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892/13 "2026-09-26T17:37:10Z")

</div>

Closed on September 26, 2026, 5:37pm UTC

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.
