Skip to content

Commit 1d2a665

Browse files
authored
Revise troubleshooting guide for Visual Studio installation
Updated author information and modified troubleshooting steps for Visual Studio installation issues. Adjusted dates and added moniker ranges for better clarity.
1 parent ec662ee commit 1d2a665

1 file changed

Lines changed: 87 additions & 22 deletions

File tree

support/developer/visualstudio/installation/troubleshoot-installation-issues.md

Lines changed: 87 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
---
22
title: Troubleshoot installation and upgrade issues
33
description: Introduces resolutions for common issues with Visual Studio installation and upgrade.
4-
ms.date: 04/17/2025
5-
author: aartig13
6-
ms.author: aartigoyle
4+
ms.date: 11/4/2025
5+
author: jasonchlus
6+
ms.author: jasonchlus
77
ms.reviewer: meghaanand, v-jayaramanp, jagbal
88
ms.custom: sap:Installation\Setup, maintenance, or uninstall
99
---
@@ -25,7 +25,23 @@ Try the following possible resolutions that apply to a typical online installati
2525

2626
The first thing to check is whether or not the issue you're encountering is a known issue with the Visual Studio Installer that Microsoft is working on fixing.
2727

28-
To see if there's a workaround for your problem, check [Known Issues of Visual Studio 2019](/visualstudio/releases/2019/release-notes#-known-issues) and [Known Issues of Visual Studio 2022](/visualstudio/releases/2022/release-notes#-known-issues).
28+
::: moniker range="vs-2019"
29+
30+
To see if there's a workaround for your problem, check [Known Issues of Visual Studio 2019](/visualstudio/releases/2019/release-notes#-known-issues)
31+
32+
::: moniker-end
33+
34+
::: moniker range="vs-2022"
35+
36+
To see if there's a workaround for your problem, check [Known Issues of Visual Studio 2022](/visualstudio/releases/2022/release-notes#-known-issues)
37+
38+
::: moniker-end
39+
40+
::: moniker range="visualstudio"
41+
42+
To see if there's a workaround for your problem, check [Known Issues of Visual Studio 2022](/visualstudio/releases/vs18/release-notes#-known-issues)
43+
44+
::: moniker-end
2945

3046
#### 2. Try repairing Visual Studio
3147

@@ -41,7 +57,7 @@ If you encountered an issue when updating, try deleting the Visual Studio Instal
4157

4258
1. Close the Visual Studio Installer.
4359
1. Delete the Visual Studio Installer folder. Typically, the folder path is _C:\Program Files (x86)\Microsoft Visual Studio\Installer_.
44-
1. Run the Visual Studio Installer bootstrapper. You might find the bootstrapper in your _Downloads_ folder with a file name _VisualStudioSetup.exe_ (Visual Studio 2022) or _vs\_\<edition>*.exe_ (Visual Studio 2019 and previous versions). Or, you can download the bootstrapper from the download pages for [Visual Studio 2022](https://visualstudio.microsoft.com/downloads) or [Visual Studio 2019 and previous versions](https://visualstudio.microsoft.com/vs/older-downloads). Then, run the executable to reset your installation metadata.
60+
1. Run the Visual Studio Installer bootstrapper. You can get the bootstrapper from the [download page](https://visualstudio.microsoft.com/downloads), for previous bootstrapper versions see the [older downloads page](https://visualstudio.microsoft.com/vs/older-downloads), you can also find the bootstrapper manually in your _Downloads_ folder with a file name _VisualStudioSetup.exe_ or _vs\_\<edition>*.exe_. Then, run the executable to reset your installation metadata.
4561
1. Try to install or update Visual Studio again. If the Visual Studio Installer continues to fail, [report a problem to support](#5-report-the-problem-to-support).
4662

4763
#### 5. Report the problem to support
@@ -50,43 +66,61 @@ In some situations, when there are corrupted files, issues might require case-by
5066

5167
Follow these steps to submit the problem to Microsoft Support:
5268

53-
- For Visual Studio 2022:
69+
::: moniker range="vs-2019"
70+
71+
1. Collect your setup logs. See [How to get the Visual Studio installation logs](#collect-installation-logs-for-microsoft-support) for details.
72+
1. Open the Visual Studio Installer, and then select **Report a problem** to open the Visual Studio Feedback tool.
73+
1. Give your problem report a title, and provide relevant details. Select **Next** to go to the **Attachments** section, and then attach the generated log file (typically, the file is at `%TEMP%\vslogs.zip`).
74+
1. Select **Next** to review your problem report, and then select **Submit**.
75+
76+
::: moniker-end
5477

55-
1. Collect your setup logs. See [How to get the Visual Studio installation logs](#collect-installation-logs-for-microsoft-support) for details.
56-
1. Open the Visual Studio Installer, and then choose **Report a problem** to open the Visual Studio Feedback tool.
78+
::: moniker range="vs-2022"
5779

58-
:::image type="content" source="media/troubleshoot-installation-issues/vs-installer-report-problem.png" alt-text="Screenshot showing the Provide feedback button in the Visual Studio Installer." lightbox="media/troubleshoot-installation-issues/vs-installer-report-problem.png":::
80+
1. Collect your setup logs. See [How to get the Visual Studio installation logs](#collect-installation-logs-for-microsoft-support) for details.
81+
1. Open the Visual Studio Installer, and then choose **Report a problem** to open the Visual Studio Feedback tool.
5982

60-
1. Give your problem report a title, and provide the relevant details. The most recent setup log for the Visual Studio Installer is automatically added to the **Additional attachments** section of your problem report.
61-
1. Choose **Submit**.
83+
:::image type="content" source="media/troubleshoot-installation-issues/vs-installer-report-problem.png" alt-text="Screenshot showing the Provide feedback button in the Visual Studio Installer." lightbox="media/troubleshoot-installation-issues/vs-installer-report-problem.png":::
6284

63-
- For Visual Studio 2019 and previous versions:
85+
1. Give your problem report a title, and provide the relevant details. The most recent setup log for the Visual Studio Installer is automatically added to the **Additional attachments** section of your problem report.
86+
1. Choose **Submit**.
6487

65-
1. Collect your setup logs. See [How to get the Visual Studio installation logs](#collect-installation-logs-for-microsoft-support) for details.
66-
1. Open the Visual Studio Installer, and then select **Report a problem** to open the Visual Studio Feedback tool.
67-
1. Give your problem report a title, and provide relevant details. Select **Next** to go to the **Attachments** section, and then attach the generated log file (typically, the file is at `%TEMP%\vslogs.zip`).
68-
1. Select **Next** to review your problem report, and then select **Submit**.
88+
::: moniker-end
89+
90+
::: moniker range="visualstudio"
91+
92+
1. Collect your setup logs. See [How to get the Visual Studio installation logs](#collect-installation-logs-for-microsoft-support) for details.
93+
1. Open the Visual Studio Installer, and then choose **Report a problem** to open the Visual Studio Feedback tool.
94+
95+
:::image type="content" source="media/troubleshoot-installation-issues/vs-installer-report-problem.png" alt-text="Screenshot showing the Provide feedback button in the Visual Studio Installer." lightbox="media/troubleshoot-installation-issues/vs-installer-report-problem.png":::
96+
97+
1. Give your problem report a title, and provide the relevant details. The most recent setup log for the Visual Studio Installer is automatically added to the **Additional attachments** section of your problem report.
98+
1. Choose **Submit**.
99+
100+
::: moniker-end
69101

70102
#### 6. Remove all Visual Studio installation files
71103

72104
As a last resort, you can remove all Visual Studio installation files and product information:
73105

74106
1. [Remove all with InstallCleanup.exe](/visualstudio/install/uninstall-visual-studio#remove).
75-
1. Rerun the Visual Studio Installer bootstrapper. You might find the bootstrapper in your _Downloads_ folder with a file name _VisualStudioSetup.exe_ (Visual Studio 2022) or _vs_\<edition>*.exe_ (Visual Studio 2019 and previous versions). Or, you can download the bootstrapper from the download pages for [Visual Studio 2022](https://visualstudio.microsoft.com/downloads) or [Visual Studio 2019 and previous versions](https://visualstudio.microsoft.com/vs/older-downloads).
107+
1. Rerun the Visual Studio Installer bootstrapper. You can get the bootstrapper from the [download page](https://visualstudio.microsoft.com/downloads), for previous bootstrapper versions see the [older downloads page](https://visualstudio.microsoft.com/vs/older-downloads), you can also find the bootstrapper manually in your _Downloads_ folder with a file name _VisualStudioSetup.exe_ or _vs\_\<edition>*.exe_. Then, run the executable to reset your installation metadata.
76108
1. Try to reinstall Visual Studio.
77109

78-
#### 7. Roll back to a previous install (for Visual Studio 2022 only)
110+
::: moniker range="vs-2022"
79111

80-
Before you try to roll back, learn more about the [rollback feature in Visual Studio](https://aka.ms/vs/rollback).
112+
#### 7. Rollback to a previous install
81113

82-
If none of the previous steps helped you successfully upgrade Visual Studio, you can try to roll back to your previously installed version. Since Visual Studio 2022 version 17.4, you can roll back to your previously installed version if your original version was on the current channel version 17.1.7 or higher, or on the 17.0 Fall 2021 LTSC channel 17.0.10 or higher.
114+
Before you try to rollback, learn more about the [rollback feature in Visual Studio](https://aka.ms/vs/rollback).
83115

84-
You can roll back to your previously installed version by using the Visual Studio Installer or by using the command line.
116+
If none of the previous steps helped you successfully update Visual Studio, you can try to rollback to your previously installed version. Since Visual Studio 2022 version 17.4, you can rollback to your previously installed version if your original version was on the current channel version 17.1.7 or higher, or on the 17.0 Fall 2021 LTSC channel 17.0.10 or higher.
117+
118+
You can rollback to your previously installed version by using the Visual Studio Installer or by using the command line.
85119

86120
> [!IMPORTANT]
87121
> If you're in an organization and are using a layout to update Visual Studio, your IT Administrator is expected to maintain the previous packages in the layout if the client is expected to be able to roll back. Also, rollback may be disabled or your rollback attempt may be undone if you're in an organization that has security compliance or software updating requirements. Contact your IT Administrator for further details.
88122
89-
To roll back with the Visual Studio Installer, follow these steps:
123+
To rollback with the Visual Studio Installer, follow these steps:
90124

91125
1. Launch the **Visual Studio Installer** on your computer.
92126
1. In the installer, look for the edition of Visual Studio that you installed.
@@ -96,6 +130,37 @@ To roll back with the Visual Studio Installer, follow these steps:
96130
:::image type="content" source="media/troubleshoot-installation-issues/rollback-from-previous-version.png" alt-text="Screenshot of the Rollback to previous version option." lightbox="media/troubleshoot-installation-issues/rollback-from-previous-version.png":::
97131
1. Select **OK** to confirm.
98132

133+
To rollback with the command line:
134+
135+
You can rollback the update programmatically by using the installer on the client machine and passing in the rollback command alongside the installation path instance. For more information, please visit [Use command-line parameters to install Visual Studio | Microsoft Learn.](/visualstudio/install/use-command-line-parameters-to-install-visual-studio)
136+
137+
::: moniker-end
138+
139+
::: moniker range="visualstudio"
140+
141+
#### 7. Rollback to a previous install
142+
143+
If none of the previous steps helped you successfully update Visual Studio, you can rollback to your previously installed version by using the Visual Studio Installer or the command line.
144+
145+
> [!IMPORTANT]
146+
> If you're in an organization and are using a layout to update Visual Studio, your IT Administrator is expected to maintain the previous packages in the layout if the client is expected to be able to roll back. Also, rollback may be disabled or your rollback attempt may be undone if you're in an organization that has security compliance or software updating requirements. Contact your IT Administrator for further details.
147+
148+
To rollback with the Visual Studio Installer, follow these steps:
149+
150+
1. Launch the **Visual Studio Installer** on your computer.
151+
1. In the installer, look for the edition of Visual Studio that you installed.
152+
1. Select **More**.
153+
1. Select **Rollback to previous version**.
154+
155+
:::image type="content" source="media/troubleshoot-installation-issues/rollback-from-previous-version.png" alt-text="Screenshot of the Rollback to previous version option." lightbox="media/troubleshoot-installation-issues/rollback-from-previous-version.png":::
156+
1. Select **OK** to confirm.
157+
158+
To rollback with the command line:
159+
160+
You can rollback the update programmatically by using the installer on the client machine and passing in the rollback command alongside the installation path instance. For more information, please visit [Use command-line parameters to install Visual Studio | Microsoft Learn.](/visualstudio/install/use-command-line-parameters-to-install-visual-studio)
161+
162+
::: moniker-end
163+
99164
#### 8. Contact our live chat
100165

101166
If none of the previous steps help you successfully install or upgrade Visual Studio, contact us by using our [**live chat**](https://visualstudio.microsoft.com/vs/support/#talktous) support option (English only) for further assistance.

0 commit comments

Comments
 (0)