Share via

How to download the complete offline installer package for Visual Studio 2022?

JyotiGayakwad 0 Reputation points
2026-05-18T05:59:44.07+00:00

Hello Microsoft Team,

I want to download Visual Studio 2022 for installation on an offline Windows PC.

Could you please let me know:

  1. From where can I download the complete offline installer package for Visual Studio 2022?
  2. Which bootstrapper should I use for Community Edition?
  3. What is the correct command to create the full offline layout package?
  4. Is Microsoft account sign-in mandatory for downloading the offline installer? Please share the official download link and recommended steps.

Thank you.

Developer technologies | Visual Studio | Setup
0 comments No comments

2 answers

Sort by: Most helpful
  1. Leon Tran (WICLOUD CORPORATION) 1,820 Reputation points Microsoft External Staff Moderator
    2026-05-18T07:21:32.56+00:00

    Hi @JyotiGayakwad ,

    Thank you for reaching out.

    To install Visual Studio offline, you will first need to download the bootstrapper. You can then use it to create the offline installation package.

    Please follow the steps below to create the offline package and install Visual Studio:

    1. Download Visual Studio 2022 Community using the provided link.
    2. Open Command Prompt and navigate to the folder where the downloaded bootstrapper is located. For example:
         cd Downloads
      
    3. Run the command line to create the full layout for offline installation.
         vs_Community.exe --layout c:\localVSlayout
      
      If you want to customize the workload selection, you can refer to the documentation for more details.
    4. Once the layout is created, run the installation command. This will install all available workloads.
         C:\localVSlayout>vs_Community.exe --in "C:\localVSlayout\Response.json" --includeRecommended --includeOptional --passive --noWeb
      
      With this command, Visual Studio will display a small window to help you see the progress. User's image
    5. After the installation is complete, you can open the Visual Studio Installer and modify the workloads through the UI, no need to use complex commands anymore.

    Note: If the installer appears and then closes immediately after you run the installation command, please download the certificate from this link, copy it to your offline machine, and install it. Once completed, try running the installation again.

    Microsoft Windows Code Singing PCA 2024 Certificate

    http://www.microsoft.com/pkiops/certs/Microsoft%20Windows%20Code%20Signing%20PCA%202024.crt

    You can use Visual Studio Community 2022 without signing in to a Microsoft account. However, signing in allows you to sync your extensions and settings across devices.

    Hope this helps! If my answer was helpful, you can follow this guidance to provide some feedback. This also help another find the solution easier. 

    Was this answer helpful?

    1 person found this answer helpful.

  2. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

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