Remember to maintain security and privacy. Do not share sensitive information. Procedimento.com.br may make mistakes. Verify important information. Termo de Responsabilidade

How to Manage Microsoft Office Activation Using ospp.vbs

The ospp.vbs script is a powerful tool included with Microsoft Office that allows users to manage Office product activation. This script is especially useful for IT administrators who need to automate the activation process across multiple machines. By leveraging ospp.vbs, you can activate, check the activation status, and even troubleshoot activation issues from the command line. This article will guide you through the practical use of ospp.vbs in a Windows environment.

Examples:

  1. Checking Activation Status: To check the activation status of Microsoft Office, open Command Prompt as an administrator and navigate to the Office installation directory. The default path for Office 2016/2019/2021 is usually C:\Program Files\Microsoft Office\Office16 or C:\Program Files (x86)\Microsoft Office\Office16 for 32-bit installations on a 64-bit system.

    cd "C:\Program Files\Microsoft Office\Office16"
    cscript ospp.vbs /dstatus

    This command will display the activation status of all installed Office products.

  2. Activating Microsoft Office: To activate Microsoft Office using a product key, you can use the following command:

    cd "C:\Program Files\Microsoft Office\Office16"
    cscript ospp.vbs /inpkey:XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
    cscript ospp.vbs /act

    Replace XXXXX-XXXXX-XXXXX-XXXXX-XXXXX with your actual product key. The first command inputs the product key, and the second command activates Office using the entered key.

  3. Removing a Product Key: If you need to remove a product key from an Office installation, use the following command:

    cd "C:\Program Files\Microsoft Office\Office16"
    cscript ospp.vbs /unpkey:XXXXX

    Replace XXXXX with the last five characters of the product key you wish to remove.

  4. Viewing Detailed License Information: To get detailed information about the installed licenses, use:

    cd "C:\Program Files\Microsoft Office\Office16"
    cscript ospp.vbs /dlicensel

    This command provides a comprehensive overview of all the licenses installed on the system.

To share Download PDF

Gostou do artigo? Deixe sua avaliação!
Sua opinião é muito importante para nós. Clique em um dos botões abaixo para nos dizer o que achou deste conteúdo.