Office License Management Tool

Page 1 of 2 12 LastLast

  1. Posts : 17,661
    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 Computer


  2. Posts : 67
    Windows 10 Pro x64 - 21H2 (OS BUILD 19044.1202)
       #2

    @Kari,
    Many, many thanks. It worked.

    No more Office activation problems.

    Thank you.

    Cheer's.
      My Computer


  3. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #3

    You are welcome!
      My Computer


  4. Posts : 138
    Windows 10
       #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?

    Office License Management Tool-o365-cscript.png
      My Computer


  5. Posts : 17,661
    Windows 10 Pro
    Thread Starter
       #5

    KabyBlue said:


    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 Computer


  6. Posts : 138
    Windows 10
       #6

    Kari said:
    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 Computer


  7. Posts : 7,895
    Windows 11 Pro 64 bit
       #7

    I spotted you can also use the Volume Activation Mnagement Tool to check license status https://www.microsoft.com/en-us/down...ng=en&id=11936

    I wanted to use it to check the status of a spare product key but the verify key is greyed out I guess because I don't have access to a KMS host.
      My Computers


  8. Posts : 21
    Win10 19044.1503
       #8

    I noticed one of my former M365 accounts wasn't removed after signing up for a new M365 subscription and still acted as if I was using it (been deactivated on the msft side), and then noticed many others O365 accounts that showed me 'logged in' in my M365 apps, but I knew were old and inactivated (former msft contractor). After running the Support and Recovery Assistant tool below, it removed all the old entries, and reset my login. I then logged in with current credentials and voila, all is working as it should again w/o all the old entries. I hope this helps someone where the cmd options above didn't/doesn't work completely.

    The tool below automates everything and goes through several steps and tells you what it's doing along the way. Try the link below (direct). It can be found towards the top of this support page page article (similar to the steps listed here):
    https://docs.microsoft.com/en-us/off...tivation-state.

    https://aka.ms/SaRA-OfficeActivation-Reset
      My Computer


  9. Posts : 110
    Windows 10 Pro
       #9

    What is HFS Plus and is it needed to run Office 365? I got this offer that seems to be good.
    Office License Management Tool-image-screenshot_20221113_064210_chrome.jpg
      My Computer


  10. Posts : 15,480
    Windows10
       #10

    EddieB1106 said:
    What is HFS Plus and is it needed to run Office 365? I got this offer that seems to be good.
    Office License Management Tool-image-screenshot_20221113_064210_chrome.jpg
    That is only needed for boring Apple PCs.
      My Computer


 

  Related Discussions
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 17:47.
Find Us




Windows 10 Forums