Visual Studio 2022 Installer Stuck at 'Getting Ready'

Hi everyone :waving_hand:,

I’m having an issue while installing Visual Studio 2022 on my laptop. When I open the setup file → Click Allow → Accept terms and continue → Then it shows “Getting Visual Studio Installer ready” But After a few minutes, it gives this error:

“Unable to download installation files. Check your internet connection and try again.”

But my internet is working perfectly on browsers, YouTube, downloads, etc. Here are the screenshots:

Any help would be truly appreciated! Thanks in advance.

Do you use a VPN?

What OS is this (windows?)

Hmm, yes I do have a VPN install(both as browser extension and as part of my security software) but it is currently turned off. As for OS I’m using Windows 10 Pro.

Both VPNs are disabled?

Yup both are disable

I would check the Windows firewall and see if it’s allowing this app through EDIT: (or turn the whole thing off)

Hmm, I disabled the Windows Firewall, but it didn’t help.

I found some more “in the weeds” things to try:
https://learn.microsoft.com/en-us/answers/questions/2131044/unable-to-install-visual-studio-2022

https://superuser.com/questions/1390227/visual-studio-2017-installation-error-unable-to-download-installation-files-ch

You could also install wireshark to record the network traffic and see if there’s a more specific error to investigate:

https://www.wireshark.org/download.html

I would be happy to look at the network trace for you if you can share it.

1 Like

Hmm here Unique Download Link | WeTransfer , Captured full network trace: before, during, and after running the installer.

I found out the issue was caused by some broken or corrupted Visual Studio packages. I fixed it by going to:

C:\ProgramData\Microsoft\VisualStudio\Packages\

and deleting all the files and folders inside. After that, the installer worked perfectly! Thanks for help!

1 Like

Ok, good! Strange problem, glad you got it.

The previous installation was corrupted?

Yeah, I think it was corrupted. Maybe two apps were trying to install editors at the same time and it messed up the VS installer.