visual studio installer cannot continue to download for visual studio community 2022 and no access to aka.ms

naveed faruq 10 Reputation points
2025-06-09T10:27:12.69+00:00

i am muhammad naveed faruq from pakistan i am an old user of visual studio

to download visual studio 2022 community,

when after downloading first file by browser and after clicking on it a small page

opens to download installer,(contains two progress bars

to show the download and installation progress).

at first ,it seems this small window is going to start the download ,

but after some time

i get the error text on that window that i have no internet connection.

but i have checked that internet is connected.

this is the real problem

what i have tried is

1-Disabling the Antivirus or Firewall

2-Run Installer as Administrator

3- Checked My Internet and Proxy Settings

4- updated windows on my pc

5-making changes in cng setting file in services

6-deleting old basic downloaded installer programes

7-tried solutions provided on different sites and videos

8- tried to download offline installer but cmd do not recognize vs_community

9- tried to download older versions but cannot access to aka.ms

so having no access to aka.ms is also a major problem

please help me to get out of this problem and

provide me a way by which i can download the installer and then the visual studio.

i will be very thankful to you. to contact me i am available at

******@live.com

******@gmail.com

+923458130934 (whats up number)

Developer technologies | Visual Studio | Setup
{count} vote

2 answers

Sort by: Most helpful
  1. Mark Dicks 640 Reputation points
    2025-06-09T11:26:58.6566667+00:00

    Hi naveed faruq,

    Thanks for sharing the detailed steps you've already tried, it shows you've done a thorough job troubleshooting. The issue you're describing with the Visual Studio 2022 Community installer (failing at the small installer window with an "internet not connected" message despite having internet) is a known problem in some environments, often related to network or certificate trust issues.

    Here are a few additional suggestions you can try:

    1. Use the Offline Installer (Recommended in your case)

    Since the web installer is failing, Microsoft provides an official way to download an offline version of Visual Studio:

    Steps:

    Open Command Prompt (Run as Administrator).

    Use the following command to download the offline files (you can change the path as needed):

    vs_community.exe --layout C:\VS2022Offline --lang en-US
    

    This will download the entire installation package to the folder C:\VS2022Offline, which you can use to install offline later.

    You can get the latest vs_community.exe here:
    https://visualstudio.microsoft.com/thank-you-downloading-visual-studio/?sku=Community&rel=17

    2. Check TLS/SSL Settings

    Visual Studio needs TLS 1.2 or higher enabled in Windows. Run the following PowerShell command (as Administrator) to ensure TLS 1.2 is enabled:

    [Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
    

    Also, make sure Internet Explorer or Microsoft Edge (which VS uses under the hood) can access external HTTPS websites.

    3. Clear Installer Cache

    Sometimes the installer cache causes issues. Try deleting the following folders:

    %ProgramData%\Microsoft\VisualStudio\Packages

    %ProgramData%\Microsoft\VisualStudio\Setup

    %ProgramData%\Microsoft\VisualStudio\Downloads

    Then try downloading the installer again.

    4. Temporarily Switch Network (Try Hotspot)

    If you're using a Wi-Fi router or office network, try temporarily connecting via your mobile hotspot. Some routers or ISPs may block certain required endpoints.

    If none of the above works, the offline installer method is the most reliable and is what I’d strongly recommend for your situation.

    Best regards


  2. naveed faruq 10 Reputation points
    2025-06-20T09:57:05.99+00:00

    after installing proton vpn all worked for me .

    i downloaded it and set the location to united states,

    thanks to tasleem arif who told me the right way

    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.