Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Select an option

  • Save wu-jianchong/857e00944707e6fedac0fb217b4a95d9 to your computer and use it in GitHub Desktop.

Select an option

Save wu-jianchong/857e00944707e6fedac0fb217b4a95d9 to your computer and use it in GitHub Desktop.
Download and Install Microsoft Office 2021 (LTSC)
  1. Download the official installer

Office Deployment Tool

https://www.microsoft.com/en-US/download/details.aspx?id=49117
  1. Create a folder into "C:" called "Install"
C:\Install\
  1. Run the installer (officedeploymenttool_18827-20140.exe) and select the previous folder to extract
Screenshot 2025-07-13 at 16 38 32
  1. Create a config file into "C:\Install" with the NotePad and name it "configuration.xml"
<Configuration>
  <Add OfficeClientEdition="64" Channel="PerpetualVL2021" SourcePath="C:\Install" AllowCdnFallback="FALSE">
    <Product ID="ProPlus2021Volume">
      <Language ID="MatchOS" />
      <ExcludeApp ID="OneDrive" />
      <ExcludeApp ID="Teams" />
    </Product>
  </Add>
  <Property Name="SharedComputerLicensing" Value="0" />
  <Property Name="FORCEAPPSHUTDOWN" Value="FALSE" />
  <Property Name="DeviceBasedLicensing" Value="0" />
  <Property Name="SCLCacheOverride" Value="0" />
  <Property Name="AUTOACTIVATE" Value="0" />
  <Updates Enabled="TRUE" />
  <Display Level="None" AcceptEULA="TRUE" />
</Configuration> 

  1. Open a CMD with Admin Privileges

  2. Navigate to the folder

cd "C:\Install\"
  1. Proceed to install You need to wait until the CMD lets you write again
setup /download configuration.xml
setup /configure configuration.xml
  1. Once it's done, open Word from Windows apps
Screenshot 2025-07-13 at 16 43 51
  1. Press "Settings" and go to the "Account" section
Screenshot 2025-07-13 at 16 44 09
  1. Press into "change product key" and introduce the purchased key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment