Friday, March 29, 2013

How to Manually Activate Microsoft Office 2010/2013

The following commands should be done from a command prompt using Elevated Permissions. 

First, find out the address of the Key Management Server (KMS) using DNS replacing the example ".domain.com" with the proper domain for your workstation and environment.

I am using "dig" instead of "nslookup" because it is what I am most familiar with. If using "nslookup" go into interactive mode and change the query type to SRV before searching.

c:\>dig SRV _vlmcs._tcp.domain.com

For example, if your Company Domain is "acme.com", the command would be:

c:\>dig SRV _vlmcs._tcp.acme.com

Next, change to the MS Office 2010 directory. On Windows 7 x64 it is:

c:\>cd "\program files (x86)\Microsoft Office\Office14"

Office 2013 may be in directory Office15:

c:\>cd "\program files (x86)\Microsoft Office\Office15"

Display the current activation status

cscript ospp.vbs /dstatus

Next, set the default server to be used where "lic_server.domain.com" is the one discovered using the DNS lookup above.

cscript ospp.vbs /sethst:lic_server.domain.com

For example, if your company domain is "acme.com" and the license server hostname is "mslicenseserver01" the command should be:

cscript ospp.vbs /sethst:mslicenseserver01.acme.com

Activate Office

cscript ospp.vbs /act

No comments: