Windows 10: Claude Code not working in WSL on Windows computer

Discus and support Claude Code not working in WSL on Windows computer in Windows 10 News to solve the problem; [ATTACH]Claude Code is a useful way to work with a codebase directly from the terminal, but it can get messy when running inside WSL on Windows. If... Discussion in 'Windows 10 News' started by WinClub, Aug 27, 2026 at 11:52 PM.

  1. WinClub New Member

    Claude Code not working in WSL on Windows computer


    Claude Code not working in WSL on Windows computer claude-error.png
    Claude Code is a useful way to work with a codebase directly from the terminal, but it can get messy when running inside WSL on Windows. If Claude refuses to start, crashes, shows “command not found,” or gets stuck during login or installation, the problem is usually related to the WSL version, PATH, Node.js, or […]

    This article Claude Code not working in WSL on Windows computer first appeared on TheWindowsClub.com.

    read more...
     
  2. KavitaC Win User

    Error code: Wsl/ERROR_SERVICE_DOES_NOT_EXIST | WSL seems to be broken after upgrading to Windows 11

    Hi Microsoft Team,

    I recently upgraded to Windows 11 and attempted to install Docker. However, upon installation, I encountered difficulties launching Docker due to issues with WSL.

    WSL seems to be broken in my system.

    when I run below command in command prompt (admin mode) :

    wsl --list --verbose

    I get below error :

    The specified service does not exist as an installed service.

    Error code: Wsl/ERROR_SERVICE_DOES_NOT_EXIST

    Therefore, I uninstalled docker and WSL.

    Turned off below windows features:

    1. Hyper-V
    2. Virtual Machine Platform
    3. Windows HyperVisor Platform
    4. Windows SubSystem for Linux

    Rebooted.

    Turned on the above windows feature and installed Ubuntu 22.04.3 LTS from Microsoft Store.

    Rebooted.

    But its still not working.

    when I run below command again :

    wsl --list --verbose

    It still gives the same error.

    Could someone assist with this query, please ?
     
  3. Error code: Wsl/ERROR_NOT_FOUND

    If you (like me) have this problem and find this thread, a short summary (not a Tutorial) so far ( as of 24.11.2023 ).

    Please read the whole comment before trying any of it!

    • Github Link to the problem is: https://github.com/microsoft/WSL/issues/10782
    • Workaround:
      • Start WSL from an Elevated Terminal
      • So in "normal" language: Start your CMD/terminal with Admin Privileges then run the "WSL" command in this Terminal
    • Manual Fix:
      • Type "regedit" in the Windows search and start Windows Registry Editor
      • Search and delete:
      • HKEY_LOCAL_MACHINE\SOFTWARE\Classes\PackagedCom\ClassIndex\{A9B7A1B9-0671-405C-95F1-E0612CB4CE7E}
    • Official Fix:
     
    Julian Oberhofer, Aug 27, 2026 at 11:55 PM
    #3
  4. PaulinaKC Win User

    Claude Code not working in WSL on Windows computer

    WSL Remote Connection Issue with VS Code

    I am trying to use WSL on VS Code, but upon opening VS Code, I keep getting the following error messages:

    Unable to detect if server is already installed: Error: Failed to probe if server is already installed: code: Failed to probe if server is already installed: code: 4294967295, , Logon failure: the user has not been granted the requested logon type at this computer.

    [2023-09-26 21:23:29.110] Error code: Wsl/Service/CreateInstance/CreateVm/0x80070569

    I have tried addressing both error codes individually, and seemed to have some temporary success with code 4294967295 by trying several options:

    • uninstall and reinstall wsl ubuntu directly from microsoft store (rather than command line)
    • make sure my user is admin and has access
    • disable/reenable wsl by running powershell as admin and using the lines
      • DISM /online /disable-feature /featurename:VirtualMachinePlatform /norestart
      • DISM /online /disable-feature /featurename:Microsoft-Windows-Subsystem-Linux /norestart
      • and then enable-feature after restarting
    • reset winsock with netsh winsock reset
    • set hypervisor to start automatically with bcdedit /set hypervisorlaunchtype auto
    All of these fixes worked for about 24 hours or less, before returning to the same issue where I once again have to do one of those prompts and restart my computer. I really need a permanent solution so that I do not have to constantly restart my computer (I am using a Dell PC). Would greatly appreciate any help.
     
Thema:

Claude Code not working in WSL on Windows computer

Loading...
  1. Claude Code not working in WSL on Windows computer - Similar Threads - Claude Code working

  2. How to use Claude Code and OpenAI Codex remotely in Windows 11?

    in Windows 10 News
    How to use Claude Code and OpenAI Codex remotely in Windows 11?: [ATTACH]Claude Code and OpenAI Codex can do much more than simply answer coding questions. They can work with files, run commands, change projects, and handle longer development tasks. The problem is that some of these tasks take time, and you may not want to stay seated at...
  3. Unable to run Claude from VS Code on Windows computer

    in Windows 10 News
    Unable to run Claude from VS Code on Windows computer: [ATTACH]Integrating Claude into Visual Studio Code promises an intelligent coding assistant, but encountering errors where the extension fails to start, respond, or authenticate can disrupt your workflow. This issue is often frustrating because it halts development...
  4. How to run Claude Code Locally on PC for free

    in Windows 10 News
    How to run Claude Code Locally on PC for free: [ATTACH]Claude AI from Anthropic has been defining how AI advances for real use cases. Claude Code, an AI-coding and programming partner from Anthropic, is a great tool for writing code and fixing bugs. You can integrate the Claude Code into code editors with extensions. All...
  5. Error code: Wsl/ERROR_NOT_FOUND

    in Windows 10 Gaming
    Error code: Wsl/ERROR_NOT_FOUND: Windows installed the update KB5032339 and WSL 2.0.9.0, and since then, I can not access WSL.The error was the one indicated in the title of the question. I cannot work, because all of my work depends on WSL and I need docker desktop, which also depends on WSL.I searched...
  6. Error code: Wsl/ERROR_NOT_FOUND

    in Windows 10 BSOD Crashes and Debugging
    Error code: Wsl/ERROR_NOT_FOUND: Windows installed the update KB5032339 and WSL 2.0.9.0, and since then, I can not access WSL.The error was the one indicated in the title of the question. I cannot work, because all of my work depends on WSL and I need docker desktop, which also depends on WSL.I searched...
  7. WSL Not Working

    in Windows 10 Gaming
    WSL Not Working: Hello,My WSL is not working on my laptop. It crashes immediately after running the Ubuntu app and trying to launch it in the command and PowerShell prompts. I have turned off the hypervisor feature and turned it back on. I have done the same for the virtual environment...
  8. WSL Not Working

    in Windows 10 Software and Apps
    WSL Not Working: Hello,My WSL is not working on my laptop. It crashes immediately after running the Ubuntu app and trying to launch it in the command and PowerShell prompts. I have turned off the hypervisor feature and turned it back on. I have done the same for the virtual environment...
  9. WSL not working

    in Windows 10 Ask Insider
    WSL not working: WSL with Ubuntu 20.04 was working fine until I updated to version 20197.1000. After updating I'm unable to start a WSL shell or install a new distribution. I can't even access Linux folder in windows file explorer. I can't even install another version of Linux from the...
  10. GPU Compute, WSL Install and WSL Update arrive in WSL

    in Windows 10 News
    GPU Compute, WSL Install and WSL Update arrive in WSL: There are three thrilling new updates for the Windows Subsystem for Linux (WSL) in the new Windows Insider Preview Build 20150. The first is GPU compute: a feature that allows your Linux binaries to leverage your GPU, which makes it possible to do more machine learning/AI...