Activar Office 2016 Via Cmd Link
Navigate to the folder containing OSPP.VB (Office Software Protection Platform script). The path varies by architecture:
| Office Architecture | Typical Path |
| :--- | :--- |
| 32-bit (x86) | C:\Program Files (x86)\Microsoft Office\Office16 |
| 64-bit (x64) | C:\Program Files\Microsoft Office\Office16 |
Depending on your key type, you have two options:
Once inside the correct directory, use the following command to install your legitimate product key: activar office 2016 via cmd
cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
Replace the X’s with your actual 25-character product key.
Example:
cscript ospp.vbs /inpkey:N9J3Q-TH3X3-9R2F8-K7D6G-5V9L2
If successful, you will see a message:
<Product key installation successful> Navigate to the folder containing OSPP
The same OSPP.VBS method works for Office 2019 and Office 2021 (still in the Office16 folder), but Office 365 uses a different licensing model (click-to-run) and usually requires signing into a Microsoft account. For Office LTSC 2021, the commands are identical.
| Error Code | Message | Solution |
|------------|---------|----------|
| 0xC004F074 | Key management service (KMS) not available | Check your network connection to the KMS server. Ensure the KMS host is online and firewall allows port 1688. |
| 0xC004C003 | Product key is blocked | Your key is either invalid, revoked, or already used on too many machines. Contact your vendor for a new key. |
| 0x8007000D | Invalid data | The product key format is incorrect. Re-enter the key carefully. |
| 0x8007232B | DNS name does not exist | The KMS host name could not be resolved. Use an IP address or check your DNS. |
| No product key found | Key not installed | Run the /inpkey command again before /act. |
Confirm success by checking the license status again: Replace the X’s with your actual 25-character product key
cscript ospp.vbs /dstatus
You should see LICENSED in the output.
Run the following to check the current activation state:
cscript ospp.vbs /dstatus
This displays the last 5 digits of the installed product key and license status.
