HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

ospp.vbs — Install, activate, and manage volume licensed versions of Microsoft Office products. Note: This comm

Submitted by: @import:tldr-pages··
0
Viewed 0 times
volumeospp.vbscommandandinstallclimanageactivate
windows

Problem

How to use the ospp.vbs command: Install, activate, and manage volume licensed versions of Microsoft Office products. Note: This command may override, deactivate, and/or remove your current volume of licensed Office product versions, so please proceed cautiously. More information: <https://learn.microsoft.com/deployoffice/vlactivation/tools-to-manage-volume-activation-of-office>.

Solution

ospp.vbs — Install, activate, and manage volume licensed versions of Microsoft Office products. Note: This command may override, deactivate, and/or remove your current volume of licensed Office product versions, so please proceed cautiously. More information: <https://learn.microsoft.com/deployoffice/vlactivation/tools-to-manage-volume-activation-of-office>.

Install a product key (Note: It replaces the existing key):
cscript ospp.vbs /inpkey:{{product_key}}


Uninstall an installed product key with the last five digits of the product key:
cscript ospp.vbs /unpkey:{{product_key_digits}}


Set a KMS host name:
cscript ospp.vbs /sethst:{{ip|hostname}}


Set a KMS port:
cscript ospp.vbs /setprt:{{port}}


Activate installed Office product keys:
cscript ospp.vbs /act


Display license information for installed product keys:
cscript ospp.vbs /dstatus

Code Snippets

Install a product key (Note: It replaces the existing key)

cscript ospp.vbs /inpkey:{{product_key}}

Uninstall an installed product key with the last five digits of the product key

cscript ospp.vbs /unpkey:{{product_key_digits}}

Set a KMS host name

cscript ospp.vbs /sethst:{{ip|hostname}}

Set a KMS port

cscript ospp.vbs /setprt:{{port}}

Activate installed Office product keys

cscript ospp.vbs /act

Context

tldr-pages: windows/ospp.vbs

Revisions (0)

No revisions yet.