-
Partition Wizard
-
Partition Manager
- How to Repair Visual Studio 2022 Installation Error on Windows 10
By Cici | Follow |
Last Updated January 18, 2022
Visual Studio is an integrated development environment (IDE) used to develop computer programs, websites, mobile apps, etc. However, some people encounter the Visual Studio 2022 installation error when installing it. How to repair Visual Studio 2022 installation error? Here, MiniTool Partition Wizard will tell you that.
I’ve been unable to install Visual Studio Professional 2022 — I get the “preparing the installer” dialog, which appears to download and update the installer, then the window disappears and the main Visual Studio installer never appears.https://docs.microsoft.com/
Why are some Windows 10 users unable to install Visual Studio 2022? The Visual Studio installation error may be caused by various reasons such as corrupted system files, disk errors, etc. So, how to repair Visual Studio 2022 installation error? There are three methods below, and you can choose one of them to solve this problem.
Method 1: Disable Third-Party Antivirus Programs Temporarily
Sometimes, third-party antivirus programs may block the installation of certain applications to protect your PC from potential threats. In this case, disabling or removing third-party antivirus programs may repair the Visual Studio 2022 installation error on Windows 10.
If you use Windows 10’s built-in Windows Security, you can also disable antivirus by following this post “How to Disable Antivirus on Windows 10”. But before that, you should make sure the Visual Studio application you want to install is safe.
Method 2: Run an SFC Scan
The installation error might be caused by corrupt system files, so how to repair Visual Studio 2022 installation error? The second method is to use the SFC (System File Checker) tool to scan and fix your system files. How to do that? Here is the complete guide:
Step 1: Press the Win + S key, and type cmd in the search box. Then, right-click Command Prompt and choose Run as administrator.

Step 2: Type sfc /scannow in the elevated Command Prompt and press the Enter key.

After that, the corrupt system files will be found and replaced. Then, you can try to install Visual Studio 2022 again to check if the error is fixed.
Method 3: Check Disk
If the disk you want to use to install Visual Studio 2022 has errors, it may trigger the Visual Studio 2022 installation error. In this case, you can try to run Windows inbuilt CHKDSK utility to scan and fix the hard disk. Here is how to do that:
Step 1: Follow Step 1 in Method 2 to open Command Prompt.
Step 2: Type chkdsk *:/r and press the Enter key. Then, the CHKDSK utility will automatically start scanning and fixing your hard disk. (* is the drive letter of the hard drive.)
Tip: Both chkdsk /f and chkdsk /r commands can fix hard disk errors, but chkdsk /r can detect and locate bad sectors on the drive.
If you check the system drive, you will see the message “CHKDSK cannot run because the volume is in use by another process.” Please type Y and press Enter to schedule your scan the next time the system restarts. Then, exit Command Prompt and restart your PC to scan and fix your hard disk.

Once done, install Visual Studio 2022 to see if the Visual Studio installation error is fixed.
That’s all about how to repair Visual Studio 2022 installation error on Windows 10. Do you have any questions about this topic? Please leave them in the comment zone and we will try to answer them as soon as possible.
-
Partition Wizard
-
Partition Manager
- How to Repair Visual Studio 2022 Installation Error on Windows 10
By Cici | Follow |
Last Updated January 18, 2022
Visual Studio is an integrated development environment (IDE) used to develop computer programs, websites, mobile apps, etc. However, some people encounter the Visual Studio 2022 installation error when installing it. How to repair Visual Studio 2022 installation error? Here, MiniTool Partition Wizard will tell you that.
I’ve been unable to install Visual Studio Professional 2022 — I get the “preparing the installer” dialog, which appears to download and update the installer, then the window disappears and the main Visual Studio installer never appears.https://docs.microsoft.com/
Why are some Windows 10 users unable to install Visual Studio 2022? The Visual Studio installation error may be caused by various reasons such as corrupted system files, disk errors, etc. So, how to repair Visual Studio 2022 installation error? There are three methods below, and you can choose one of them to solve this problem.
Method 1: Disable Third-Party Antivirus Programs Temporarily
Sometimes, third-party antivirus programs may block the installation of certain applications to protect your PC from potential threats. In this case, disabling or removing third-party antivirus programs may repair the Visual Studio 2022 installation error on Windows 10.
If you use Windows 10’s built-in Windows Security, you can also disable antivirus by following this post “How to Disable Antivirus on Windows 10”. But before that, you should make sure the Visual Studio application you want to install is safe.
Method 2: Run an SFC Scan
The installation error might be caused by corrupt system files, so how to repair Visual Studio 2022 installation error? The second method is to use the SFC (System File Checker) tool to scan and fix your system files. How to do that? Here is the complete guide:
Step 1: Press the Win + S key, and type cmd in the search box. Then, right-click Command Prompt and choose Run as administrator.

Step 2: Type sfc /scannow in the elevated Command Prompt and press the Enter key.

After that, the corrupt system files will be found and replaced. Then, you can try to install Visual Studio 2022 again to check if the error is fixed.
Method 3: Check Disk
If the disk you want to use to install Visual Studio 2022 has errors, it may trigger the Visual Studio 2022 installation error. In this case, you can try to run Windows inbuilt CHKDSK utility to scan and fix the hard disk. Here is how to do that:
Step 1: Follow Step 1 in Method 2 to open Command Prompt.
Step 2: Type chkdsk *:/r and press the Enter key. Then, the CHKDSK utility will automatically start scanning and fixing your hard disk. (* is the drive letter of the hard drive.)
Tip: Both chkdsk /f and chkdsk /r commands can fix hard disk errors, but chkdsk /r can detect and locate bad sectors on the drive.
If you check the system drive, you will see the message “CHKDSK cannot run because the volume is in use by another process.” Please type Y and press Enter to schedule your scan the next time the system restarts. Then, exit Command Prompt and restart your PC to scan and fix your hard disk.

Once done, install Visual Studio 2022 to see if the Visual Studio installation error is fixed.
That’s all about how to repair Visual Studio 2022 installation error on Windows 10. Do you have any questions about this topic? Please leave them in the comment zone and we will try to answer them as soon as possible.
I have downloaded visual studio installer from «https://visualstudio.microsoft.com/downloads/»
once its downloaded the installer file, when I click on install it says «Getting visual studio installer ready» and nothing happens after that. my internet connection is good and able to browse and download other files.
Tried this solution as well https://learn.microsoft.com/en-us/answers/questions/216897/visual-studio-2019-error-unable-to-download-instal.html and also tried after restarting machine. still having the same problem. you can find the screenshot for more information.
can anyone suggest what could be the issue. thanks

I could find the following log
[5/11/2022, 16:53:28] === Logging started: 2022/05/11 16:53:28 ===
[5/11/2022, 16:53:28] Executable: C:Users{username}Downloadsvs_Community.exe v15.9.28307.1974
[5/11/2022, 16:53:28] — logging level: standard —
[5/11/2022, 16:53:28] Directory ‘C:Users{username}AppDataLocalTemp481074b13093fff3a2’ has been selected for file extraction
[5/11/2022, 16:53:28] Extracting files to: C:Users{username}AppDataLocalTemp481074b13093fff3a2
[5/11/2022, 16:53:28] Extraction took 265 milliseconds
[5/11/2022, 16:53:28] Executing extracted package: ‘vs_bootstrapper_d15vs_setup_bootstrapper.exe ‘ with commandline ‘ —env «_SFX_CAB_EXE_PACKAGE:C:Users{username}Downloadsvs_Community.exe _SFX_CAB_EXE_ORIGINALWORKINGDIR:C:Users{username}Downloads»‘
[5/11/2022, 16:55:43] The entire Box execution exiting with result code: 0x0
[5/11/2022, 16:55:43] Launched extracted application exiting with result code: 0x138c
[5/11/2022, 16:55:43] === Logging stopped: 2022/05/11 16:55:43 ===
| title | description | ms.date | ms.custom | ms.topic | helpviewer_keywords | ms.assetid | author | ms.author | manager | ms.workload | ms.prod | ms.technology | ||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Troubleshoot installation or upgrades |
Sometimes, things can go wrong. If your Visual Studio installation or upgrade fails, this page can help. |
1/6/2023 |
vs-acquisition |
troubleshooting |
|
556EDD3F-E365-43EE-B3DD-03AA4353F75B |
anandmeg |
meghaanand |
jmartens |
multiple |
visual-studio-windows |
vs-installation |
Troubleshoot Visual Studio installation and upgrades
[!INCLUDE Visual Studio]
[!TIP]
Having a problem installing? We can help. We offer an installation chat (English only) support option.
This troubleshooting guide includes step-by-step instructions that should resolve most installation issues.
Online installations / updates
The following possible resolutions apply to a typical online installation. Try them in order.
1. Check whether the problem is a known issue
The first thing to check is whether or not the issue you are encountering is a known issue with the Visual Studio Installer that Microsoft is working on fixing.
::: moniker range=»vs-2019″
To see if there’s a workaround for your problem, check the Known Issues section of our release notes.
::: moniker-end
::: moniker range=»>=vs-2022″
To see if there’s a workaround for your problem, check the Known Issues section of our release notes.
::: moniker-end
2. Try repairing Visual Studio
Next, try to repair your installation. This solution fixes many common update issues. To learn how to repair, see Repair Visual Studio.
3. See what the developer community says about the error.
If repairing didn’t fix the issue, search for your error message in the Visual Studio Developer Community. Other members of the community might have found a solution or workaround to your problem.
4. Delete the installer folder (update issues)
If you encountered an issue when updating, try deleting the Visual Studio Installer folder, and then rerunning the installation bootstrapper can solve certain update failures. Doing so reinstalls the Visual Studio Installer files and resets the installation metadata.
::: moniker range=»<vs-2022″
- Close the Visual Studio Installer.
- Delete the Visual Studio Installer installation directory. Typically, the directory is
C:Program Files (x86)Microsoft Visual StudioInstaller. - Run the Visual Studio bootstrapper. The Visual Studio bootstrapper is a light-weight executable that initiates the install of the Visual Studio Installer and then the Visual Studio product itself. You might find the bootstrapper in your Downloads folder with a file name that follows a
vs_[Visual Studio edition]__*.exepattern. If you don’t find that application, you can download the bootstrapper by going to the Visual Studio older downloads page and clicking Download for your edition of Visual Studio. Then, run the executable to reset your installation metadata. - Try to install or update Visual Studio again. If the Installer continues to fail, proceed to the Report a problem step.
::: moniker-end
::: moniker range=»=vs-2022″
- Close the Visual Studio Installer.
- Delete the Visual Studio Installer folder. Typically, the folder path is
C:Program Files (x86)Microsoft Visual StudioInstaller. - Run the Visual Studio Installer bootstrapper. You might find the bootstrapper in your Downloads folder with a file name that matches a
vs_[Visual Studio edition]__*.exepattern. Or, you can download the bootstrapper for your edition of Visual Studio from the Visual Studio downloads page. Then, run the executable to reset your installation metadata. - Try to install or update Visual Studio again. If the Visual Studio Installer continues to fail, proceed to the Report a problem step.
::: moniker-end
5. Report the problem to support
In some situations, such as when there are corrupted files, issues might require case-by-case troubleshooting. To help us help you, follow these steps:
::: moniker range=»vs-2019″
- Collect your setup logs. See How to get the Visual Studio installation logs for details.
- Open the Visual Studio Installer, and then click Report a problem to open the Visual Studio Feedback tool.

- Give your problem report a title, and provide relevant details. Click Next to go to the Attachments section, and then attach the generated log file (typically, the file is at
%TEMP%vslogs.zip). - Click Next to review your problem report, and then click Submit.
::: moniker-end
::: moniker range=»>=vs-2022″
- Collect your setup logs. See How to get the Visual Studio installation logs for details.
- Open the Visual Studio Installer, and then choose Report a problem to open the Visual Studio Feedback tool.

- 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.
- Choose Submit.
::: moniker-end
6. Remove all Visual Studio installation files
As a last resort, you can remove all Visual Studio installation files and product information:
- Follow the steps in this article: Remove Visual Studio page.
- Rerun the Visual Studio Installer bootstrapper. You might find the bootstrapper in your Downloads folder with a file name that matches a
vs_[Visual Studio edition]__*.exepattern. Or, you can download the bootstrapper for your edition of Visual Studio from the Visual Studio downloads page. - Try to reinstall Visual Studio.
::: moniker range=»>=vs-2022″
7. Rollback to a previous install
[!IMPORTANT]
Before you try to rollback, learn more about the rollback feature in Visual Studio.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.
If none of the previous steps helped you successfully upgrade 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:
- You haven’t installed from a layout.
- 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.
You can rollback to your previously installed version by using the Visual Studio Installer or by using the command line.
To rollback using the Visual Studio Installer:
- Launch the Visual Studio Installer on your computer.
- In the installer, look for the edition of Visual Studio that you installed.
- Choose More.
- Choose Rollback to previous version.
:::image type=»content» source=»media/vs-2022/rollback-from-previous-version.png» alt-text=»Screenshot of the Rollback to previous version option.»::: - Select OK to confirm your choice.
8. Contact our live chat
If none of the previous steps help you successfully install or upgrade Visual Studio, contact us by using our live chat support option (English only) for further assistance.
::: moniker-end
::: moniker range=»vs-2019″
7. Contact our live chat
If none of the previous steps help you successfully install or upgrade Visual Studio, contact us by using our live chat support option (English only) for further assistance.
::: moniker-end
Network layout or offline installations
To resolve issues with a network installation, see Error Codes or Troubleshoot network-related errors when you install or use Visual Studio.
Administrator Updates
Administrator updates may not be applied correctly due to a variety of situations. Refer to the Administrator updates troubleshooting error codes for further information.
Collect installation logs for Microsoft Support
If you contact Microsoft Support, you might be asked to collect setup logs by using the Microsoft Visual Studio and .NET Framework log collection tool. The log collection tool collects setup logs from all components installed by Visual Studio, including .NET Framework, Windows SDK, and SQL Server. It also collects computer information, a Windows Installer inventory, and Windows event log information for the Visual Studio Installer, Windows Installer, and System Restore.
To collect the logs:
-
Download the tool.
-
Open an administrative command prompt.
-
Run
Collect.exein the folder where you saved the tool.The tool must be run under the same user account that the failed installation was run under. If you are running the tool from a different user account, set the
–user:<name>option to specify the user account under which the failed installation was run. RunCollect.exe -?from an administrator command prompt for additional options and usage information.
The tool generates a vslogs.zip file in your %TEMP% folder, typically at C:UsersYourNameAppDataLocalTempvslogs.zip.
Problems installing WebView2
If your organization’s Group policies block the installation of the WebView2 component, you won’t be able to install Visual Studio since the installer requires WebView2 to be installed. If this happens, check these policies:
- If the Microsoft Edge ‘Install (WebView)’ is configured, it determines whether WebView2 can be installed.
- If the Microsoft Edge ‘Install (WebView)’ policy is not configured, the Microsoft Edge ‘InstallDefault’ policy determines whether WebView2 can be installed.
[!Warning]
If neither policy is configured, WebView2 installation is allowed by your organization.
#visual-studio-2022
#visual-studio-2022
Вопрос:
Комментарии:
1. По ссылке написано: «Похоже, у вас поврежден файл в вашем кэше пакетов». Вы можете попытаться удалить все, что связано с «.NET Framework 4.8», перезагрузите компьютер. После этого попробуйте (повторно) установить VS2022 (один из вариантов при повторной установке — снова установить фреймворк)
2. Хм, на моем компьютере не установлен .NET Framework 4.8
3. Также не является частью вашей установки VS2019? смотрите: i.stack.imgur.com/soJ5i.png
4. Да, когда я переустановил vs2019, я вижу эти пакеты для .NET Framework 4.8.
5. Из Visual Studio 2022 Системные требования : «Для установки Visual Studio требуется .NET Framework 4.5.2 или выше. Для запуска Visual Studio требуется .NET Framework 4.8. Если .NET Framework 4.8 еще не установлен, он будет установлен во время установки «.
Ответ №1:
Используйте центр обновления Windows для установки предыдущего обновления безопасности для .NET Framework 4.8 после установки перезагрузите компьютер и повторите попытку установки VS2022
Ответ №2:
У меня возникла проблема при установке Visual Studio community 2022. Затем я установил тот же пакет, загрузив visual Studio community 2019, и это сработало.
I am trying to install Visual Studio 2022 Community Edition on my Windows10 notebook.
Unfortunately it always run into an error during the install phase.
I have tried the usual things:
- reboot
- shutdown the power on
- repair
- clean reinstall
Nothing helped so far, it always fail at the same exact point:

Details from the log:
Package 'Microsoft.VisualStudio.Community.Shared.Msi,version=17.1.32113.165' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Community.Shared.Msi;PackageAction=Install;ReturnCode=1310
Details
MSI: C:ProgramDataMicrosoftVisualStudioPackagesMicrosoft.VisualStudio.Community.Shared.Msi,version=17.1.32113.165Microsoft.VisualStudio.Community.Shared.Msi.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 MSIFASTINSTALL="7" VSEXTUI="1" PIDKEY="NGKBDRWKQFTT82MTRMPKRM6XM" VS7.3643236F_FC70_11D3_A536_0090278A1BB8="C:Program FilesMicrosoft Visual Studio2022Community" FEEDBACKOPTIN="1"
Return code: 1603
Return code details: Fatal error during installation.
Message Id: 1310
Message Details: Error writing to file: stdole.dll. Verify that you have access to that directory.
To that directory: which exactly?
My system is brand new Windows10, just have installed a few weeks ago.
I’ve administrator rights on my computer and I granted Installer to modify the system.
I have selected .NET Desktop development and clicked on install button. Haven’t changed any preferences or install destination.

I also tried to install an earlier version with 2019 Community Edition, but it fails at the exact same point with same error.
I found someone with the same error but no solution has been provided: https://developercommunity.visualstudio.com/t/packageidmicrosoftvisualstudiominshellinteropmsipa-16/346774
Indeed, when manually starting this particular msi:

But I don’t have «Run as administrator» if I right-click on that:

|
0 / 0 / 0 Регистрация: 14.09.2022 Сообщений: 2 |
|
|
1 |
|
|
VS 2022 14.09.2022, 16:07. Показов 12984. Ответов 16
На голый ноут хочу поставить VS, но установщик не скачивает необходимые файлы, после ожидания просит проверить подключение к интернету и повторить позднее. Как фиксить?
__________________
0 |
|
Programming Эксперт 94731 / 64177 / 26122 Регистрация: 12.04.2006 Сообщений: 116,782 |
14.09.2022, 16:07 |
|
16 |
|
Модератор
3859 / 3182 / 479 Регистрация: 27.01.2014 Сообщений: 5,809 |
|
|
14.09.2022, 17:11 |
2 |
|
StepAnus, Какая ОС на ноуте, обновления системы так же должны быть установлены последние.
0 |
|
1732 / 1671 / 360 Регистрация: 17.02.2019 Сообщений: 2,662 |
|
|
14.09.2022, 17:24 |
3 |
|
Вчера заметил что Visual Studio Installer долго думал, подумал плохое случилось, но у вы потом очнулся показал обновы. Ну и VS2022 долго там качал, а VS2019 влет установил. Может чет у них там. StepAnus,
1 |
|
0 / 0 / 0 Регистрация: 14.09.2022 Сообщений: 2 |
|
|
14.09.2022, 18:06 [ТС] |
4 |
|
С линукса перешел на десятку, все обновления установлены Добавлено через 1 минуту
0 |
|
1732 / 1671 / 360 Регистрация: 17.02.2019 Сообщений: 2,662 |
|
|
14.09.2022, 18:25 |
5 |
|
StepAnus, попробуйте через VPN какой нибудь.
0 |
|
Модератор
3859 / 3182 / 479 Регистрация: 27.01.2014 Сообщений: 5,809 |
|
|
14.09.2022, 18:25 |
6 |
|
Кстати, вышла обнова 17.3.4.
0 |
|
Модератор
3859 / 3182 / 479 Регистрация: 27.01.2014 Сообщений: 5,809 |
|
|
14.09.2022, 18:29 |
7 |
|
Через VPN получилось обновить VS Installer. Процесс пошел. Закончу, отпишусь ))
0 |
|
Модератор
3859 / 3182 / 479 Регистрация: 27.01.2014 Сообщений: 5,809 |
|
|
14.09.2022, 19:00 |
8 |
|
Ну все успешно. Но мне кажется дело не в VPN а в проблемах на самом сервере Microsoft.
0 |
|
1732 / 1671 / 360 Регистрация: 17.02.2019 Сообщений: 2,662 |
|
|
14.09.2022, 19:49 |
9 |
|
Но мне кажется дело не в VPN У меня c VPN писало что обновы не найдены. Отключил его посмотреть что будет, долго думал установщик но додумал и сказал обнова есть. Нажал кнопку чтоб все и началось VS22 долго крутило но обнова установилась. А вот следом VS19 полетела быстро. Это все вчера было, сейчас наверно доломали. Наверно чет у них там опять сервис полетел, такое уже было.
1 |
|
0 / 0 / 0 Регистрация: 02.09.2022 Сообщений: 1 |
|
|
14.09.2022, 20:45 |
10 |
|
Yury Komar, каким впном пользуешься, а то мой перестал работать?
0 |
|
1732 / 1671 / 360 Регистрация: 17.02.2019 Сообщений: 2,662 |
|
|
14.09.2022, 21:12 |
11 |
|
Опа исправили вроде инсталлятор быстро стал думать. StepAnus, попробуйте снова установить.
0 |
|
Модератор
3859 / 3182 / 479 Регистрация: 27.01.2014 Сообщений: 5,809 |
|
|
15.09.2022, 03:47 |
12 |
|
January29, Я VPN использовал в момент закачки VS Installer, так как на нем весь процесс рушился, а уже после, отключил прям в процессе обновления и напрямую сами обновления докачались, правда под конец очень долго, видимо, повторюсь, проблемы на самом сервере обновлений.
1 |
|
4 / 3 / 1 Регистрация: 15.06.2020 Сообщений: 41 |
|
|
23.10.2022, 19:39 |
13 |
|
Добавлено через 52 секунды Код 93.184.215.201 download.visualstudio.microsoft.com И все работает)
1 |
|
922 / 600 / 149 Регистрация: 09.09.2011 Сообщений: 1,879 Записей в блоге: 2 |
|
|
01.11.2022, 23:40 |
14 |
|
Внезапно. Прямо сейчас проверил, а оно качается как в старые добрые времена.
1 |
|
0 / 0 / 0 Регистрация: 31.10.2022 Сообщений: 2 |
|
|
02.11.2022, 22:59 |
15 |
|
а у меня не работает(
0 |
|
6268 / 3896 / 1567 Регистрация: 09.05.2015 Сообщений: 9,187 |
|
|
03.11.2022, 12:52 |
16 |
|
Прямо сейчас проверил, а оно качается как в старые добрые времена. У меня как работало без проблем, так и работает…
0 |
|
922 / 600 / 149 Регистрация: 09.09.2011 Сообщений: 1,879 Записей в блоге: 2 |
|
|
03.11.2022, 18:04 |
17 |
|
У меня как работало без проблем, так и работает… Рад за вас. Будем считать что регион благополучный.
0 |

