Changing office key during osd RRS feed

  • Question

  • Hi,

    I was using  office mak  key. Now  it reached the maximum . Office is in the reference image .

    During osd can I change the key 


    Wednesday, February 28, 2018 3:12 AM


  • Sure you can. For a simple batch file just use 

    cscript "%systemdrive%\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" /inpkey:XXXXX-XXXX...etc

    then run

    cscript "%systemdrive%\Program Files (x86)\Microsoft Office\Office16\ospp.vbs" /act

    Change the path to match whichever version of Office you are using. 


    oShell.Run("cscript " & oENV("ProgramFiles(x86)") & "\Microsoft Office\Office16\ospp.vbs /inpkey:XXXXX")

    oShell.Run("cscript " & oENV("ProgramFiles(x86)") & "\Microsoft Office\Office16\ospp.vbs /act"),0,True

    Daniel Vega

    • Edited by Dan_Vega Wednesday, February 28, 2018 9:34 PM
    • Marked as answer by supportsib Friday, March 16, 2018 5:36 AM
    Wednesday, February 28, 2018 9:33 PM