Not able to install the Visual Studio 2022 or any version behind the proxy

Raulp Blooper 1 Reputation point

I am an avid fan of visual Studio. But lately i am very disappointed when I was not able to install it on my Office PC .

I have tried changing the machine.config as below at both the below places : C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config and C:\Windows\Microsoft.NET\Framework\v4.0.30319\Config

as below at the end just before the </configuration> TAG

.. .. ..

  <defaultProxy useDefaultCredentials="true" />  


But on launching the VisualStudioSetup or the vs_proffessional I always get the below screen which never moves forward.


There was a release note in the Visual Studio which states that it uses the default proxy but seems like it is not taking? Is there any way to install the Visual Studio behind the proxy? Where to state the proxy address? I seem to stuck in this for a week but no resolutions so far !

Please guide soon !
Best ,

An object-oriented programming language developed by Microsoft that is implemented on the .NET Framework. Previously known as Visual Basic .NET.
2,107 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
786 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Tianyu Sun-MSFT 16,926 Reputation points Microsoft Vendor

    Hi @Raulp Blooper ,

    Welcome to Microsoft Q&A forum.

    Please try to add into the hosts file in C:\Windows\System32\drivers\etc\hosts. Besides, you may need to add several Microsoft domain URLs to the allowlist. Check this doc: URLs to add to an allowlist for more details.

    Best Regards,

    • 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

  2. Raulp Blooper 1 Reputation point

    Thanks for the response.
    Only adding this url doesnt solve the problem I am behind the proxy, I will check by adding these allow list additions.