Entering Office 2010 Product key via a batch

January 8, 2011 at 18:36:36
Specs: Windows 7, na
How do I install Office 2010 (home & student) unattended via a batch script that first asks the user for their product key i.e.

Set /p officekey=Enter key without "-":

I want to use the config.xml (same directory as the setup.exe) with the %officekey% variable in there so when i run my batch script, iit asks for the code and I walk away... I can't get it working though...

See More: Entering Office 2010 Product key via a batch

Report •

January 9, 2011 at 14:12:25
It could be done with batch.

But you will need to find location of the regedit key, and enter the code into regedit.

Google: Microsoft Office 2010 office key regedit

I dont have time atm (sorry) , so if you research abit, ill look for the script.


Happy is ONE who says I am an OttoMAN.

Report •

January 11, 2011 at 16:15:13
I'm afraid i'm not wanting to do anything with the reg key, the batch i'm running will be asking for the code before the software even begins installing, and then use the variable inside a config.xml file which makes the install unattended.

Report •

Related Solutions

Ask Question