Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade
Microsoft Office 365 is a vital productivity suite for businesses, professionals, and students. Activating it correctly ensures uninterrupted access to tools like Word, Excel, and Teams. This guide, intended for intermediate users and IT administrators, shows how to verify and activate Office 365 using the Windows Command Prompt (CMD). Important: You must have a valid product key and run CMD with administrator privileges. Always use legitimate keys from authorized sources like Microsoft or licensed resellers.
Examples:
1. Check Office Version and Activation Status When to use: Before activating or troubleshooting, verify the installed Office version and current activation state.
Windows + S
, search for cmd
, right-click on "Command Prompt", and select Run as administrator.cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus
If unsure about the path, use:
dir "C:\Program Files*\Microsoft Office*\OSPP.VBS" /s
Result: You’ll see details like the product name, license status (LICENSED
or UNLICENSED
), the last 5 characters of the key, and expiration date if relevant.
Note: If it fails, verify Office is installed and the path is correct. Errors like “Product key not found” mean Office is not activated.
2. Activate Office 365 with a Product Key When to use: You have a valid product key from Microsoft or a certified reseller.
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
with your 25-character product key:cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /act
Result: You should receive a “Product activation successful” message. Confirm with /dstatus
.
Note: If activation fails, check your internet connection, the validity of the key, or for errors like 0xC004F074
(activation server not available). Contact Microsoft Support if needed.
Practical Tips for Office 365 Activation:
/dstatus
shows UNLICENSED
, retry /act
or reinstall the key. Ensure no firewall blocks activation servers (e.g., kms.msguides.com
).cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /sethst:your_kms_server
/dstatus
for future reference.