OK i managed to solve this issue. I first needed to install the certificates to the local machine either from the certificates folder which is inside the layout folder or by right clicking the setup.exe and then Properties - Digital signatures - click on the item in the list then click Details - view certificate - install certificate - Local machine and then just continue the process with the defaults.

Then once the certificates are installed i then run the .exe as administrator and it works :)

Answer from Edwin Martin on Stack Exchange
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ visualstudio โ€บ install โ€บ create-an-offline-installation-of-visual-studio
Create an offline installation - Visual Studio (Windows) | Microsoft Learn
You can use the Download all, then install feature from the Visual Studio Installer to download an installation package on the local machine before you install it locally, or you can use the command line to create a local installation package ...
๐ŸŒ
Visual Studio
visualstudio.microsoft.com โ€บ vs โ€บ community
Visual Studio Community | Download Latest Free Version
December 8, 2025 - A brand-new workload-based installer optimizes your installation to make sure you have everything you need and nothing you donโ€™t. ... Code with confidence in your language, find and fix code issues quickly, and refactor with ease. ... Debug to quickly find and fix bugs. Find and diagnose performance issues with the profiling tools. ... Use Git as the default source control experience in Visual Studio right out of the box.
Discussions

Is the VS 2022 offline installer available?
I burned VS2022 to a disc a few months ago so it's definitely possible Think this is what I followed https://learn.microsoft.com/en-us/visualstudio/install/create-an-offline-installation-of-visual-studio?view=vs-2022 More on reddit.com
๐ŸŒ r/dotnet
11
0
February 21, 2025
Can Visual Studio be installed on an offline PC?
Follow the setup wizard to complete the installation. Additionally, Visual Studio Professional and Enterprise editions support offline activation via a product key, while Visual Studio Community does not support offline activation. More on learn.microsoft.com
๐ŸŒ learn.microsoft.com
2
0
December 26, 2025
upgrade - How to download and offline install Visual Studio 2022 version update? - Stack Overflow
Do I have to download the entire VS Layout package everytime if there is an version update e.g. from 17.12 to 17.13 if the machine I want to install does not have internet access? Currently the exi... More on stackoverflow.com
๐ŸŒ stackoverflow.com
How to create offline installer for visual studio community 2022
Hi I am Rupesh from India and I have bought a new PC and I have tried to install visual studio community 2022 and I have succeeded but I can't create offline installer for future needs. I have downloaded latest visual studio community 2022 installer and after that I have selected option install... More on geek.digit.in
๐ŸŒ geek.digit.in
6
January 22, 2022
๐ŸŒ
Reddit
reddit.com โ€บ r/dotnet โ€บ is the vs 2022 offline installer available?
r/dotnet on Reddit: Is the VS 2022 offline installer available?
February 21, 2025 -

Hello there,

I remember theres always an offline installer (about 22-25gb) to install visual studio completely.

2017 and 2019 had this type of installers, does anyone knows if VS 2022 offline installer is currently available?

Thank you

๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ troubleshoot โ€บ developer โ€บ visualstudio โ€บ installation โ€บ set-up-vs-professional-2022-offline-machine
Set Up Visual Studio on an Offline Machine - Visual Studio | Microsoft Learn
December 27, 2024 - Launch the Visual Studio shortcut as an administrator. On the menu bar, select Help > Register Product. Select the Unlock with a Product Key link. Enter the 25-digit product key, and then select Apply.
Top answer
1 of 2
1

Hi Billy,

Thank you for contacting us.

Regarding your concern, please note that Microsoft enforces activation per machine to prevent piracy and ensure compliance. You can still install Visual Studio Professional offline, but it requires manual product key entry or volume license setup, not a universal multi-access key. Below are the steps you should take:

  • You first need to install Visual Studio online
  • Create a layout for offline install, you can check this link for more specific guidance
  • Manually download and install missing certificate: 
    1. Download the certificate: http://www.microsoft.com/pkiops/certs/Microsoft%20Windows%20Code%20Signing%20PCA%202024.crt 
    2. Double-click the .crt file to open the Certificate window.  
    3. Click โ€œInstall Certificateโ€ฆโ€  
    4. Choose โ€œLocal Machineโ€ (you may need admin rights).  
    5. Select โ€œPlace all certificates in the following storeโ€  
    6. Click โ€œBrowseโ€ฆโ€ and choose: Trusted Root Certification Authorities. Click Next, then Finish.  
    You should see a confirmation message: โ€œThe import was successful.โ€  
  • Copy the layout folder that you have just created to your offline device and run this command in the layout folder
      vs_professional.exe --noweb
    
    โ†’ Visual Studio Professional 2022 will be install offline
  • Go to Help โ†’ About Visual Studio โ†’ License Status โ†’ Click Unlock with a Product Key. Enter the Product Key and click Apply
  • Visual Studio creates a request file containing your installation ID. Save this file and transfer it to an internet-accessed device.
  • On a device with internet access, go to the Microsoft Licensing Activation site (provided in the Visual Studio activation dialog) โ†’ Upload the request file โ†’ Microsoft will generate a response file then transfer the response file back to the offline machine.
  • In Visual Studioโ€™s activation dialog, select Use Response File โ†’ Browse to the file and apply it โ†’ Visual Studio will confirm activation.

I hope that these instructions will be helpful! If you have any other questions, feel free to reach out, I'm here to help.

Happy holiday!

2 of 2
0

Yes, Visual Studio can be installed on an offline PC. To do this, you need to create an offline installer using the Visual Studio installer on a machine with internet access. You can follow these steps:

  1. Download the Visual Studio installer from the Visual Studio page.
  2. Use the command line to create an offline installer layout. For example:
       "vs_professional.exe" --LayOut "C:\Temp\VS2022Offline" --Lang "en-US"
    
  3. Copy the created offline installer folder to the target offline machine.
  4. Run the installer from the copied folder using an administrator command prompt.
  5. Follow the setup wizard to complete the installation.

Additionally, Visual Studio Professional and Enterprise editions support offline activation via a product key, while Visual Studio Community does not support offline activation.


References:

  • Set up Visual Studio on an offline machine
  • Install certificates required for Visual Studio offline installation
  • SSIS Projects extension for Visual Studio 2022+ troubleshooting guide
Find elsewhere
Top answer
1 of 2
3

If you want to do an offline update from VS17.12 to 17.13 , you can follow below steps:

  1. Update the layout to a specific version of the product.
  • Go to the Visual Studio 2022 Release History page and download a particular fixed version bootstrapper(e.g vs_Enterprise17.13.0), copy it into your layout, and use it to update the layout to that exact version specified in the bootstrapper.
  • Run the --layout command in an elevated prompt to download the latest packages into your layout.
vs_enterprise.exe --layout c:\VSLayout
  1. Update your Visual Studio 2022 by running the Visual Studio Installer > Update or you can also use the following command:
vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"

Update

The easiest and fastest way to update your offline Visual Studio instances: using a minimal offline layout.

Do i have to download the entire VS Layout package everytime if there is an version update?

Unlike a full Visual Studio layout, a minimal layout only contains the updated packages, so it is always smaller and faster to generate and deploy.

1.Generating a minimal layout.

MinimalLayout.exe generate --targetLocation c:\VSLayout\ --productIds Microsoft.VisualStudio.Product.Enterprise --baseVersion 17.12.5 --targetVersion 17.13.0  --languages en-US

2.Update the Visual Studio Installer

vs_enterprise.exe --quiet --update --offline C:\VSLayout\vs_installer.opc

3.Update the Visual Studio application

vs_enterprise.exe update --noWeb --quiet --installpath "C:\Program Files\Microsoft Visual Studio\2022\Enterprise"

Docs Referred:

Update the layout to a specific version of the product

Update Visual Studio from a layout

2 of 2
1

Microsoft has a handy post that details what you need to do. Essentially, at the command line on the computer with internet access, execute:

vs_enterprise.exe --layout c:\localVSlayout

Replace c:\localVsLayout with where you want to dump the files. It's going to be big! You may need to change vs_enterprise.exe with the correct executable name for your version of Visual Studio.

๐ŸŒ
Visual Studio
visualstudio.microsoft.com โ€บ downloads
Visual Studio & VS Code Downloads for Windows, Mac, Linux
January 26, 2026 - Lightweight yet powerful source code editor with tons of extensions for many languages and runtimes. Download Visual Studio Code ... Built on open source. Runs everywhere ... A complete array of development tools and features in one place to elevate and enhance every stage of your software development. How to install offlineCompare editions
๐ŸŒ
Digit
geek.digit.in โ€บ home โ€บ forums โ€บ software โ€บ programming
How to create offline installer for visual studio community 2022 | Digit Technology Discussion Forum
January 22, 2022 - Download the complete installer package: Visual Studio Community offers an online installer by default, which downloads the required files during the installation process. To create an offline installer, you'll need to download the complete installer package, also known as the ISO file.
๐ŸŒ
Scott Hanselman's Blog
hanselman.com โ€บ blog โ€บ how-to-make-an-offline-installer-for-vs2017
How to make an offline installer for VS2017 - Scott Hanselman's Blog
Sometimes you'll end up with a file like vs_community__198521760.1486960229.exe and you'll want to rename it to vs_community.exe for offline to work. Before you run the installer, you'll want to install the root certificates in the \certificates folder. From the team: They are the root certs needed to verify the setup application (the stuff installed under ProgramFiles\Visual Studio\2017\Installer) and the catalog (a json file that lists of all the VS components that could be installed by setup).
๐ŸŒ
GitHub
github.com โ€บ carsten-riedel โ€บ Visual-Studio-Offline
GitHub - carsten-riedel/Visual-Studio-Offline: The one and only offline approach. Wrapping visual studio installation files in an offline installer with inno setup. ยท GitHub
To create the offline installer, follow these steps: Install Inno Setup on your machine. Launch the ISS file. Modify the following variables in the ISS file as needed: GETINSTALLLOCATION: Specifies the location for the installation of Visual ...
Starred by 13 users
Forked by 5 users
Languages ย  Inno Setup
๐ŸŒ
Junian
junian.net โ€บ dev โ€บ visual-studio-community-download-links
Visual Studio Community Downloads - 2026, 2022, 2019, 2017, 2015, 2013
2 weeks ago - Here, Iโ€™ve compiled a list of older Visual Studio Community versions using official Microsoft links. Just a quick note: this list is for Visual Studio, not Visual Studio Code. They may sound similar, but they are completely different products. That is a good question. Never trust anything you read on the internet, including my website. The download links I provide here are official download links from Microsoft. They are genuine and safe to download. I do not host the installers or use third-party servers.
๐ŸŒ
Visual Studio
visualstudio.microsoft.com โ€บ vs โ€บ older-downloads
Visual Studio Older Downloads - 2019, 2017, 2015
December 9, 2025 - Download previous versions of Visual Studio Community, Professional, and Enterprise softwares. Sign into your Visual Studio (MSDN) subscription here.
๐ŸŒ
Microsoft Learn
learn.microsoft.com โ€บ en-us โ€บ answers โ€บ questions โ€บ 5549685 โ€บ visual-studios-2019-installer-no-longer-allows-me
Visual Studios 2019 installer no longer allows me to install offline. MSFT says a revocation check stops it - Microsoft Q&A
September 9, 2025 - Root cause The root cause is new certificate revocation checks enforced on layouts created since late June 2025. Offline machines cannot reach the revocation servers and the installer aborts. ... The safest path is to wait for the upcoming Visual Studio installer update (version three point fifteen), due in mid-August 2025.
๐ŸŒ
Developer Insider
developerinsider.co โ€บ download-visual-studio-2019-web-installer-iso-community-professional-enterprise
Download Visual Studio 2019 Web Installer / ISO (Community / Professional / Enterprise)
November 8, 2021 - You can download any of the below editions of Visual Studio 2019 directly from Microsoft servers: Currently, there is no such direct ISO available at this moment. Only option that we have is just to download the web installer and do a layout to grab the offline installation media.
Top answer
1 of 2
49

Microsoft no longer offers offline installers such as .ISO images of Visual Studio -- instead they have instructions of placing the burden on you to create an offline installer. You need to use the --layout command line argument and then run the downloaded installer.

  1. Download and Cache offline files:

    vs_community.exe --layout f:\vslayout.2019 --lang en-US
    
  2. Run from the cached directory

    f:
    cd \vslayout.2019
    vs_community.exe --noWeb
    

NOTE: Change drive F to match a drive on your system that has ~35 GB of free space for MSVC 2019. See the instructions for command line arguments to select just C++, .NET, etc. options.

You can get help on the command line arguments for the installer via:

vs_community --help

The relevant layout commands are:

command-line option     Description
--layout <dir>          Specifies a directory to create an offline install cache.
--lang <locales>        Used with --layout to prepare an offline install cache with resource packages with the specified language(s). See a full list of supported language-locales below.
--add <workload>        One or more workload or component IDs to add. The required components of the artifact are installed, but not the recommended or optional components. You can control additional components globally using --includeRecommended and/or --includeOptional. For finer-grained control, you can append ;includeRecommended or ;includeOptional to the ID (for example, --add Workload1;includeRecommended or --add Workload2;includeOptional).
                        Note: If --add is used, only the specified workloads and components and their dependencies are downloaded. If --add is not specified, all workloads and components are downloaded to the layout.
--includeRecommended    Includes the recommended components for any workloads that are installed, but not the optional components. The workloads are specified either with --allWorkloads or --add.
--includeOptional       Includes the recommended and optional components for any workloads being included in the layout. The workloads are specified with --add.
--keepLayoutVersion     Apply changes to the layout without updating the version of the layout.
--verify                Verify the contents of a layout. Any corrupt or missing files are listed.
--fix                   Verify the contents of a layout. If any files are found to be corrupt or missing, they are redownloaded. Internet access is required to fix a layout.
--clean <paths to catalogs>
2 of 2
27

I have developed an application using VB.NET to dynamically generate batch (.bat) scripts that can be used to download Visual Studio 2017, 2019, and 2022. You can customize the script using the controls included in the application and download it to a targeted drive. You can download it here.

This is my contribution to the community.