Installation of LTSC 2024 in Virtual Machine without Intenet access

Shravan Viswanathan0101 0 Reputation points
2025-12-18T16:50:33.8+00:00

Hello Team,

I am using a VM without internet connection and would like to install Office LTSC 2024 version. For this I have a Office Deployment Tool**(ODT)** in place. I would like to know what are URL's that needs to be whitelisted to create an office offline bundle so that I can proceed with offline installation on my VM. I have searched the internet but I do not find any documentation provided by Microsoft for the same. Any help is appreciated in providing all the URL's to be whitelisted or any Documentation for the same.

Microsoft 365 and Office | Install, redeem, activate | For business | Windows

Locked Question. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.

0 comments No comments

3 answers

Sort by: Most helpful
  1. Sophie N 18,170 Reputation points Microsoft External Staff Moderator
    2025-12-18T23:57:40.8766667+00:00

    Dear @Shravan Viswanathan0101,

    Thank you for reaching out to the Microsoft 365 Q&A forum community support team. We understand you need to create an offline installation package for Office LTSC 2024 using the Office Deployment Tool (ODT) in an environment without internet access. This is a common scenario for secure or air-gapped systems. 

    Below is a concise, step-by-step guide to achieve this, including the required endpoints for whitelisting and official Microsoft references. 

    Since your VM has no internet, you must first use a connected machine (with internet) to download the offline installation files, then transfer them to your VM. 

    Step 1: Prepare on a connected machine 

    1. Download the Office Deployment Tool (ODT) from the official source:  Microsoft Download Center: Office Deployment Tool  and save setup.exe (the ODT). 
    2. Create a Configuration XML file for Office LTSC Professional 2024 (example configuration.xml): 
         <Configuration> 
           <Add OfficeClientEdition="64" Channel="PerpetualVL2024"> 
             <Product ID="Pro2024Volume"> 
              <Language ID="en-us" /> 
             </Product> 
           </Add> 
           <Updates Enabled="FALSE" /> 
           <Display Level="None" AcceptEULA="TRUE" /> 
           <Logging Path="%TEMP%" Level="Standard" /> 
         </Configuration> 
      
      Note: Adjust Language ID as needed. The PerpetualVL2024 channel is for LTSC 2024. 
    3. Download Office files on the connected machine: 
      • Place setup.exe (ODT) and configuration.xml in a folder (e.g., C:\OfficeDownload). 
    4. Open Command Prompt as Administrator in that folder and run:  
         setup.exe /download configuration.xml
      
      This downloads all necessary Office LTSC 2024 files into a subfolder named Office. 

       

    Step 2: Whitelisted URLs (for your firewall/proxy) 

    To successfully download the offline files on the connected machine, ensure these endpoints are accessible. These are the primary Office CDN URLs used by ODT:User's image

    Important: 

    • Whitelist officecdn.microsoft.com (and subdomains) fully, as it hosts the bulk of installation binaries. 
    • If using volume licensing, your VM will later need access to your KMS server or MAK activation via internal network. 

    For a comprehensive, official list, refer to: Microsoft 365 URLs and IP address ranges - Microsoft 365 Enterprise | Microsoft Learn 

    Filter for the Microsoft 365 Common and Office service category. 

       

    Step 3: Offline installation on your VM 

    1. Copy the entire download folder (including Office subfolder, setup.exe, and configuration.xml) to your VM. 
    2. In the VM, modify configuration.xml to ensure <Updates Enabled="FALSE" /> remains. 
    3. Run installation as Administrator:  
         setup.exe /configure configuration.xml 
      
    4. Activation: 
      • If using KMS: Ensure VM can reach your KMS host over TCP port 1688. 
      • If using MAK: Run cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX (in %ProgramFiles%\Microsoft Office\Office16). 

       

    Immediate verification 

    • After installation, open any Office app to check if it runs without prompting for internet. 
    • For activation errors, check:  
        cscript ospp.vbs /dstatus 
      

    For reference, you can review Microsoft’s official guidance: 

    Deploy Office LTSC 2024 - Office | Microsoft Learn 

    Configure ODT for offline installation 

    This method ensures a fully offline installation. If you encounter specific errors during the download or installation phase, please share the exact error message from the logging file for further assistance. 

    Please note that as a forum moderator, I don’t have access to backend tools or internal systems to investigate further, and certain settings or configurations are managed exclusively by your organization’s administrators, so I’m unable to check or make changes on that side. That said, I truly hope these suggestions help you move forward.   

    Thank you for your patience. We are here to support your deployment. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".   

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    Was this answer helpful?

    1 person found this answer helpful.
  2. FBACHPG98-6666 0 Reputation points
    2026-08-04T19:09:46.42+00:00

    Hello,

    I also try to install Office 2024 LTSC in an environment without Internet Access.
    Downloading and installing from a local folder, as you explained, works.

    However, the big issue is that it takes ages. Installation is really slow. Looking at the log files show many attempts to connect to the Internet even though it shouldn't. This causes many timeouts and increase installation time for nothing. The measured difference is huge, from 15 minutes without Internet connection to only 5 minutes with Internet connection (both with the same configuration file and local folder of course).

    To go further, if I try to run "setup.exe /?" to get help, it takes 4 minutes... and return nothing. Log file shows many time gaps between action, reflecting the timeout. There are many entries named "Activity" or "Telemetry".

    For instance, among many (duration is huge):

    08/04/2026 20:45:13.921 SETUP (0x1afc) 0xe2c Activity bjtcw Medium ActivityEnded {"Name": "Office.Experimentation.EcsFetch", "CV": "7k3JE8DRLUmDvC6xg4S2BQ.6.1.1", "Duration": 84437437, "Success": false, "Result.Code": 6, "Result.Type": "EcsRetrieveError", "Data.RequestETag": "\"\"", "Data.EndpointInfo.Endpoint": 2, "Data.EndpointInfo.CleanEndpointUrl": "https://ecs.office.com/config/v2/Office/officeclicktorun/16.0.19231.20072/Production/LTSC2024?&EcsCanary=1&Clientid={3EA65A28-F096-446A-888E-B07500787C6B}&Application=officeclicktorun&Platform=win32&Version=16.0.19231.20072&MsoVersion=16.0.19231.20072&ProcessName=C2R.exe&Audience=Production&Build=ship&Architecture=x86&OsVersion=10.0&OsBuild=26200&Channel=LTSC2024&InstallType=C2R&SessionId={13C94DEE-D1C0-492D-83BC-2EB18384B605}&LabMachine=false", "Data.EndpointUrl_Length": 447, "Data.IsHttpRequestCanceled": true}

    How can we disable CDN connections? This is really an issue when you have to install Office on many machines.

    Many thanks for your help.

    Was this answer helpful?

  3. AI answer

    2025-12-18T16:50:46.12+00:00

    To install Office LTSC 2024 on a virtual machine without internet access, you will need to create an offline bundle using the Office Deployment Tool (ODT). Unfortunately, the provided context does not specify any URLs that need to be whitelisted for creating an offline bundle. However, it does mention that you can download the Office LTSC 2024 installation files from the Office Content Delivery Network (CDN) to a local network location before proceeding with the installation.

    Here are the general steps you can follow to create the offline bundle:

    1. Download the Office Deployment Tool (ODT) from the Microsoft Download Center.
    2. Create a configuration.xml file that specifies the source path for the installation files and the products you want to include in the offline bundle.
    3. Run the ODT with the command to download the installation files to your specified location. This will allow you to install Office LTSC 2024 on your VM without needing internet access.

    For detailed instructions on how to create the configuration file and download the installation files, refer to the official Microsoft documentation on deploying Office LTSC 2024.

    If you need specific URLs for whitelisting, I recommend reaching out to Microsoft support directly, as they may have more detailed information regarding network requirements for offline installations.

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?