Activate Microsoft Office 2010 with Batch Script

Follow the instructions below to activate Microsoft Office 2010 with a small batch script. This can be useful for large deployment and scripting environments where you might be playing with sysprep or not able to activate Office using KMS server because you don’t have it.

Activate Microsoft Office 2010

Step 1

Create a batch file. In my example, I named mine act_office.bat.


Step 2

Copy the following code into your file, replacing ***KEY*** with your license key.

slmgr -ipk ***KEY***
slmgr -ato
cscript “C:\Program Files\Microsoft Office\Office14\OSPP.VBS” /inpkey:***KEY***
cscript “C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS” /inpkey:***KEY***


You may also like:

Install Canon ScanGear Tool Canon ScanGear is the official software from Canon, which is used for network scanning of documents and used by most scanners (including the CanoScan ...
Automatically Accept Meeting Requests in Microsoft... Follow the instructions below to automatically accept meeting requests and remove canceled meetings. There are instructions for both Microsoft Outlook...
Migrate email to Office 365 using WHM If you are like me, then you are simply wanting to migrate your email over to Microsoft Office 365 to take advantage of Exchange. Me and my colleague ...
Deleted items folder is unavailable I noticed that my IMAP account was having issues with my upgrade from Microsoft Outlook 2007 to Microsoft Outlook 2010. I was trying to delete emails ...
Run only scripts that you trust. (Powershell) If you are like me you have probably run into the following error when trying to run powershell scripts. This becomes very annoying and tedious if you...
  1. Posted by Jeff Burke
    • Posted by Jeff Burke
      • Posted by Mr J.
  2. Posted by Eric Berkbigler

Add Your Comment