Reactivation of Office Professional Plus 2021 from time to time on desktop shared by users

JAVIER GARCIA POVEDA 20 Reputation points
2024-06-06T14:19:43.1666667+00:00

Good morning, we have a Windows Server 2019 server desktop shared by multiple users using Parallels RAS technology. On said shared desktop, we have installed version of Office LTSC Professional Plus 2021 with active license key.

The problem is that every few days, Office loses its license and users cannot continue using it. To solve it, we have to re-enter the activation key.

Can you help us with the problem?

Thank you. All the best.

Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
3,975 questions
Office Management
Office Management
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Management: The act or process of organizing, handling, directing or controlling something.
2,172 questions
0 comments No comments
{count} votes

Accepted answer
  1. VasimTamboli 5,075 Reputation points
    2024-06-06T15:04:46.1133333+00:00

    This looks common issues nowdays where we shared office applications accross multiple users from same server.

    Make sure you’re using Volume Licensing for Office, not a retail key, which is better for shared environments.

    Try to Use tools like the Volume Activation Management Tool (VAMT) or set up a Key Management Service (KMS) to handle activations.

    you can also use below powershell script and put under task scheduler and make it weekly which will check office activation and reactivate again.

    Define the product key

    $productKey = "YOUR-PRODUCT-KEY-HERE"

    Define the Office version path

    $officePath = "C:\Program Files\Microsoft Office\Office16"

    Change directory to the Office installation path

    Set-Location -Path $officePath

    Uninstall any previous product keys

    cscript ospp.vbs /unpkey:XXXXX

    cscript ospp.vbs /unpkey:XXXXX

    cscript ospp.vbs /unpkey:XXXXX

    Install the new product key

    cscript ospp.vbs /inpkey:$productKey

    Activate the product key

    cscript ospp.vbs /act

    Check the license status

    cscript ospp.vbs /dstatus

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Jiajing Hua-MFST 10,565 Reputation points Microsoft Vendor
    2024-06-07T02:54:03.62+00:00

    Hi @JAVIER GARCIA POVEDA

    I suggest you refer to VasimTamboli's reply.

    For 64-bit version of Office, you may run following command in Command Prompt to check whether there is any other version of Office affects Office 2021.

    cscript.exe "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /dstatus

    To

    To remove other Office information, you may run following command with the Last 5 characters of installed product key (I replace it with XXXXX, but what you type in is what you see on your computer):

    cscript.exe "%ProgramFiles%\Microsoft Office\Office16\ospp.vbs" /unpkey:XXXXX


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment". Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


    1 person found this answer helpful.
    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.