Unable to install Visual Studio.

eshrimp 20 Reputation points
2025-01-27T01:43:14.6333333+00:00

Trying to install visual studio, but it just sits here for almost a minute and then closes with nothing further provided. Visual studio doesn't show up as an application anywhere.

{332515D2-0762-4E6C-81AA-BEA7C0DADAF0}

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,399 questions
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,081 questions
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 32,696 Reputation points Microsoft Vendor
    2025-01-27T09:23:33.7+00:00

    Hello @eshrimp ,

    Welcome to Microsoft Q&A forum.

    The VS Installer can be installed successfully, but the VS failed to be installed. Either something blocks the installation, or there’s something wrong in the system environment. You can try following methods to narrow this issue down.

    1. Open CMD as administrator, run DISM.exe /Online /Cleanup-image /Restorehealth command, wait for it finishes running, run sfc /scannow command. After that try to reinstall VS. These two commands help to repair the corrupted or missing system files.
    2. Put the setup file into a new empty folder (a different location, with simple directory structure) and then run it as administrator.
    3. Navigate to C:\Program Files (x86)\Microsoft Visual Studio\Installer folder, find and run the vs_installershell.exe file as administrator, see if this works.
    4. Check the limitations on your machine, such as antivirus, group policy and security management software. Make sure that they won’t block VS from installing.
    5. Update Windows OS and make sure that there’s no Windows Update error.
    6. Reboot your machine, directly navigate to %Temp% folder. Rename the %Temp% folder from "Temp" to "Temp_backup" and install VS again.
    7. Try to download and run the troubleshooter tool, follow the wizard to uninstall/reinstall VS.
    8. Here’s a similar thread for your reference: Visual Studio Setup installer does not open.

    Please feel free to let us know the results.

    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.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

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.