How to Auto Enter Microsoft Office 2007 Product Key while Installation

Today I came across an article on which explains how to auto enter a Microsoft Office product key while installation. This trick works fine on Office 2003. Here’s a detailed tutorial on how to do it:

1. Firstly, insert the Microsoft Office CD and copy all its contents into a particular folder on your hard disk.

2. Now, go to Files> Setup, right click on the ‘Setup.ini’ file, Select ‘Properties’ and uncheck ‘Read-only’. This will allow you to edit the file.

3. Open ‘Setup.ini’ using notepad or WordPad, locate [Options] and right at the bottom of the options, type PIDKEY=’product key’. Replace the ‘product key’… with your genuine Office product key.

4. Save the setup.ini file and burn all the files to a new disc if you need to. Well, sometimes launching the installer from the hard disk also works out, in such a case you don’t really need to burn the contents.

Now whenever you run Microsoft Office installation, you will notice that the product key has been auto inserted in the box. This will save a lot of time as you don’t need to enter looking at the box.

For Microsoft Office 2007:
For Office 2007, look for a folder with the name Enterprise.WW/ Standard.WW/ Pro.WW in the Office 2007 folder. Edit the config.xml file, remove the comment out code for PIDKEY and enter the 25 digit Office 2007 CD Key WITHOUT dashes. It should look like the screenshot above.

RELATED: How to Get Classic Menu in Office 2007



7 comments for “How to Auto Enter Microsoft Office 2007 Product Key while Installation”

  • tou

    there is no setup.ini in office 2007.

  • Sorry for the mistake. Just updated the post.
    I didn’t have 2007 CD before, hence I couldn’t check it.

  • Diego Silva

    The File, is Config.XML

    This File is:


    In Office Professional, in Folder PROPLUS.WW.

    In Office Enterprise, in Folder ENTERPRISE.WW

    The Screen, and post above is correct, just a name of file is wrong.

    see ya!

  • francisco

    i try with office 2007 but it still asking for the 25 charanter product key
    i open the office 2007 and go to the file pror.ww and right click on the config.xml and put the 25 character but it won’t work

  • mcsebala

    i really impressed.thanks a lot.

  • yo


  • Alien

    very good!

web analytics