Microsoft Visual Studio Professional 2022 Download Offline Installer //top\\ Jun 2026
From the layout folder, run:
vs_professional.exe --layout C:\VS2022Offline --add Microsoft.VisualStudio.Workload.ManagedDesktop --add Microsoft.VisualStudio.Workload.NetWeb --lang en-US learn.microsoft.com Step 3: Transfer and Install Offline Copy the folder : Move the entire C:\VS2022Offline folder to the offline machine using an external drive. Install Certificates : Before running the installer, go to the Certificates From the layout folder, run: vs_professional
| Flag | Purpose | Example | | :--- | :--- | :--- | | --useLatestInstaller | Forces the bootstrapper to download the latest setup engine. | vs_professional.exe --layout ... --useLatestInstaller | | --includeOptional | Downloads recommended and optional components (increases size drastically). | --includeOptional | | --add | Add a specific workload or component. Use --add <ID> multiple times. | --add Microsoft.VisualStudio.Component.Python | | --lang | Language pack. Use multiple flags for multilingual installs. | --lang en-US --lang zh-CN | | --keepLayoutVersion | Prevents the layout from auto-updating when you run the bootstrapper again. | --keepLayoutVersion | | --fix | Repairs a corrupted offline layout. | vs_professional.exe --layout D:\Offline --fix | | --add Microsoft
Set Up Visual Studio on an Offline Machine - Microsoft Learn From the layout folder
subfolder in your layout. Right-click each certificate file and select Install Certificate Local Machine Trusted Root Certification Authorities to prevent trust errors. Run the Installer
Despite Microsoft's best efforts, offline installers can be finicky. Here is how to solve the most common problems.