# Kaspersky Blocking Cursor from Reading Windows Registry

**URL:** <https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877>\
**Category:** Help\
**Tags:** windows, remote-control\
**Created:** [October 23, 2026, 7:03am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877 "2026-10-23T07:03:40Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![jchannexifyhk](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jchannexifyhk](https://forum.cursor.com/u/jchannexifyhk)\
**Post date:** [October 23, 2026, 7:03am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877/1 "2026-10-23T07:03:40Z")

</div>

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

Cursor IDE

### Describe the Bug

I am having the same issue as the below post:

> [@Kaspersky blocks Cursor from querying Windows registry](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892):
>
> 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\…

The alert pops up around every 5 minutes. Following the instructions I cannot find the “Enable Remote Control for this computer” in any tab of Cursor app settings (gear icon). Turning off Remote Desktop on Windows does not stop the alerts either (screenshot). IT does not want to add an exception for the process.

### Steps to Reproduce

Kaspersky report:

```auto
Event: Process action blocked
User: ...\...
User type: Initiator
Application name: node.exe
Application path: C:\Users\...\AppData\Roaming\Cursor\User\globalStorage\anysphere.cursor-agent-worker\agent-cli\.local\share\cursor-agent\versions\2026.10.22-27dcf5f
Rule: Start of Registry editor from the JScript script
Source process: c:\users\...\appdata\roaming\cursor\user\globalstorage\anysphere.cursor-agent-worker\agent-cli\.local\share\cursor-agent\versions\2026.10.22-27dcf5f\index.js
Source process hash: d6794834b28f88f328e4090a2c3480bc8fa7c43afe6f6d96a937148a3fc45735
Target process: C:\Windows\System32\reg.exe
Target process hash: ef37663b44ac66920c6f33694deea01acb78ae3f3012884819373fa04c3eb5f0
Target object: object://cmdline:reg.exe query HKLM\SOFTWARE\Policies\Microsoft\Cursor
Result description: Blocked
Type: Anomaly
Name: Start of Registry editor from the JScript script
Precision: Heuristic analysis
Object type: Process
Object name: index.js
Object path: C:\Users\...\AppData\Roaming\Cursor\User\globalStorage\anysphere.cursor-agent-worker\agent-cli\.local\share\cursor-agent\versions\2026.10.22-27dcf5f

```

### Expected Behavior

Can you provide a more detailed walkthrough on disabling Cursor from reading the registry?

### Screenshots / Screen Recordings

 ![Screenshot 2026-10-23 145614.png](https://us1.discourse-cdn.com/cursor1/original/3X/2/1/21b1b3348c78f9fe622ab8843e3bace391377a91.png)

### Operating System

Windows 10/11

### Version Information

Version: 3.26.13 (user setup)  
VS Code Extension API: 1.128.0  
Commit: 3bfec373749d3d4a53a151283022d49743ab50b0  
Date: 2026-10-20T01:50:17.051Z  
Layout: Agent Window  
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:** ![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:** [October 23, 2026, 10:27am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877/6 "2026-10-23T10:27:00Z")

</div>

Hey @jchannexifyhk,

Cursor isn’t changing your registry. The blocked command is a read-only `reg.exe query` that checks whether your organization has set a sign-in policy for Cursor. It runs each time the background Remote Control worker refreshes its session. If Kaspersky blocks it, Cursor just treats the machine as having no policy and keeps working, which is why nothing breaks.

In recent versions the setting from the earlier thread has moved. “Enable Remote Control for this computer” now only controls registering this machine, so switching it off won’t stop the worker. To stop the alerts:

1. In the Agent Window, open Cursor Settings (gear icon).
2. Go to the Agents tab and scroll to the Self-Hosted Workers section.
3. Turn off “Enable local self-hosted workers”.
4. If alerts still appear after a few minutes, fully quit and reopen Cursor.

You can also type “self-hosted” in the settings search box to jump straight to it. Note that this turns off running cloud agents on this computer and controlling it from your other devices, so only do it if you don’t use those.

If you do need that feature, the other route is an exclusion in Kaspersky for the “Start of Registry editor from the JScript script” rule, scoped to `%APPDATA%\Cursor\User\globalStorage\anysphere.cursor-agent-worker\agent-cli\.local\share\cursor-agent\versions\*\index.js` (use a wildcard, because the version folder changes with every update).

This is the same behavior discussed in [this earlier thread](https://forum.cursor.com/t/kaspersky-blocks-cursor-from-querying-windows-registry/172892), with the updated location of the setting.

---

<div class="post-metadata">

**Author:** ![jchannexifyhk](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jchannexifyhk](https://forum.cursor.com/u/jchannexifyhk)\
**Post date:** [October 26, 2026, 1:51am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877/8 "2026-10-26T01:51:05Z")

</div>

I can’t find “Self-Hosted Workers” section in “Agents” tab or after typing “self-hosted” in the search box. I have tried updating to Cursor version 3.27.12 but to no avail. Am I looking at the right location?

 ![image](https://us1.discourse-cdn.com/cursor1/original/3X/b/9/b995819b0e9d072224ff48e723c0c3ef0f125beb.png)

---

<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:** [October 26, 2026, 10:10am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877/11 "2026-10-26T10:10:43Z")

</div>

Hi @jchannexifyhk, you were looking in the right place. That section doesn’t show for you because your team’s Cursor settings don’t have Remote Control or self-hosted workers turned on, so the app hides those controls. The background worker is still being started anyway, so right now there’s no switch on your side that stops it. Sorry, the settings steps above don’t apply to your account. This is a known issue the team is aware of.

In the meantime, starting Cursor with the worker extension disabled should keep it from launching:

1. Fully quit Cursor. In Task Manager, end any node.exe whose path contains anysphere.cursor-agent-worker (or just restart the PC).
2. Start Cursor from a terminal or a shortcut with: `Cursor.exe --disable-extension anysphere.cursor-agent-worker`
3. Use it as normal for 15 minutes or so and let me know whether the Kaspersky alerts stop.

The Kaspersky exclusion mentioned above is still the other option if your IT team reconsiders.

---

<div class="post-metadata">

**Author:** ![jchannexifyhk](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jchannexifyhk](https://forum.cursor.com/u/jchannexifyhk)\
**Post date:** [October 27, 2026, 3:24am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877/12 "2026-10-27T03:24:32Z")

</div>

Thanks Colin, after applying option `--disable-extension anysphere.cursor-agent-worker` to my Start Menu shortcuts, the Kaspersky alert no longer pops up.

Not directly related, for some reason, my Start Menu has two different shortcut files (one in a folder, one out of folder), setting both of them to have the option in case Windows mixes them up in the pinned menu. (`"C:\Users\...\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Cursor\Cursor.lnk"` and `"C:\Users\...\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Cursor.lnk"`)

---

<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:** [October 29, 2026, 3:24am UTC](https://forum.cursor.com/t/kaspersky-blocking-cursor-from-reading-windows-registry/175877/13 "2026-10-29T03:24:48Z")

</div>

Closed on October 29, 2026, 3:24am UTC

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