I simply wish to install Visual Studio 2017 to compile a project.
Trying to install via the installer obtained from Microsoft fails after being unable to obtain the .opc file from aka.ms (found that after checking logs in %Temp%)
Moved to a full install version with all files and .opc file present. Installer still attempts to download from the web. Fails saying it is unable to download.
Tried running installed with —layout pointing toward the location of the offline files, same error.
Installed certificates from the certificates folder both in Personal and Trusted Root stores, no difference.
Tried starting CNG Key Isolation service, fails with error 1053
Microsoft support transferred me three times before saying the problem is on their end, so how, if one were to have no internet connection and evidently has all files required for install available, install this, if the installer stubbornly attempts to download from the web?
Is there a KB I am missing or some procedure I have to follow with the full installers?
| 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.
Ive been trying to install VS 2017 for a long time no but without success. When I run the installer I have to click continue and after that it just repeats the same process (downloading, verifying, downloading, verifying etc) till I get the error
Unable to download installation files. Check your internet connection and try again.
Ive tried many solutions which Ive stumbled upon. Here’s the ones that ive tried:
- Disabling all anti virus programs & firewall
- Changing my DNS to Google’s servers (8.8.8.8)
- Try to use the —noweb option while starting the setup file.
- Install the certificates from the setup file (right-click the exe > Properties > Digital Signatures, select the signature > Details > View certificate > Install certificate)
- Check if «CNG key isolation» is running: no, not running. Is this a problem?
- I am perfectly able to install vs_installer.opc from this link
-
Did the following method:
1: Fire up run, type «gpedit.msc» 2: Brows to the following location: «Computer Configuration>Administrative Templates>System>Internet Communication Management>Internet Communication settings» then find the entry «Turn off Automatic Root Certificates Update» and open her up and set it to «Disabled». 3: Get Windows to check for updates, it will appear to do nothing (unless of course you need to actually need download updates, in which case you’ll have to update, sorry!). 4: Now try running the installer again, this fixed the issue completely and allowed Visual Studio to install without any warnings or issues.
-
Did all the Windows updates
- Tried installing with a VPN
- Tried to install the offline version (without success, same story)
- Tried both VS 2017 community/enterprise and vs_buildtools.exe, all have the same error.
Someone that can help me out? Im getting really frustrated. Ive reinstalled windows like 2-3 months ago and on the previous install I was able to install VS without any problem.
- Remove From My Forums
-
Общие обсуждения
-
Доброго времени суток. Восстановил пк на заводские настройки и начал приложения устанавливать. Инсталятор Visual Studio 2017 community не может загрузить файлы для установки
и пишет следующее сообщение:»Не удалось скачать установочные файлы. Проверьте подключение к Интернету и повторите попытку». Интернет подключен :D. Брандмауэр выключен. Windows Defender выключен. Антивируса нет. Что делать ?
http://rgho.st/7yXjLRlY4
http://rgho.st/private/6DSzT7gHx/754151f53a56dd11291c9e685af28c2a-
Изменено
5 августа 2017 г. 9:55
-
Изменен тип
Maksim MarinovMicrosoft contingent staff, Moderator
30 августа 2017 г. 8:00
-
Изменено
Some users have complained that when they tried downloading Visual Studio with its installer, the Visual Studio Installer is stuck on Downloading. In this post, we are going to talk about this issue and see what you can do to resolve this issue and get the Visual Studio installer going.

The error message you could see is:
Just a moment … Fetching your files
OR
Getting the Visual Studio Installer ready
If the Visual Studio Installer is stuck on Downloading, try the following solutions.
- Clear browser cache and restart the download
- Check your Internet
- Try a VPN
- Add a Host File Entry
- Reset Network Protocols
- Reinstall Visual Studio Installer
Let us talk about them in detail.
Visual Studio Installer stuck on Getting things ready or Fetching your files
1] Clear browser cache and restart the download
Clear your browser cache and restart the download and save the download to a different location and see if that helps.
2] Check your Internet

Let us start by checking your Internet connection. There is an array of free Internet Speed tester, use any one of them to know your bandwidth. If it is low, run the tester on other devices connected to the same network. If you conclude that yours is the only device facing this issue, check our guide on how to fix the slow Internet. If all the devices are facing this issue, restart your router and if that doesn’t work, contact your ISP and ask them to fix the problem.
3] Try a VPN
You can only try using a VPN to download files if the server your Visual Studio is connecting to is not responding. We have a list of free VPNs, download any one of them and run the installer. Hopefully, this will do the job for you.
4] Add a Host File Entry
Next up, let us add a host file entry to download the file in the Visual Studio installer. To do the same, follow the prescribed steps.
- Open Notepad.
- Click on File > Open and open the following file using Notepad.
c:WindowsSystem32Driversetchosts
- Now, in the host file add a new host entry: 93.184.215.201 download.visualstudio.microsoft.com
- Finally, save the changes.
This should do the job for you.
Read: How to reset the Hosts file back to default in Windows
5] Reset Network Protocols

There can be some glitch in your network protocols that is stopping Visual Studio Installer to connect to its network. You can easily reset the protocols and see if that helps. You need to release and renew IP, reset Winsock, and flush DNS and check if it works. To do that, open Command Prompt as an administrator and run the following commands.
ipconfig /release ipconfig /renew ipconfig /flushdns ipconfig /registerdns netsh winsock reset
Hopefully, this will do the job for you.
6] Reinstall Visual Studio Installer

If nothing works, then all you have to do is reinstall Visual Studio Installer. Go ahead and uninstall the installer. Follow the prescribed steps to uninstall Visual Studio Installer.
- Open Settings.
- Go to Apps > Apps & Features.
- Look for Visual Studio Installer.
- Windows 11: Click on the three vertical dots and click Uninstall.
- Windows 10: Click on the app and select Uninstall.
After removing the software, download it again from visualstudio.microsoft.com. This should do the job for you.
How do I fix Visual Studio not downloading?
If Visual Studio Installer is not downloading, then most probably, it’s a network issue. Your Internet connection might be slow or your computer is not able to use the incoming Internet. Whatever the case is, it can be resolved. Check the solutions that we have mentioned above to fix this issue and start downloading using the VS Installer.
How long does Visual Studio take to install?
It doesn’t take a lot of time for Visual Studio to install on your system. Depending on your system’s capability, it should take a minute to two. If you are downloading something inside the installer, it will take depending on the size and the speed of your Internet. Then, of course, the installation process will be long and will depend on your computer.
Also Read: Fix Microsoft Visual C++ Install Error 0x80240017 on Windows.
Skip to content
- ТВикинариум
- Форум
- Поддержка
- PRO
- Войти
Visual Studio Installer | Не удалось скачать установочные файлы [Решено]


Цитата: Сергей от 14.11.2020, 23:30Доброй ночи, Владимир 🌙
Очень плохо, что Вы не пользуетесь поиском по форуму…
Изоляция ключей CNG.
Доброй ночи, Владимир 🌙
Очень плохо, что Вы не пользуетесь поиском по форуму…
Изоляция ключей CNG.

Цитата: Владимир от 14.11.2020, 23:34Цитата: Сергей от 14.11.2020, 23:30Доброй ночи, Владимир
Очень плохо, что Вы не пользуетесь поиском по форуму…
Изоляция ключей CNG.Спасибо, помогло. Поиском теперь буду пользоваться.
Цитата: Сергей от 14.11.2020, 23:30Доброй ночи, Владимир
Очень плохо, что Вы не пользуетесь поиском по форуму…
Изоляция ключей CNG.
Спасибо, помогло. Поиском теперь буду пользоваться.
Цитата: Вася от 13.09.2022, 14:13Можете объяснить пожалуйста, что делать с данной проблемой? После переустановки винды такое началось.
Можете объяснить пожалуйста, что делать с данной проблемой? После переустановки винды такое началось.
Цитата: Adler от 13.09.2022, 14:18Цитата: Вася от 13.09.2022, 14:13Можете объяснить пожалуйста, что делать с данной проблемой? После переустановки винды такое началось.
Приветствую.
Двумя сообщениями выше написано же.
Цитата: Вася от 13.09.2022, 14:13Можете объяснить пожалуйста, что делать с данной проблемой? После переустановки винды такое началось.
Приветствую.
Двумя сообщениями выше написано же.
Цитата: Вася от 13.09.2022, 14:21Либо я тупой либо колёса не едут, тут просто написано что такое изоляция ключей CNG, а больше вроде ничего.
Либо я тупой либо колёса не едут, тут просто написано что такое изоляция ключей CNG, а больше вроде ничего.

Цитата: Сергей от 13.09.2022, 14:23Добрый день, Вася 🖐
У нас здороваются.
На странице, которую Я дал выше, написано, что если Вы не пользуетесь Visual Studio, то службу можно отключить.
Вам нужно проверить, включена ли у Вас эта служба. Если нет, то поставить тип запуска Вручную и попробовать снова скачать Visual Studio.
Добрый день, Вася 🖐
У нас здороваются.
На странице, которую Я дал выше, написано, что если Вы не пользуетесь Visual Studio, то службу можно отключить.
Вам нужно проверить, включена ли у Вас эта служба. Если нет, то поставить тип запуска Вручную и попробовать снова скачать Visual Studio.
Цитата: Вася от 13.09.2022, 14:27Доброго ранку, Сергей.
Окей с эти я разобрался, у меня данной службы нет в службах (по буквам тоже искал), это значит что она отключена?
Доброго ранку, Сергей.
Окей с эти я разобрался, у меня данной службы нет в службах (по буквам тоже искал), это значит что она отключена?

Цитата: Сергей от 13.09.2022, 14:29Это значит, что Вы, или сборщик-самопал выпилил эту службу.
Рекомендуется использовать оригинальную Windows и не выпиливать службы, которые нужны системе и программам.
Это значит, что Вы, или сборщик-самопал выпилил эту службу.
Рекомендуется использовать оригинальную Windows и не выпиливать службы, которые нужны системе и программам.
Цитата: Вася от 13.09.2022, 14:31Ах да я буквально вчера переустановил винду, я так понимаю её надо переустановить ещё раз?
Ах да я буквально вчера переустановил винду, я так понимаю её надо переустановить ещё раз?

Цитата: Сергей от 13.09.2022, 14:33Да, только ставьте оригинальный образ.
Да, только ставьте оригинальный образ.
Цитата: Вася от 13.09.2022, 14:33Хорошо большое спасибо.
Хорошо большое спасибо.
Цитата: Роман от 07.10.2022, 07:48Цитата: Сергей от 14.11.2020, 23:30Доброй ночи, Владимир
Очень плохо, что Вы не пользуетесь поиском по форуму…
Изоляция ключей CNG.Здравствуйте. У меня в изоляции ключей стоит тип запуска Вручную, пробовал перезапустить, не помогло. Стоит оригинальная винда, все обновления установлены, интернет работает, но визуал студио инсталлер выдает ту же ошибку
Цитата: Сергей от 14.11.2020, 23:30Доброй ночи, Владимир
Очень плохо, что Вы не пользуетесь поиском по форуму…
Изоляция ключей CNG.
Здравствуйте. У меня в изоляции ключей стоит тип запуска Вручную, пробовал перезапустить, не помогло. Стоит оригинальная винда, все обновления установлены, интернет работает, но визуал студио инсталлер выдает ту же ошибку
Цитата: Adler от 07.10.2022, 09:59Роман, приветствую.
А через VPN пробовали? Может проблема другой природы.
Роман, приветствую.
А через VPN пробовали? Может проблема другой природы.