C

Cursor Installation Guide

Complete Cursor Setup Guide

Follow these steps to properly install and configure Cursor AI on your Windows machine

Automatic Process (Recommended)

  1. Step 1: Uninstall Cursor & Clear Local Storage

    Uninstall Cursor from Windows Settings or Control Panel. Then clear Cursor local storage from your browser by going to cursor.com, pressing F12, navigating to Application → Storage → Clear site data.

  2. Step 2: Reinstall Cursor

    Download and install a fresh copy from the official website

    Download Cursor

  3. Step 3: Run PowerShell Script

    Run the following script as Administrator in PowerShell to clean all Cursor data and generate a new Machine ID:

    # Run PowerShell as Administrator
    
    # Define folder paths
    $folders = @(
        "$env:APPDATA\\Cursor",
        "$env:LOCALAPPDATA\\cursor-updater",
        "$env:LOCALAPPDATA\\Programs\\cursor"
    )
    
    # Delete the folders if they exist
    foreach ($folder in $folders) {
        if (Test-Path $folder) {
            try {
                Remove-Item -Path $folder -Recurse -Force
                Write-Host "Deleted: $folder"
            } catch {
                Write-Host "Failed to delete: $folder - $_"
            }
        } else {
            Write-Host "Not found: $folder"
        }
    }
    
    # Generate new MachineGuid
    $newMachineGuid = [guid]::NewGuid().ToString()
    Write-Host "Generated new MachineGuid: $newMachineGuid"
    
    # Update Registry MachineGuid
    try {
        Set-ItemProperty -Path "HKLM:\\SOFTWARE\\Microsoft\\Cryptography" `
            -Name "MachineGuid" -Value $newMachineGuid -Type String -Force
        Write-Host "MachineGuid successfully updated."
    } catch {
        Write-Host "Failed to update MachineGuid - $_"
    }
    
  4. Step 4: Create New Account with Temp Email

    Use a temporary email for sign-up. Open the service, copy the address, sign up in Cursor, then verify with the code sent.

    📧 Open Temp‑Mail

Installation Complete! After following all steps, restart your computer and launch Cursor. You should now have a fresh installation with a new machine ID.

Manual Process

  1. Step 1: Clean Uninstall

    Manually uninstall Cursor from Windows Settings → Apps & Features. Then navigate to the following folders and delete them if they exist:

    • %APPDATA%\Cursor
    • %LOCALAPPDATA%\cursor-updater
    • %LOCALAPPDATA%\Programs\cursor
  2. Step 2: Registry Cleanup (Optional)

    If you want to reset the machine ID, open Registry Editor (regedit) and navigate to:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Cryptography

    Generate a new GUID and replace the MachineGuid value.

  3. Step 3: Fresh Install

    Download and install Cursor from the official website, then create a new account using a temporary email.

    Download Cursor

Manual process complete! This approach gives you more control but requires more technical knowledge of Windows file system and registry.