Unable to run the Visual Studio Code installation exe file

Tone Kristin Larsen 0 Reputation points Microsoft Employee
2025-02-27T09:31:29.39+00:00

Trying to install Visual Studio Code on my laptop (Win11). I had it on my previous laptop, no installation problem back then.

I've downloaded the installation file as .exe and .zip. I've double-clicked the exe from File Explorer. A spinner appears in FE and then stops. Nothing happens, no error message. Same if I run it as admin. Rebooted laptop twice, no impact.

How can I get around this?

Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,101 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 33,381 Reputation points Microsoft Vendor
    2025-02-28T06:59:54.2466667+00:00

    Hi @Tone Kristin Larsen ,

    Are you using any 3rd-party program like antivirus, security management software which may block VS Code from installing? Try to disable them temporarily and test again.

    If there are some issues in system environment, the installation will fail as well. Try to update Windows OS, install all the pending update packages, and make sure that there are no Windows update errors.

    Also, please run CMD as administrator, run the DISM.exe /Online /Cleanup-image /Restorehealth command. Wait for it finishes running, run the sfc /scannow command. These two commands help fix the corrupted system files.

    If you changed any system settings or modified any system files, try to double check them, make sure that they won’t block VS Code from installing.

    If you still fail to install VS Code, please post this question on Github – vscode for better help.

    Best regards,

    Tianyu


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.