Visual Studio 2022 download stuck at 0 bytes

Dmitriano 36 Reputation points
2022-10-14T05:58:02.68+00:00

I tried to start VisualStudioSetup.exe multiple times, but it displays the following:

250352-2022-10-14.png

and stuck at 0 bytes all the time.

What URL or IP address does it try to download from? How can I check if it is accessible from my machine?

Are there some log files?

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 34,451 Reputation points Microsoft External Staff
    2022-10-14T07:31:21.623+00:00

    Hi @Dmitriano ,

    Welcome to Microsoft Q&A forum.

    What URL or IP address does it try to download from?

    You can check this document for more details: URLs to add to an allowlist.

    How can I check if it is accessible from my machine? Are there some log files?

    Normally, if you don’t set any block rules, or using any proxy and antivirus software, then the URLs are accessible. Sometimes Visual Studio will prompt error message if downloading or connecting process is blocked.

    Yes, there are some log files. They are stored in %temp% folder, you can use this collect.exe tool to collect them. A file called vslogs.zip will be generated in the %temp% folder and you can extract and open it, there’s a folder called "temp", and inside it, you should see many files start with dd_. You can check following files dd_bootstrapper_XXXXXXXX.logs, dd_Installer_XXXXXXXX.logs, and dd_setup_XXXXXXXX.logs.

    For this issue, please try to check following things:

    1. Make sure that all the VS 2022 system requirements are met, and you have enough disk space.
    2. Make sure that your network connection is stable(try to change to use another network if possible, for testing).
    3. Avoid the effects from antivirus software, proxy, policy group and permission limitations.
    4. Try to run the VisualStudioSetup.exe file as administrator, and try to reboot your machine and retry installing VS.
    5. Re-download the bootstrapper file from official website, but this time save it to another drive(folder) and run it again.

    Best Regards,
    Tianyu

    • If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
      Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Mu-Tsun Tsai 0 Reputation points
    2025-05-27T09:24:23.51+00:00

    In my case, upon inspecting dd_bootstrapper_XXXXXXXX.logs, it turned out that the DNS server somehow mistakenly resolves the domain "aka.ms" to an IP address that is not working. By override the DNS to the correct IP address (obtained through a different network), the installer then works just fine.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.