Repair Visual Studio

Sometimes your Visual Studio installation becomes damaged or corrupted. A repair can fix this.

  1. Find the Visual Studio Installer on your computer.

    For example, on a computer running Windows 10 Anniversary Update or later, select Start, and then scroll to the letter V, where it's listed as Visual Studio Installer.

    Note

    On some computers, the Visual Studio Installer might be listed under the letter "M" as the Microsoft Visual Studio Installer.

    Alternatively, you can find the Visual Studio Installer in the following location: C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe

  2. Open the installer, choose More, and then choose Repair.

    Repair Visual Studio from the Visual Studio Installer

    Note

    Repairing Visual Studio will reset the environment. Local customizations like per-user extensions installed without elevation, user settings, and profiles will be removed. Your synchronized settings such as themes, colors, key bindings will be restored.

    Tip

    The Repair option appears only for installed instances of Visual Studio. If you do not see the Repair option, chances are that you've selected More in a version that's listed in the Visual Studio Installer as "Available" rather than "Installed".

  1. Find the Visual Studio Installer on your computer.

    For example, on a computer running Windows 10, select Start, and then scroll to the letter V, where it's listed as Visual Studio Installer.

    Open the Visual Studio Installer

    Note

    You can also find the Visual Studio Installer in the following location:

    C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe

    You might have to update the installer before continuing. If so, follow the prompts.

  2. In the installer, look for the edition of Visual Studio that you installed. Next, choose More, and then choose Repair.

    Repair Visual Studio 2019

    Note

    Repairing Visual Studio will reset the environment. Local customizations like per-user extensions installed without elevation, user settings, and profiles will be removed. Your synchronized settings such as themes, colors, key bindings will be restored.

    Tip

    The Repair option appears only for installed instances of Visual Studio. If you do not see the Repair option, chances are that you've selected More in a version that's listed in the Visual Studio Installer as "Available" rather than "Installed".

Get support

Sometimes, things can go wrong. If your Visual Studio installation fails, see Troubleshoot Visual Studio installation and upgrade issues for step-by-step guidance.

We also offer a live chat (English only) support option for installation-related issues.

Here are a few more support options:

See also