Mass Activating Office 2010
It seems like any situation that could possibly arise probably will and then you will need to take care of it as an IT consultant. Yesterday’s scenario revolved around the joys of handling an Office 2010 licensing issue in an environment where machines needed to be rushed out while the Office 2010 licensing was being acquired. Once the key was available, it was time to push it out and end the trial period on the software. Would you want to walk around to 50+ workstations and input the key, then activate? I know I wouldn’t!
Scripting to the rescue! Microsoft was kind enough to include a VBS script in the root of the Office 14 folder that enables us to perform this task rather easily.
cscript “C:\Program Files\Microsoft Office\Office14\ospp.vbs” /inpkey:xxxxx-xxxxx-xxxxx-xxxxx-xxxxx
cscript “C:\Program Files\Microsoft Office\Office14\ospp.vbs”/act
It’s as simple as two lines in a batch script to fire this bad boy off. Remember, if you are dealing with 64-bit machines, you’ll need to point to Program Files (x86). If you have a mix, it’s easy enough to add logic to account for it (if you want to be that thoughtful) or just add two more lines to try running the script in both locations if you are in a rush and feeling lazy. Load this script into your RMM and fire away! The results when run from command prompt look something like this:
I don’t know about you, but I love scripts that save me huge amounts of time. Also noteworthy, this is quicker than going through the normal wizard on a machine to enter a product key and activate.