Install Office Professional Plus 2024, 2021 or 2019 with the Office Deployment Tool
- Office LTSC Pro Plus 2024
- Office LTSC Pro Plus 2021
- Office Pro Plus 2019
- MAK, 1PC and 5PC keys
Volume keys only activate the volume edition of Office. Microsoft distributes it through the free Office Deployment Tool (ODT), which downloads Office straight from Microsoft’s servers. You only need Notepad and a command prompt.
Before you start
- Remove every other Office version, including Microsoft 365 trials (how).
- Know which version your key is for: 2024, 2021 or 2019. They are not interchangeable.
- Keep the PC online during the install. Office downloads from Microsoft as it installs.
1. Download the Office Deployment Tool
- Download the tool from the Microsoft Download Center.
- Create a folder, for example
C:\ODT. - Run the downloaded file, accept the license and extract it to
C:\ODT. You getsetup.exeand some sample files.
2. Create configuration.xml
Open Notepad, paste the configuration for your version, and put your key in PIDKEY.
| Version | Product ID | Channel |
|---|---|---|
| Office LTSC Professional Plus 2024 | ProPlus2024Volume | PerpetualVL2024 |
| Office LTSC Professional Plus 2021 | ProPlus2021Volume | PerpetualVL2021 |
| Office Professional Plus 2019 | ProPlus2019Volume | PerpetualVL2019 |
<Configuration>
<Add OfficeClientEdition="64" Channel="PerpetualVL2024">
<Product ID="ProPlus2024Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
<Language ID="en-us" />
</Product>
</Add>
<RemoveMSI />
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>Configuration for Office 2021
<Configuration>
<Add OfficeClientEdition="64" Channel="PerpetualVL2021">
<Product ID="ProPlus2021Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
<Language ID="en-us" />
</Product>
</Add>
<RemoveMSI />
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>Configuration for Office 2019
<Configuration>
<Add OfficeClientEdition="64" Channel="PerpetualVL2019">
<Product ID="ProPlus2019Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
<Language ID="en-us" />
</Product>
</Add>
<RemoveMSI />
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>- In Notepad, choose File › Save as, open the folder
C:\ODT, set Save as type to All files and name itconfiguration.xml. - To install in another language, change
en-us, for example tofr-fr,de-deorvi-vn. - To skip an app, add a line like
<ExcludeApp ID="Access" />inside the Product element.
3. Install Office
- Search for cmd, right-click it and choose Run as administrator.
- Run:
cd /d C:\ODT setup.exe /configure configuration.xml - The Office installer window opens and downloads Office. When it finishes, the command prompt returns.
4. Activate
With the key in PIDKEY, Office activates on its own once it reaches Microsoft. Open Word and check File › Account. If it isn’t activated, use these commands in an administrator command prompt:
- Go to the Office folder: For 32-bit Office on 64-bit Windows the folder is
cd /d "C:\Program Files\Microsoft Office\Office16"C:\Program Files (x86)\Microsoft Office\Office16. Office 2019, 2021 and 2024 all useOffice16. - Enter the key:
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX - Activate:
cscript ospp.vbs /act - Check: Look for LICENSE STATUS: ---LICENSED---.
cscript ospp.vbs /dstatus
Bought a phone-activation key? See Activate Office by phone.
If it fails
| Message | What to do |
|---|---|
| 0xC004C008 in ospp | The key has reached its activation limit. Ask your seller for a replacement. |
| 0xC004F074 or a KMS error | The key was not applied. Run /inpkey again, then /act. |
| 0xC004F050 or “key is invalid” | The key is for another version. Check 2019, 2021 or 2024 and reinstall with the matching configuration. |
| “Something went wrong” during install | Usually another Office is still installed or the download was interrupted. Remove all Office, restart and run setup again. |
Key still not working?
Contact the seller you bought the key from. Reply to your order message with the error code or a screenshot: they can check the key and replace it if needed. We don’t sell keys and can’t check or replace them.