I am looking for to change the office 2010 key from MAK to KMS with activation. I did this for Windows 7 but doing it the similar way didn't work. I have been trying to do this with the K1000

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

4

the following commands will be needed and can be scripted:

Run the following ospp.vbs from this folder %programfiles%\Microsoft Office\Office14.

Use csript to get no msgbox from the Script Echo.

Here are the needed steps in the script.

1. cscript ospp.vbs /inpkey:<kms product key>

The required KMS Office key you get here http://technet.microsoft.com/en-us/library/ee624355.aspx#section2-3

2. cscript ospp.vbs /sethst:<kms.dns.name>

This is needed if you want set your kms server name manually

3.  cscript ospp.vbs /act

This step activates you Office Installation.

source: Technet - http://social.technet.microsoft.com/Forums/office/en-US/8e35dd0f-bdb3-4cb6-8c37-5e504e8a7a5a/change-office-2010-product-key-from-mak-to-kms-on-thousands-of-xp-machines

Answered 09/20/2013 by: petryb
Third Degree Brown Belt

  • Does this script look right, I am not a good script guy

    @echo off

    CD C:\Program Files\Microsoft Office\Office14
    runas /user:Domain\Administrator
    cscript ospp.vbs /inpkey:<VYBBJ-TRJPB-QFQRF-QFT4D-H3GVB>
    pause
    cscript ospp.vbs /sethst:KMSDNS
    pause
    cscript ospp.vbs /act
    pause
    exit
    • i hope that is not your real key in the script ? just edit it for your own safety.
      im also not a script guy, but it seems to be valid according the technet code
      • No, its a demo off the microsoft site..

        Yea I read the same thing I can't get it to work..
    • The file path needs quotations: CD "C:\Program Files\Microsoft Office\Office14" and RUNAS will prompt for a password unless you include it in the script. If you are using the K1000, I would skip the RUNAS command and use the Scripting module to run the script as a specific user.
  • Ok, will take a look at it later today
  • This works for us no problems....

    cd "c:\windows\system32"
    cscript slmgr.vbs /skms [your.kms_server.fqdn.com]
    cscript slmgr.vbs /ato
    • @echo off

      cd "C:\Program Files\Microsoft Office\Office14"
      cscript ospp.vbs /inpkey:PRODUCTKEY
      cscript ospp.vbs /SETHST:DNSNAME
      cscript ospp.vbs /act
      exit

      That works as a Bat file, now how do I take that and incorporate that into the K1000
Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share