When visual studio 2019 installing, file download failed

JAEMYOUNG KIM 0 Reputation points
2025-03-26T07:53:23.0333333+00:00

Cap 2025-03-26 15-57-29-113

Cap 2025-03-26 15-58-50-015

When visual studio 2019 start install, download progress bar's status is not change.

a few minute later, show message that can't install file download. check internet connection and try again.

open 'hosts' system file by note app, add visual studio download IP.

but not clear this problem.

plz. answer to me.

thanks.

Developer technologies | Visual Studio | Setup
{count} votes

1 answer

Sort by: Most helpful
  1. Tianyu Sun-MSFT 34,441 Reputation points Microsoft External Staff
    2025-03-26T11:24:07.1166667+00:00

    Hi @JAEMYOUNG KIM ,

    Open ‘hosts’ system file by note app, add visual studio download IP.

    Do you mean you have tried the suggestions from this thread: visual studio download very slow but it didn’t work?

    If so, please try following:

    1. Run CMD as administrator, run DISM.exe /Online /Cleanup-image /Restorehealth. Wait for the command finishes running, run sfc /scannow command. These two commands help to fix the missing and corrupted system files. After that try to reinstall VS.
    2. Try to update Windows OS, make sure that all the patches have been installed and there’s no Windows Update error.
    3. Check the 3rd-party programs like antivirus, network proxy, security management software, make sure that they didn’t block VS from connecting to the network and downloading files.
    4. Navigate to C:\Windows\Microsoft.NET\Framework\v4.0.xxxxx\Config\ folder, find the machine.config file and the machine.config.default file. Make a backup of the machine.config file, then replace the content in machine.config with the content in machine.config.default file. Reinstall VS.
    5. Try to run VS setup file as administrator.

    Feel free to let us know the results.

    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

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.