| Action | Command | |--------|---------| | Install a product key | cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX | | Display installed key last 5 chars | cscript ospp.vbs /dstatus | | Activate online | cscript ospp.vbs /act | | Activate via KMS | cscript ospp.vbs /sethst:kms.yourdomain.com → then /act | | Remove a key | cscript ospp.vbs /unpkey:XXXXX | | Show activation status | cscript ospp.vbs /dstatus |
Common reasons:
If you are searching for an , the most important thing to know is that this script is already part of your Microsoft Office installation. You typically do not need to download it from a third-party website, as it is a built-in administrative tool used for managing and troubleshooting Office licenses. Where to Find OSPP.VBS on Your PC ospp.vbs download