1. Open a Command Prompt as Administrator
2. Navigate to C:Program FilesMicrosoft OfficeOffice14 directory or Program Files(x86) if you installed a 32 bit office on a 64 bit PC.
3. Run the following command to set the KMS server
cscript ospp.vbs /sethst:name of KMS server
4. Run the following command to active office
cscript ospp.vbs /act