A PowerShell script to centrally manage (disable or enable) automatic updates for the Cursor IDE on Windows systems.
Last Updated: November 2025
- π Quick Start
- βοΈ What This Script Does
- π Requirements
- π οΈ Features
- π Usage Guide
- π§ How It Works
β οΈ Important Notes- β Troubleshooting
- ποΈ Uninstallation
- π License
**Run command into PowerShell **
irm https://raw.githubusercontent.com/zpratikpathak/Disable-Cursor-Update-Windows/home/CursorUpdater.ps1 | iexThis command will:
- Execute it immediately
- Present you with the interactive menu
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
irm https://raw.githubusercontent.com/zpratikpathak/Disable-Cursor-Update-Windows/home/CursorUpdater.ps1 | iexDownload and run locally:
# Navigate to the directory containing CursorUpdater.ps1
cd C:\Path\To\CursorUpdate
# Run the script
.\CursorUpdater.ps1Requirements:
- Administrator privileges (script will auto-elevate if needed)
This script provides a menu-driven interface to manage Cursor IDE updates by modifying the application's settings.json file for one or more users:
- Toggle updates for a single user - Lists all available users and allows you to enable/disable updates individually
- Disable updates for all users - Applies update restrictions across all user profiles
- Enable updates for all users - Removes update restrictions for all user profiles
The script works by:
- DISABLE: Adds/sets
"update.mode": "none"and"update.enableWindowsBackgroundUpdates": falseinsettings.json - ENABLE: Removes those specific keys from
settings.json
- Windows 10 or later (Windows 11 recommended)
- Administrator privileges - Script will auto-elevate via UAC prompt
- Cursor IDE installed - At least one user profile should have Cursor configured
- PowerShell 5.1 or later - Native to Windows 10+
β
Interactive Menu Interface - User-friendly menu-driven control panel
β
Auto-Elevation - Automatically requests admin rights if needed
β
Per-User Management - Disable/enable updates for individual users
β
Bulk Operations - Apply settings to all users at once
β
Status Display - View current update status for each user
β
Error Handling - Graceful error handling with informative messages
β
Color-Coded Output - Easy-to-read colored console output
β
Robust JSON Parsing - Safely handles Cursor's settings.json file
When you run the script, you'll see the main control panel with these options:
*** Cursor IDE Updater Control Panel (settings.json method) ***
Please choose an option:
[1] [TOGGLE] Disable/Enable Update for a SINGLE user
[2] [DISABLE ALL] Disable Updates for ALL users
[3] [ENABLE ALL] Enable Updates for ALL users
[Q] [QUIT] Quit
Enter your choice
Steps:
- Select option
[1]from the main menu - The script displays all available user profiles with their current update status
- Select the user number you want to toggle
- The script automatically enables or disables updates based on the current status
- Press Enter to return to the user selection menu
- Press
Cto return to the main menu
Status Indicators:
- π’ ENABLED - Updates are currently allowed
- π‘ DISABLED - Updates are currently blocked
- βͺ ENABLED (Default) - No custom settings configured yet
- β UNKNOWN - Error reading status
Steps:
- Select option
[2]from the main menu - The script applies update restrictions to all user profiles
- Success messages will display for each user
- Press Enter to return to the main menu
Steps:
- Select option
[3]from the main menu - The script removes update restrictions from all user profiles
- Success messages will display for each user
- Press Enter to return to the main menu
The script modifies Cursor's settings file located at:
C:\Users\<USERNAME>\AppData\Roaming\Cursor\User\settings.json
When disabling updates, the script:
- Locates or creates the
settings.jsonfile - Parses the JSON content
- Sets
"update.mode": "none" - Sets
"update.enableWindowsBackgroundUpdates": false - Saves the modified JSON back to the file
When enabling updates, the script:
- Locates the
settings.jsonfile - Parses the JSON content
- Removes the
"update.mode"key - Removes the
"update.enableWindowsBackgroundUpdates"key - Saves the modified JSON back to the file
- Administrator Required: The script automatically requests admin privileges. You'll see a UAC prompt.
- Cursor Must Run: Changes take effect when Cursor reads its settings.json file. Restart Cursor after making changes.
- JSON Comments: The script cannot parse settings.json files that contain JSON comments (
//). Remove comments if encountered. - System Users Excluded: System-level users (Default, Public, All Users) are automatically excluded from the user list.
- Backup Recommended: Consider backing up your
settings.jsonbefore running this script on critical systems.
The script will automatically attempt to elevate itself. If you see a UAC (User Account Control) prompt:
- Click "Yes" to allow the script to run as Administrator
- If blocked by policy, run PowerShell as Administrator manually first
Solution: Remove JSON comments from the settings.json file:
- Open
C:\Users\<USERNAME>\AppData\Roaming\Cursor\User\settings.jsonin a text editor - Remove any lines starting with
// - Save the file and try again
Solution: Restart Cursor IDE:
- Close Cursor completely
- Open Cursor again
- Your update settings should now be applied
Possible causes:
- Cursor is not installed for any user
- User profiles are in non-standard locations
- Insufficient permissions
Solution: Ensure Cursor is installed and run the script with full Administrator privileges
Solution:
- Open PowerShell as Administrator
- Run the script directly:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser .\CursorUpdater.ps1
There's nothing to uninstall! This script doesn't modify system files or install applications. To revert changes:
- Run the script again
- Select
[3] [ENABLE ALL]to re-enable updates for all users - Or manually delete the script file
To restore Cursor to default update settings:
- Run the script as Administrator
- Select
[3] [ENABLE ALL]to enable updates for all users
This project is licensed under the MIT License. See the LICENSE file for details.
Repository: zpratikpathak/Disable-Cursor-Update-Windows
Author: Pratik Pathak
Version: 2.3
Last Updated: November 2025