Changing office 2010 key from MAK TO KMS + Activation
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
Answers (1)
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.
Comments:
-
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 - LS-NetTech1 11 years ago-
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 - anonymous_89761 11 years ago-
No, its a demo off the microsoft site..
Yea I read the same thing I can't get it to work.. - LS-NetTech1 11 years ago
-
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. - mpace 11 years ago
-
Ok, will take a look at it later today - anonymous_89761 11 years ago
-
This works for us no problems....
cd "c:\windows\system32"
cscript slmgr.vbs /skms [your.kms_server.fqdn.com]
cscript slmgr.vbs /ato - rsm11 11 years ago-
@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 - LS-NetTech1 11 years ago