Frank sprinted to the new workstation—a shiny Dell Precision with a Xeon processor, 128 GB of RAM, and a fresh Windows 10 LTSC image. No software, no dev tools, nothing.
He plugged in the USB drive. The drive letter appeared: E:\.
He double-clicked the ISO file. Windows mounted it as a virtual DVD drive: F:\.
Inside was a perfect replica of Microsoft’s download servers—a vs_setup.exe, a vs_installer.opc file, and hundreds of .cab and .vsix packages organized by workload.
Frank opened an administrator command prompt. His hands were steady, but his pulse was not. He typed:
F:\vs_setup.exe --layout F:\ --noweb --add Microsoft.VisualStudio.Workload.NativeDesktop --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NativeDesktop.MFC --passive --norestart
He hit Enter.
The installer whirred to life. Instead of reaching out to download.visualstudio.microsoft.com and failing, it scanned the local ISO. It verified each package’s hash against the signed catalog. No internet required.
A progress bar appeared: Installing Visual Studio 2022 Professional – 0%
For the next 45 minutes, Frank watched that bar inch forward. He saw the familiar green checkmarks appear:
No errors. No "Failed to download package." No "Check your internet connection."
At 9:47 AM, the installer finished. The workstation rebooted cleanly. Frank logged in, launched Visual Studio 2022, and opened a sample CNC controller solution from a network share (the local LAN was still up, even without internet). The solution loaded, parsed, and built successfully in under 90 seconds.
He called Brenda. "It’s done. The environment is ready."
She laughed with relief. "How, Frank? There's no internet for ten miles!" visual studio 2022 offline installer iso best
Frank looked at the mounted ISO drive, then at the dusty USB drive, and smiled. "Old-school. Offline installer ISO."
| What you want | What to do |
|---------------|-------------|
| Real ISO | Not provided by Microsoft. Create from layout folder. |
| Offline installer | Use --layout command with bootstrapper. |
| Smaller download | Add only needed workloads via --add. |
If you tell me which edition (Community/Pro/Enterprise) and which workloads you need, I can give you the exact command.
Microsoft does not provide a direct, pre-built ISO for Visual Studio 2022 because the full installation can exceed 70GB and receives frequent updates
. Instead, users must create a "local layout"—a folder containing all necessary installation files—which can then be used to install VS 2022 without an internet connection. 1. Download the Bootstrapper
First, download the small "bootstrapper" file for your preferred edition from the Official Visual Studio Downloads Visual Studio vs_community.exe Professional vs_professional.exe Enterprise vs_enterprise.exe 2. Create the Offline Layout
Open a Command Prompt as an administrator and navigate to your download folder. Use the command to download the files to a specific directory.
To download only specific workloads (Recommended to save space):
vs_professional.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.NetWeb --add Microsoft.VisualStudio.Workload.ManagedDesktop --lang en-US Use code with caution. Copied to clipboard To download everything (Not recommended, can be >70GB): vs_community.exe --layout C:\VS2022Offline --lang en-US Use code with caution. Copied to clipboard To create an actual ISO: Use a tool like FreeISOCreator to convert your final C:\VS2022Offline folder into a file for easier distribution. Digit e-Magazine 3. Install on the Offline Machine
Transfer your layout folder (or ISO) to the target machine and follow these steps: Install Certificates : Open the Certificates
folder within your layout, right-click each certificate, and select Install Certificate Local Machine Trusted Root Certification Authorities . This prevents errors during offline verification. Run the Installer
: Use the following command to ensure the installer doesn't try to access the web: Frank sprinted to the new workstation—a shiny Dell
C:\VS2022Offline\vs_professional.exe --noWeb --channelURI "C:\VS2022Offline\channelManifest.json" Use code with caution. Copied to clipboard Microsoft Learn Key Considerations for "Best" Results
Microsoft does not provide a direct ISO file for Visual Studio 2022. Instead, you must create a "local layout", which is a folder containing all the files needed for an offline installation. 1. Download the Bootstrapper
Go to the Visual Studio Downloads page and download the small installer (bootstrapper) for your preferred edition (Community, Professional, or Enterprise). 2. Create the Offline Layout
Open a Command Prompt as an Administrator and run the command below. This creates a folder containing only the components you need, which saves significant disk space. For .NET Desktop & Web Development (Recommended):
vs_community.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US Use code with caution. Copied to clipboard To download everything (Not recommended, ~30GB to 70GB+): vs_community.exe --layout C:\VS2022Offline --lang en-US Use code with caution. Copied to clipboard
(Replace vs_community.exe with your specific file name if using Professional or Enterprise). 3. Install on the Offline Machine
Transfer the folder: Copy the entire C:\VS2022Offline folder to the target machine via a USB drive or network share.
Install Certificates: Before running the installer, navigate to the certificates folder inside your layout. Right-click and Install each certificate found there to avoid verification errors.
Run the Installer: Run the following command from an elevated command prompt on the offline machine: C:\VS2022Offline\vs_community.exe --noWeb Use code with caution. Copied to clipboard
The --noWeb parameter ensures the installer only uses the local files and doesn't attempt to connect to the internet. 4. Optional: Create Your Own ISO
If you strictly need an ISO file (e.g., for archiving), you can use a free tool like ImgBurn or FreeISOCreator to convert your final layout folder into an .iso format.
Note on Licensing: Even with an offline installation, you may need to sign in once or enter a product key to fully activate the software. AI responses may include mistakes. Learn more He hit Enter
Set Up Visual Studio on an Offline Machine - Microsoft Learn
The government inspection passed without a hitch. The auditor never knew that the entire development environment had been installed from a single USB stick in a building with zero external connectivity.
Later that week, Frank wrote a company-wide memo: "Effective immediately, all new developer workstations will be provisioned using a local network share containing a complete Visual Studio 2022 offline layout. The IT department will refresh this layout quarterly using a dedicated internet connection and then distribute it via internal ISO images."
He also quietly ordered a dozen high-endurance USB drives, each preloaded with the VS2022 ISO, stored in a fireproof safe. One for each build engineer.
Six months later, when a ransomware attack took down the entire corporate internet for a week (separate story), AeroDynamics was the only team in the industrial park still able to onboard new developers and ship validated builds.
Frank got a promotion. And at his desk, in the top drawer, right next to his stapler, sat that original USB drive—still labeled "VS2022 ISO – Just in case"—now a talisman of engineering foresight.
Because sometimes, the best feature of modern software isn't the cloud. It's the ability to pack the cloud into a file, carry it in your pocket, and build a plane without the internet.
Open a command prompt, navigate to the folder containing the bootstrapper, and run the following command to create the layout.
Syntax:
vs_enterprise.exe --layout C:\VS2022Offline --lang en-US --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --includeRecommended
Step 1 – Download the bootstrapper
Go to the Visual Studio 2022 download page
Choose your edition:
Download the small .exe bootstrapper, e.g.:
Step 2 – Create offline layout
Open Command Prompt as Administrator and run:
vs_community.exe --layout c:\vs2022_offline --lang en-US
Examples for specific workloads (smaller download):
vs_community.exe --layout c:\vs2022_offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US
Step 3 – Wait
It downloads 20–50 GB depending on selected components.