Share via

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
0 comments No comments

2 answers

Sort by: Most helpful
  1. Sophie N 14,205 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.


  2. Q&A Assist
    2025-12-18T16:50:46.12+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    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.

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.