The process of installing, configuring, and customizing Visual Studio to support development workflows across languages, platforms, and workloads.
Create and verify a full Visual Studio 2026 layout on an internet-connected administrative computer, transfer the complete layout to the air-gapped computer, and install from it with --noWeb.^1^
1. Create the installation layout online
On an internet-connected computer:
- Download the Visual Studio 2026 bootstrapper for the licensed edition:
-
vs_community.exe -
vs_professional.exe -
vs_enterprise.exe
-
- Open Command Prompt as administrator.
- Create a full layout containing the required language. For Enterprise and English:
vs_enterprise.exe --layout C:\VSLayout --lang en-US
vs_enterprise.exe --layout C:\VSLayout --verify
Use the bootstrapper matching your edition. Add other required language codes to the layout command.
For the initial air-gapped deployment, Microsoft recommends a full layout rather than limiting layout creation with a scenario-specific .vsconfig. Use the .vsconfig later to select which workloads and components are installed on the destination computer.^1^
Do not use Visual Studio Installer’s Download all, then install files as transferable media. Those files are customized for the computer that downloaded them and are not designed for installation on another computer.^2^
2. Transfer all required content
After --verify succeeds, transfer the following through your approved removable-media process:
- The entire
C:\VSLayoutdirectory, without removing or modifying packages. - A reviewed
.vsconfigfile describing the required workloads and components. - Any extensions, SDKs, NuGet packages, package feeds, or other dependencies needed by your projects.
- Any licensing material required by your Visual Studio edition.
Stage the layout at a stable path on the offline computer, such as C:\VSLayout. Keep it there after installation because Visual Studio records the source path and may require it for adding components, repair, or servicing.^2^
A Visual Studio layout does not mirror external package feeds or automatically include extensions referenced by a .vsconfig file. Those payloads must be prepared separately.^1^
3. Prepare certificate trust
The offline computer must trust the Microsoft certificates used to sign setup packages. If its root and intermediate certificates are not current:
- Open
C:\VSLayout\Certificates. - Right-click each certificate and select Install Certificate.
- Complete the Certificate Manager wizard using the appropriate machine certificate stores.
- Leave the password blank if prompted.
Offline certificate preparation is necessary because Windows cannot retrieve missing certificate-chain information while disconnected.^3^
Do not re-sign packages or bypass signature verification.
4. Install without any network access
Place the desired configuration at, for example, C:\VSConfig\Developer.vsconfig. Open an elevated Command Prompt on the offline computer and run:
C:\VSLayout\vs_enterprise.exe ^
--config "C:\VSConfig\Developer.vsconfig" ^
--addProductLang en-US ^
--noWeb --passive --wait --norestart
Change the executable to match the edition in the layout.
--noWeb prevents setup from obtaining missing Visual Studio packages from Microsoft services. If the layout lacks a required package, installation fails rather than going online.^1^
After completion:
- Process any restart requirement.
- Launch Visual Studio using the intended user account.
- Confirm offline licensing works for your edition.
- Build and restore a representative solution using only staged dependencies.
- Check that the configured update source does not reference an internet-only location.
Ongoing updates
Retain the complete layout for new installations, component changes, repair, and recovery. Existing offline installations can later be serviced with a verified minimal update layout when its edition, base version, workloads, languages, and target version match the installed client.^4^
A minimal update layout is not a replacement installation or repair source. Transfer updates into the isolated environment and apply them with administrative privileges and --noWeb.
References
- Deploy and maintain fully offline Visual Studio workstations
- Create an offline installation package of Visual Studio for local installation
- Install certificates required for Visual Studio offline installation
- Update Visual Studio with minimal offline layout - Visual Studio (Windows) | Microsoft Learn