How to Fix the NVM for Windows `NVM_SYMLINK` Activation…
    Neura MarketNeura Market/DeepSeek
    ChatGPTChatGPTClaudeClaudeGeminiGeminiCursorCursorGrokGrokPerplexityPerplexityDeepSeekDeepSeek
    CoPilotCoPilotStable DiffusionStable DiffusionMidjourneyMidjourney
    View All Directories
    OverviewRulesPromptsMCPsAgentsGamesBlogVideosGuidesCoursesCommunityTrending
    DeepSeekBlogHow to Fix the NVM for Windows `NVM_SYMLINK` Activation Error
    Back to Blog
    How to Fix the NVM for Windows `NVM_SYMLINK` Activation Error
    javascript

    How to Fix the NVM for Windows `NVM_SYMLINK` Activation Error

    Vatsal Trivedi March 4, 2026
    0 views

    If you're using NVM for Windows and see the following error: nvm enabled activation...

    If you're using NVM for Windows and see the following error:

    nvm enabled activation error:
    NVM_SYMLINK is set to a physical file/directory at C:\Program Files\nodejs
    Please remove the location and try again,
    or select a different location for NVM_SYMLINK.
    

    You're not alone. This is a common issue when switching from a traditional Node.js installation to NVM.

    This guide explains the root cause and provides a guaranteed step-by-step fix.


    Why This Error Happens

    When Node.js is installed using the official Windows installer, it creates this directory:

    C:\Program Files\nodejs
    

    However, NVM for Windows uses this same path as a symbolic link (NVM_SYMLINK) to dynamically switch between Node versions.

    If a physical directory already exists there, NVM cannot override it — and activation fails.


    Step-by-Step Fix (Guaranteed Method)

    Step 1: Close All Node-Related Applications

    Before making changes:

    • Close all terminal windows
    • Close VS Code or any IDE
    • Stop any running Node.js applications

    This prevents file locking issues.


    Step 2: Open Command Prompt as Administrator

    1. Press Start
    2. Type cmd
    3. Right-click → Run as Administrator

    Administrator privileges are required because we are modifying Program Files.


    Step 3: Take Ownership of the Directory

    Windows may block deletion due to TrustedInstaller permissions.

    Run:

    takeown /f "C:\Program Files\nodejs" /r /d y
    

    Then grant full permissions:

    icacls "C:\Program Files\nodejs" /grant %username%:F /t
    

    Step 4: Kill Any Running Node Processes

    taskkill /f /im node.exe
    taskkill /f /im npm.exe
    

    This ensures no processes are locking files.


    Step 5: Delete the Existing Node Directory

    rmdir /s /q "C:\Program Files\nodejs"
    

    Command flags explained:

    • /s → Deletes all subdirectories and files
    • /q → Suppresses confirmation prompts

    Still Getting “Access is Denied”?

    Open PowerShell as Administrator and run:

    Remove-Item "C:\Program Files\nodejs" -Recurse -Force
    

    Fallback Method (If Files Are Locked)

    If the directory still refuses to delete:

    1. Restart your system
    2. Do not open any applications
    3. Immediately open Command Prompt as Administrator
    4. Run:
    rmdir /s /q "C:\Program Files\nodejs"
    

    This resolves most background file lock issues.


    Re-Enable NVM

    Once the directory is removed:

    nvm on
    

    Then install and activate a Node version:

    nvm install 18
    nvm use 18
    node -v
    

    You should now see the installed Node version.


    Best Practice When Migrating to NVM

    If you're switching from a direct Node installation to NVM:

    1. Uninstall Node.js from Control Panel first
    2. Manually verify that C:\Program Files\nodejs is deleted
    3. Then install and configure NVM

    This prevents activation conflicts entirely.


    Final Thoughts

    This error occurs because NVM relies on symbolic linking, and Windows does not allow it to overwrite an existing physical directory.

    Following the above steps will completely resolve the NVM_SYMLINK activation error in most Windows environments.

    Tags

    javascriptnodetoolingtutorial

    Comments

    More Blog

    View all
    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught megemma

    Five Gemma-4 models, one accelerator: what porting E2B 31B to AWS Inferentia2 taught me

    I ported the whole Gemma-4 family — E2B, E4B, 12B, 31B, and the 26B-A4B MoE — to run on...

    X
    xbill
    Hey DEV, I'm Tobore. Let's actually connect.community

    Hey DEV, I'm Tobore. Let's actually connect.

    Hey DEV, I'm Tobore. Let's actually connect. I've been on here for a while now, mostly writing and...

    L
    Laurina Ayarah
    I burned through thousands of AI tokens. Then a friend did it for freeai

    I burned through thousands of AI tokens. Then a friend did it for free

    (yep, kinda clickbait, just for the funsies 😊) At the beginning of the year, I relaunched my...

    P
    Paulo Henrique
    Claude might be saturating your machineai

    Claude might be saturating your machine

    My laptop was sitting idle with the fan at full tilt. Nothing was running that I knew of. The culprit...

    S
    Sidhant Panda
    Automated GitHub Code Reviews Using Google Geminigithubactions

    Automated GitHub Code Reviews Using Google Gemini

    I Built a Thing! TL;DR — Google Gemini-based Pull Request reviews and Issue Triaging for...

    D
    Darren "Dazbo" Lester
    What is an "agentic harness," actually?ai

    What is an "agentic harness," actually?

    I've been hearing the word "harness" thrown around a lot lately. I assumed it just meant "the IDE" or...

    T
    Tilde A. Thurium

    Stay up to date

    Get the latest DeepSeek prompts, rules, and resources delivered to your inbox weekly.

    Neura Market LogoNeura Market

    Discover the best AI prompts, plugins, and resources for DeepSeek and more.

    Content Types

    • Rules
    • Prompts
    • MCPs
    • Agents
    • Guides

    Platforms

    • ChatGPT Directory
    • Claude Directory
    • Gemini Directory
    • Cursor Directory
    • Grok Directory
    • Perplexity Directory
    • DeepSeek Directory
    • CoPilot Directory
    • Stable Diffusion Directory
    • Midjourney Directory
    • All Directories

    Resources

    • Blog
    • Documentation
    • Help Center
    • Marketplace

    Legal

    • Privacy Policy
    • Terms of Service

    © 2026 Neura Market. All rights reserved.

    |

    Not affiliated with any AI platform vendors.

    Neura Market

    Custom AI Systems & Services

    Our team of experienced AI builders will help build custom AI systems, workflows, and solutions for your business.

    Request custom work

    Ready-made automations for this

    Workflows from the Neura Market marketplace related to this DeepSeek resource

    • Automate Blog Content Creation with Notion MCP, DeepSeek AI, and WordPressn8n · $9.99 · Related topic
    • Automate CRM Data Analysis with Dual-AI Verification Using DeepSeek Modelsn8n · $9.99 · Related topic
    • Generate AI Videos from Scripts with DeepSeek, Synthesia, and Together.ain8n · $24.99 · Related topic
    • Compare Multi-Period Financial Data from Google Sheets with DeepSeek AI Analysisn8n · $14.99 · Related topic
    Browse all workflows