Activate Windows and Office at the Command Line

Posted on January 21, 2012
Filed Under Office, Scripting, Vista, Windows 7, Windows Server 2008

I was recently looking for a way to activate Windows 7 and Office 2010 at a command prompt; this is what I found…

Since the release of Vista, you can use the command line utility slmgr for Windows activation when using a MAK (or Multiple Activation Key).

Windows Activation

  1. Open a command window (as administrator)
  2. And run…

slmgr -ipk xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
slmgr -ato

Office Activation

  1. Open a command window (as administrator)
  2. From C:\Program Files\Microsoft Office\Office14 run…

cscript ospp.vbs /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
cscript ospp.vbs /act

Who needs all that pointing and clicking anyway?

Comments

Leave a Reply