You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Copy file name to clipboardExpand all lines: support/developer/visualstudio/installation/troubleshoot-installation-issues.md
+87-22Lines changed: 87 additions & 22 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
1
---
2
2
title: Troubleshoot installation and upgrade issues
3
3
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
7
7
ms.reviewer: meghaanand, v-jayaramanp, jagbal
8
8
ms.custom: sap:Installation\Setup, maintenance, or uninstall
9
9
---
@@ -25,7 +25,23 @@ Try the following possible resolutions that apply to a typical online installati
25
25
26
26
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.
27
27
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
29
45
30
46
#### 2. Try repairing Visual Studio
31
47
@@ -41,7 +57,7 @@ If you encountered an issue when updating, try deleting the Visual Studio Instal
41
57
42
58
1. Close the Visual Studio Installer.
43
59
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.
45
61
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).
46
62
47
63
#### 5. Report the problem to support
@@ -50,43 +66,61 @@ In some situations, when there are corrupted files, issues might require case-by
50
66
51
67
Follow these steps to submit the problem to Microsoft Support:
52
68
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
54
77
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"
57
79
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.
59
82
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":::
62
84
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**.
64
87
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
69
101
70
102
#### 6. Remove all Visual Studio installation files
71
103
72
104
As a last resort, you can remove all Visual Studio installation files and product information:
73
105
74
106
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.
76
108
1. Try to reinstall Visual Studio.
77
109
78
-
#### 7. Roll back to a previous install (for Visual Studio 2022 only)
110
+
::: moniker range="vs-2022"
79
111
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
81
113
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).
83
115
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.
85
119
86
120
> [!IMPORTANT]
87
121
> 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.
88
122
89
-
To roll back with the Visual Studio Installer, follow these steps:
123
+
To rollback with the Visual Studio Installer, follow these steps:
90
124
91
125
1. Launch the **Visual Studio Installer** on your computer.
92
126
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:
96
130
:::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":::
97
131
1. Select **OK** to confirm.
98
132
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
+
99
164
#### 8. Contact our live chat
100
165
101
166
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