Office License Management Tool

  1. Kari's Avatar
    Posts : 15,898
    Windows 10 Pro
       #1

    Office License Management Tool


    In case you will have any Office activation or functionality issues straight after installing Office or later on, you can most often resolve them with Office Client License Management Tool.

    The tool is a VBS script called OSPP.vbs (Office Software Protection Platform script) and is located in following folder:

    Office 32 bit: C:\Program Files (x86)\Microsoft Office\OfficeXX

    Change the XX according to your installed Office version:
    • Office13 = Office 2007
    • Office14 = Office 2010
    • Office15 = Office 2013
    • Office16 = Office 2016

    If you are using a 64 bit Office, the tool is located in following folder:

    C:\Program Files\Microsoft Office\OfficeXX

    All options of OSPP.vbs can be seen in help file OSPP.htm, located in same folder.

     Resolve Office activation issues

    Quite a many computers today with pre-installed Windows come with a trial version of Office. In some cases, this might lead to activation issues when user installs a Click-to-Run Office based on his / her subscription, be it Office 365 Personal, Home, Business or Enterprise.

    In this real-life example case, I had an interesting issue when setting up Windows 10 from a deployment image with pre-installed but not activated Office installed from my Office 365 for Enterprise subscription. Whatever I did Office was always deactivated after five days. I had no way to reactivate it.

    I tried uninstalling Office and this time re-installing it from my Office 365 Home subscription. The same: Office remained activated for five days, then deactivated. I did countless re-installs and re-deployments, always the same: Office remained activated for just five days.

    On an OEM laptop with pre-installed Windows and a 30 day Office trial, the activated Office was deactivated after 30 days.

    Once again after refreshing Windows, I used the OSPP.vbs to check what licenses were present. This is done with following command:

    cscript ospp.vbs /dstatus

    This revealed the issue: Office installed but not activated when customizing deployment image was present and shown as Grace Edition, license status being Out-of-Box Grace (blue highlight in screenshot). After deployment, when I had finally activated Office using my O365 credentials, the same Office installation was also shown as Subscription Edition, with license status Licensed (yellow highlight):



    Apparently any trial or grace edition of Office "trumps" an activated edition. In my case this meant that whatever I did to activate Office, when the trial / grace period came to end, my Office lost its activation status.

    The solution in this case was simple. First I had to remove the Grace Edition, then reactivate my "real" license.

    First, I removed the Grace Edition with following command using the five last characters of its product key shown in previous screenshot (yellow highlight in next screenshot):

    cscript ospp.vbs /unpkey:VMFTK

    When done, I reactivated my real subscription edition with following command. As it now was only found Office SKU / edition present on my system, no product key is required (blue highlight):

    cscript ospp.vbs /act


    (Click to show enlarged in a new tab.)

    Checking the installation and license status again now showed only one installed Office SKU / edition, Office was activated and my activation issues gone.

    To recap this: Check OSPP.vbs available options in OSPP.htm file. Check present Office SKUs / editions with /dstatus switch. Remove unnecessary trial and grace licenses with switch /unpkey:XXXXX where XXXXX is five last characters for key shown with /dsatus switch. Finally, activate your "real" Office installation and edition with /act switch.

    Notice that OSPP.vbs must be run from an elevated Command Prompt.

    Kari
    Last edited by Kari; 17 Mar 2018 at 09:52.
      My ComputerSystem Spec


  2. Posts : 43
    Windows 10 Pro x64-bit
       #2

    @Kari,
    Many, many thanks. It worked.

    No more Office activation problems.

    Thank you.

    Cheer's.
      My ComputerSystem Spec

  3. Kari's Avatar
    Posts : 15,898
    Windows 10 Pro
    Thread Starter
       #3

    You are welcome!
      My ComputerSystem Spec

  4.    #4

    @Kari

    I currently have Office365HomePrem trial installed in a VM I use for image creation to install on client machines. I haven't had any issues activating our client's Office when they purchase or sign-in with their already active paid O365 MS account.

    But I noticed the trial in my VM is expected to expire within the week. I tried following this article to extend the grace period by 30 days but to no avail. So is there another way to reset the activation period? Or is there any harm with having an expired trial version of O365 HomePremium in my VM used for Windows10 image creation -- meaning, would our client's have an issue using their O365 sign-in credentials or newly purchased subscriptions to activate an expired Office 365 trial after using this image to perform a clean install on their computers?

    Click image for larger version. 

Name:	O365 cscript.PNG 
Views:	4 
Size:	293.4 KB 
ID:	220542
      My ComputerSystem Spec

  5. Kari's Avatar
    Posts : 15,898
    Windows 10 Pro
    Thread Starter
       #5

    KabyBlue said: View Post


    Or is there any harm with having an expired trial version of O365 HomePremium in my VM used for Windows10 image creation -- meaning, would our client's have an issue using their O365 sign-in credentials or newly purchased subscriptions to activate an expired Office 365 trial after using this image to perform a clean install on their computers?
    I have an idea, but I would first need to know will Office be used on each client machine, or will end users in their turn decided if they want to activate it or not?

    Kari
      My ComputerSystem Spec

  6.    #6

    Kari said: View Post
    I have an idea, but I would first need to know will Office be used on each client machine, or will end users in their turn decided if they want to activate it or not?
    Kari
    Not sure I understand the question...

    I guess the end users will decide if they wish to activate it or not. Because some client's already have Office365 subscription while others might have an older version of Office (such as 2013) or may not really use Office in general (think of your older demographic who mainly use their devices to checking banking info online & browse the web).

    I ideally I like to have a O365 pre-installed to allow client's who we do data backups for to have the ability to at minimum be able to READ their .doc/.xls/.ppt files (even if they can't edit them). Then I usually they advice the consider purchasing Office365 since we often can't reinstall & activate their previous one-time license editions of Office (e.g Office Home&Student or Business).
      My ComputerSystem Spec


 

Related Threads
Microsoft Office 2016 3 User license in Microsoft Office and 365
I am trying to find a 3 (or multi) user license version of Microsoft Office 2016 but not having any luck. I know previous home and student versions of Office had a 3 user license but so far I'm not finding any for 2016. This needs to be for the...
Source: New tool for helping resolve Office 365 issues - Office Blogs
Solved Office 2016 fix it tool - where is it in Microsoft Office and 365
Hi there trying to completely uninstall Office 2016 so I can re-install a new version However clicking on the link to Office 2016 fix it tool just brings up an ad for the surface pro -- and that's from the Ms site. 75049 Anybody have a...
Hello, I'm new to these forums and not sure if this topic belongs here (sorry if it doesn't): Since updating my PC from Win 7 Pro to Win 10 Pro (via clean install from the November update Win 10 Pro ISO) I regularly get a process called...
Color Management Tool? in Customization
Hey, Is there some color management software out that you can control all the colors in Win10? I'm talking about the progress bars and title bars... Things like that.
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 18:06.
Find Us