Visual Studio Update Stalled at 1%

Harris, Allen 65 Reputation points
2024-06-11T12:30:50.4033333+00:00

Hey all,

My Visual Studio 2022 Installer is stalled on updating at 1%, then eventually tells me to check my internet connection. It's never done that before.

The only thing I can think of is my company's been playing around with geoblocking in our firewall. Are there currently any issues with the MSVS Installer servers? The status page doesn't indicate any problems.

If not, does anyone know if the update servers are located outside of North America?User's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,821 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 27,636 Reputation points Microsoft Vendor
    2024-06-12T02:37:08.25+00:00

    Hi @Harris, Allen, 

    Welcome to Microsoft Q&A! 

    When installing, the VS Installer could be asking Windows to enable a feature, running a 3rd party exe installer, or any number of activities. If it hangs or takes a long time, the VS installer can seem to be stuck or disabled. In this case, you can reboot the computer and retry the installation. 

    Besides, please make sure you have the latest service pack and critical updates for the versions of Windows that you are running. And ensure that the “CNG Key Isolation” service is running in manual:

    1. Run your Services as administrator.
    2. Locate the “CNG Key Isolation” service and open it.
    3. Change the “Startup type” option to “Manual” and start it. 

    If you install VS behind a firewall, your network may block Microsoft domains. Please find the hosts file in C:\Windows\System32\drivers\etc\hosts, and add one line 23.77.21.104 aka.ms into it. You can check the following link to see more Microsoft domains and add them into the allow list.

    Install and use behind a firewall or proxy server - Visual Studio (Windows) | Microsoft Learn 

    Sincerely,

    Anna


    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