How to Create a Visual Studio 2019 Offline Installer Whether you are working in a secure environment with no internet access or simply want to save bandwidth when installing on multiple machines, creating an offline installer (or "local layout") for Visual Studio 2019 is a must-have skill for any developer.
Since Microsoft no longer provides direct .ISO images, you must build your own local cache using the Visual Studio bootstrapper. Here is your step-by-step guide to getting it done. Step 1: Download the Visual Studio Bootstrapper
First, you need the small "bootstrapper" file that initiates the download process. Go to the Visual Studio older downloads page and sign in.
Download the bootstrapper for your preferred edition: Community, Professional, or Enterprise.
For easier commands, rename the downloaded file to something simple like vs_community.exe. Step 2: Create Your Local Layout
Now, use the command line to download the actual installation files to a local folder. This "layout" will become your offline installer. Open Command Prompt as an administrator.
Run the following command to download the full English version (replace the path with your preferred drive): vs_community.exe --layout C:\vslayout --lang en-US Use code with caution. Copied to clipboard
Tip: If you only need specific features (like .NET desktop or web development), you can use the --add parameter to reduce the download size. Step 3: Install on the Offline Machine
Once the download is complete (this may take a while as it can exceed 20GB), copy the vslayout folder to your target offline machine via a USB drive or network share.
Install Certificates: Before running the installer, navigate to the certificates folder within your layout and install each certificate one by one to ensure the installer is trusted by the offline system.
Run the Installer: From the layout folder, run the bootstrapper with the --noWeb flag to prevent it from trying to reach the internet: vs_community.exe --noWeb Use code with caution. Copied to clipboard Troubleshooting Quick Tips
Create an offline installation - Visual Studio (Windows) - Microsoft Learn
The Visual Studio 2019 offline installer is an essential tool for developers working in air-gapped environments, on machines with restricted internet access, or across multiple workstations where repeated multi-gigabyte downloads are impractical. Microsoft does not provide a single, monolithic ISO file for Visual Studio 2019; instead, you must create a "local layout"—a curated folder containing all the installation files needed for your specific development needs. Why Use an Offline Installer?
Air-Gapped Systems: Essential for secure environments that are never connected to the public internet.
Low Bandwidth: Avoid installation failures caused by unstable or slow connections during the setup process.
Consistency: Ensure every machine in your team is running the exact same version and set of components.
Speed: Installing from a local drive or a high-speed internal network is significantly faster than downloading from Microsoft servers each time. Step-by-Step Guide to Creating the Offline Installer
To create an offline installer, you first need a computer with internet access to download the required packages. 1. Download the Bootstrapper
Download the small "bootstrapper" executable for your specific edition from Microsoft Learn:
Community: vs_community.exe (Free for individuals and students) Professional: vs_professional.exe Enterprise: vs_enterprise.exe 2. Run the Layout Command
Open a Command Prompt with Administrator privileges and navigate to your download folder. Use the --layout parameter followed by the path where you want to store the offline files. Create an offline installation - Visual Studio (Windows) visual studio 2019 offline installer
While Microsoft does not provide a direct .ISO or single-file offline installer for Visual Studio 2019, you can create a custom local layout (offline cache) that serves the same purpose. This approach is ideal for restricted environments or deploying across multiple machines without repeated downloads. 1. Download the Bootstrapper
To begin, download the small bootstrapper file (approx. 1-2 MB) for your preferred edition from the Official Visual Studio Older Downloads page. Community: For individual developers and students. Professional/Enterprise: For teams and professional use. 2. Create the Offline Layout
Run the bootstrapper from a command prompt with the --layout parameter to download the actual installation files to a local folder. Full Installation (Large: ~20-35 GB+): vs_community.exe --layout C:\VS2019Offline --lang en-US Use code with caution. Copied to clipboard
Visual Studio Older Downloads - 2019, 2017, 2015 - Microsoft
To install Visual Studio 2019 on a machine without internet access, you must first create a local layout (offline cache) on a machine that
have internet access. Microsoft no longer provides standalone ISO files for this process. Microsoft Learn Step 1: Download the Bootstrapper
Download the small "bootstrapper" file for your specific edition from the official Visual Studio Older Downloads Super User Community: vs_community.exe Professional: vs_professional.exe Enterprise: vs_enterprise.exe Step 2: Create the Local Layout Run the bootstrapper from a command prompt with the parameter to download all necessary files into a folder. Microsoft Learn For a complete layout (all workloads and languages): vs_enterprise.exe --layout C:\vslayout For specific workloads (recommended to save space):
vs_enterprise.exe --layout C:\vslayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US A full layout can exceed 35GB. Using the
flag for specific workload IDs significantly reduces this size. Stack Overflow Step 3: Transfer and Install Copy the folder: Move the entire C:\vslayout
folder to the offline machine using an external drive or network share. Install Certificates: Before running the installer, go to the certificates
folder within your layout and install all included certificates. Run the Installer:
Run the bootstrapper from the layout folder on the offline machine with the vs_enterprise.exe --noWeb Stack Overflow Troubleshooting Common Issues Create an offline installation - Visual Studio (Windows)
The Ghost in the Machine: Mastering the Visual Studio 2019 Offline Installer
In an era where "always-on" connectivity is the default, the humble offline installer feels like a secret weapon. Whether you’re working in a high-security "air-gapped" environment, battling a sluggish office Wi-Fi, or just need to standardize an environment across twenty developer machines without killing your bandwidth, the Visual Studio 2019 offline installer is your best friend.
But here’s the thing: Microsoft doesn’t just give you a single .iso file and a "Good luck!" anymore. Modern Visual Studio is modular, which makes "going offline" a bit of a strategic operation. Why go "Dark Mode" with your installation?
Speed: Installing from a local SSD or a fast USB 3.0 drive is significantly faster than streaming gigabytes of data over a network.
Reliability: No "Download Failed" errors halfway through a 20GB install because the router decided to reboot.
Control: You decide exactly which "Workloads" (like .NET desktop development or C++ gaming) are included in your installer package, keeping the file size lean. Step 1: The Bootstrapper
First, you need the "seed" for your offline forest. Head over to the Visual Studio Download Page to grab the small bootstrapper file (e.g., vs_community.exe, vs_professional.exe, or vs_enterprise.exe).
Note: You must have an internet connection for this specific step to download the actual files into your offline layout. Step 2: Creating the Layout (The Command Line Magic) How to Create a Visual Studio 2019 Offline
This is where the magic happens. You’ll use the command line to tell that bootstrapper to download everything you need into a folder (we'll call it C:\VSLayout).
To download a complete layout (warning: this can be over 40GB!), run:vs_enterprise.exe --layout C:\VSLayout.
Pro-Tip: Keep it LeanDon't need everything? Just download the workloads you actually use. For standard .NET desktop and web development in English, use:vs_community.exe --layout C:\VSLayout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US. Step 3: Installing in the "Dark"
Once your folder is ready, move it to your offline machine via a portable drive. To install without the installer trying to "call home" for updates, run the setup from inside your new folder with the --noWeb flag: C:\VSLayout\vs_community.exe --noWeb. Common Gotchas (and how to dodge them)
Create an offline installation - Visual Studio (Windows) - Microsoft Learn
Microsoft does not provide a single, direct ISO or offline installer file for Visual Studio 2019 . Instead, you must create a local layout
by downloading the "bootstrapper" file and using a command-line argument to fetch all necessary installation files for offline use. Microsoft Learn 1. Download the Bootstrapper
First, download the small installer (bootstrapper) for your preferred edition from the Visual Studio Older Downloads page Visual Studio 2019 Release History Visual Studio Community: vs_community.exe Professional: vs_professional.exe Enterprise: vs_enterprise.exe 2. Create the Offline Layout
Open a Command Prompt with administrator privileges and navigate to your download folder. Run the following command to download the files into a specific folder (e.g., C:\vs2019layout Microsoft Learn vs_community.exe --layout C:\vs2019layout --lang en-US Use code with caution. Copied to clipboard Customizing Workloads:
To save space, you can download only specific workloads rather than the full package (which can exceed 20GB). Example for .NET Desktop & Web development:
vs_community.exe --layout C:\vs2019layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US Microsoft Learn 3. Install on the Offline Machine Copy the entire vs2019layout
folder to your offline computer. To ensure the installer does not try to connect to the internet, run the setup using the Microsoft Learn Create an offline installation - Visual Studio (Windows)
Microsoft does not provide a single ISO file for Visual Studio 2019. Instead, you must create a "local layout" using a command-line tool. This allows you to download all necessary files onto one machine and transfer them to another that has no internet access Stack Overflow Step 1: Download the Bootstrapper
First, download the small installer (bootstrapper) for the version you need. As of April 2026, these direct links from are standard: Community: vs_community.exe Professional: vs_professional.exe Enterprise: vs_enterprise.exe Step 2: Create the Offline Layout
Open a Command Prompt (CMD) as an Administrator, navigate to your downloads folder, and run a command to download the packages. To download EVERYTHING (not recommended, can be >35GB): vs_community.exe --layout C:\VS2019Offline
To download only English and common workloads (Recommended):
vs_community.exe --layout C:\VS2019Offline --lang en-US --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop Stack Overflow Step 3: Install on the Offline Machine Transfer the folder: Copy the entire C:\VS2019Offline folder to the offline computer via USB or network share. Install Certificates: Before running the installer, go to the certificates
folder inside your layout and install each certificate (right-click -> Install Certificate) to ensure the installer is trusted without an internet connection. Run the Setup: Open CMD on the offline machine and run: vs_community.exe --noWeb Stack Overflow Key Considerations Disk Space:
A full installation requires significant space (often 30GB+). Ensure your target drive has enough room. To update an offline installation, you must re-run the
command on a machine with internet to fetch new files, then transfer them again. Error 5003: Installation on target machine
If you see this error, it usually means the bootstrapper is trying to update itself online. Always use the flag to force it to use local files. Stack Overflow How to download Visual studio 2019 offline installer
Microsoft does not provide a single, direct .ISO or .exe file containing all Visual Studio 2019 files. Instead, you must use a "bootstrapper" file to create a local layout (offline cache) of the installation files. 1. Download the Bootstrapper
You first need the small setup file for your specific version. Note that you may need to sign in to your Microsoft Subscriptions page to access 2019 versions. Community: vs_community.exe Professional: vs_professional.exe Enterprise: vs_enterprise.exe 2. Create the Offline Layout
Use the Command Prompt to download the actual installation files into a folder on your computer. Open Command Prompt as an Administrator. Run the layout command: To download everything (approx. 35GB+): vs_community.exe --layout C:\VS2019Layout --lang en-US Use code with caution. Copied to clipboard
To download only specific workloads (e.g., .NET Desktop and Web):
vs_community.exe --layout C:\VS2019Layout --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeRecommended --lang en-US Use code with caution. Copied to clipboard
Note: Use --includeRecommended to ensure all necessary tools for that workload are included. 3. Install on the Offline Machine
Once the download is complete, transfer the folder (e.g., C:\VS2019Layout) to your offline computer.
Install Certificates: Open the Certificates folder inside your layout and install each certificate one by one to ensure the installer is trusted without an internet connection. Run the Installer: C:\VS2019Layout\vs_community.exe --noWeb Use code with caution. Copied to clipboard
The --noWeb flag prevents the installer from trying to reach the internet for missing files.
💡 Tip: If the installation fails silently, verify you have the latest Root Certificates updated on the target machine. Create an offline installation - Visual Studio (Windows)
To create a Visual Studio 2019 offline installer, you must command-line "layout" feature
. Microsoft does not provide a single, standalone ISO image for download; instead, you download a small bootstrapper file and use it to download the full set of installation files to a local folder. Super User Step 1: Download the Bootstrapper
First, download the specific bootstrapper for the edition you need from the Visual Studio Older Downloads page Community: vs_community.exe Professional: vs_professional.exe Enterprise: vs_enterprise.exe Stack Overflow
Visual Studio Older Downloads - 2019, 2017, 2015 - Microsoft
Visual Studio 2019 reached mainstream support end date in April 2024, though extended support continues. However, many enterprises remain on 2019 due to legacy codebases, third-party plugin compatibility, or internal toolchains. The offline installer for 2019 remains officially available via the My Visual Studio downloads page (for subscribers) or the public archive.
Notably, Visual Studio 2022 introduced improvements to the layout command (such as --fix for corrupted layouts), but the core concept is identical. The lessons learned from maintaining 2019 offline layouts directly apply to 2022 and beyond.
You cannot simply download "everything." You must specify which components you need. Visual Studio uses Workload IDs (e.g., Microsoft.VisualStudio.Workload.NetCoreTools).
Common Workload IDs for Visual Studio 2019:
Microsoft.VisualStudio.Workload.ManagedDesktopMicrosoft.VisualStudio.Workload.NativeDesktopMicrosoft.VisualStudio.Workload.NetWebMicrosoft.VisualStudio.Workload.PythonMicrosoft.VisualStudio.Workload.NodeMicrosoft.VisualStudio.Workload.DataFor a full list, Microsoft maintains a document: "Visual Studio 2019 Workload and Component IDs."
While powerful, the offline installer is not without drawbacks:
--layout command in the same folder with the --updated flag, which downloads only new or changed bits. Without this, developers will install an outdated version.In the modern era of software development, high-speed, unmetered internet connectivity is often taken for granted. The prevailing assumption is that developers can simply run a web bootstrapper, which downloads only the necessary components for their workload at the moment of installation. However, this paradigm fails in numerous real-world scenarios—from secure, air-gapped government facilities to ships at sea or remote research stations. Recognizing this, Microsoft provides a robust solution: the Visual Studio 2019 Offline Installer (formally known as the "layout" creation). This essay explores the purpose, creation process, advantages, and limitations of this critical tool, arguing that it remains an indispensable asset for enterprise IT, constrained environments, and long-term software preservation.
vs_setup.exe.
Note: Do not double-click the original bootstrapper; use the setup executable inside the layout.