Clean Install Windows 7 With Upgrade Media and Product Key on Formatted or Empty Blank Hard Drive
Retail version of Windows 7 has two main primary type of licenses – full or full package product (FPP) and upgrade, where the most obvious differences between full and upgrade versions are different prices for full and upgrade license, and customers have to possess an existing Windows license to be eligible for upgrade license.
Officially, Windows 7 Upgrade version only allow an user to “upgrade” from a previous version of Windows operating system, via “in-place upgrade” or custom install, which replaces old Windows. Even if upgrade path from some versions of older Windows cannot perform “in-place upgrade”, and require user to perform a custom clean install, but it only means that user has to start the Windows 7 installation from within an existing Windows, and choose “Custom Install” during the course of Windows 7 setup.
Windows 7 Upgrade license wants to see an installed and activated copy of Windows XP or Windows Vista before installation is allowed. As Windows 7 setup does not ask for an existing CD or DVD disc of Windows, thus if user full formats and wipe XP or Vista installation so that the drive is empty and blank before using the upgrade disc, setup no longer able to see any existing installation, and will return “Invalid Product Key” error message.
Tip: User is allowed to create or delete hard disk drive or partition during the setup through Custom (advanced) -> Drive options (advanced) option (note: a 100 MB system reserved partition may be created by Windows 7 Setup), or let Windows 7 install wizard backup the existing Windows files to Windows.old directory, and then delete and wipe clean the whole partition volume prior to install Windows 7.
Many people believe that Windows 7 FPP (full version) disc media or ISO is different from ISO image or disc media of Windows 7 Upgrade version. In fact, the Windows 7 Upgrade disk and Windows 7 FPP disc may be similar, if not completely the same. Only product key represents the actual version of license bought, and Windows 7 will validate against the product key, as shown by Microsoft Product Key Checker.
Not everybody has a PC readily installed with a Windows for upgrade. And more people does not have time to install an operating system especially the time-consuming Windows Vista just to install Windows 7 Upgrade version. Good news is that Windows 7 upgrade media or ISO image and product keys can be used to perform clean install or custom install on a blank and emtpy PC without any prior OS installed. With the following clean install hacks or custom install tricks, which not only save the headache of users who need to install on a new or clean computer system, but also mean everybody just need to purchase an Windows 7 upgrade license, which costs up to $100 cheaper over a Windows 7 full edition price.
How to Clean Install Windows 7 with a Upgrade DVD Disc or ISO Image
Note: User who has downloaded Windows 7 boxed ESD installation files should follow these steps to create a bootable Windows 7 ISO image from unpacked Windows 7 installation files and burn to DVD prior to follow guide below.
- Boot up the PC with the Windows 7 Upgrade DVD disc media into DVD-ROM drive.
Note: May need to change boot sequence or boot order of device in BIOS, and/or press any key to boot from CD/DVD drive.
- Follow the Windows 7 Install Wizard to install the operating system on the blank, empty and clean system.
- During installation, when prompted for a product key, DO NOT enter the upgrade version product key.
Tip: This step is to prevent “Invalid Product Key” error. User can try to input the serial number to check if setup accepts the key. If it’s accepted, all the rest of steps can be skipped.
- Unselect and untick the Automatically activate Windows when I’m online check box during the installation process.
- After Windows 7 is installed, boot up to desktop, and manually enter the Windows 7 upgrade product key to activate online or activate via phone.
Steps above, which is practically how to perform clean install with a Windows 7 full version media and product key, should work for some, if not most, users. On system that the system still does not accept an upgrade version product key, or face activation failure error code of 0xC004F061, try one or more of the following workarounds to get Windows 7 activated:
Workaround 1: Use SLMgr Commands to Insert Product Key and Activate
- Open an elevated command prompt as administrator.
- Use the following command to install product key:
slmgr -ipk <upgrade product key>
- Activate Windows 7 with the following command:
slmgr -ato
Steps above have also been used to clean install Windows Vista Upgrade version. To check activation status from command line, use slmgr -dlv or slmgr -dli.
Workaround 2: Clean Install Windows 7 Upgrade with Double Installs
- After starting up the just installed Windows 7 system, allow system to boot to desktop.
- Insert the same Windows 7 DVD media into CD/DVD optical drive tray to start Install Windows wizard again. Alternatively, mount the Windows 7 ISO image to a virtual CD/DVD-ROM drive, or directly run setup.exe from the unpacked Windows 7 installation files.
- Reinstall Windows 7 once again (both Upgrade or Custom Install should be OK), enter product key during installation so that Windows 7 can be automatically activated when user first online after installation is done.
Steps above is originally used as a workaround to clean install Windows Vista with upgrade media, and is less commonly used as it’s time-consuming.
Workaround 3: Clean Install and Activate Windows 7 with MediaBootInstall Registry Hack
- After booting up, ensure that no Windows Updates pending task which requires a system reboot to finish installing.
Tip: Normally, an orange-colored shield icon will be displayed next to Shutdown button in the Start Menu Power Button or at notification tray area if a restart is required.
If reboot is required, restart the computer to allow any pending updates is installed.
- Run Registry Editor (RegEdit).
- Navigate to the following registry key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Setup\OOBE
- In the right pane, change the value data for MediaBootInstall from 1 to 0.
Alternatively, just download and execute MediaBootInstall.reg to merge the value into registry.
- Open an elevated command prompt as administrator.
- Run the command below to reset Windows 7 activation status:
slmgr -rearm
- Reboot the computer.
- Run the Activate Windows utility (accessible from bottom section of Control Panel -> System and Security -> System, or type Activate Windows into Start Search), type in the upgrade product key and activate Windows.
Related posts:
- Unable to Clean Install Windows Vista with Upgrade Edition Product Key
- Hack and Workaround to Clean or Fresh Install Windows Vista with Upgrade License DVD
- Trick to Buy and Install Full Retail Windows Vista at Upgrade Price Even Without Existing Old Windows CD
- How to Upgrade Install to Windows 7 Build 6956 with VHD Image in Clean State
- Windows Vista In-Place Upgrade from Windows XP Support Matrix and Options





#3 for me too. thanks!!!
Gosh!!
you are GrEAT!
I've done it with workaround.
Cheers
Another thumbs up for #3. Thanks very much for the walkthrough.
Thanks for #3.
Microsoft is really doing their best to discourage legal purchases of software with this sort of behaviour.
# 3 worked great. Thanks.
[...] stick, but it is all good now. Some really valuable tips in the links you gave me. especially Clean Install Windows 7 With Upgrade Media and Product Key on Formatted or Empty Blank Hard Drive My… My Win7 Upgrade activated without problems, possibly because I did an unintentional double [...]
Workaround 3 solved my problem too !!
thanks a lot !
Does this process work on a MacBook Pro using VMWare Fusion 3.0?
Re: WA #3
Nicely done! I now have a clean laptop upgraded from XP/40 Gb to Win 7/250 Gb!
Thank you for saving me hours of effort.
Wow.. Thanks a lot! WA #3 saved me a lot of trouble from reinstalling the OS. Also make sure that you have your system date and time right, or you might get a "Windows Update error 80072f8f", which wouldn't allow you to activate or do a windows update.
you save my live
ty :!
[...] Microsoft has a handy guide here : Microsoft Store: Download Manager Help and the tool here : http://images2.store.microsoft.com/p…B-DVD-tool.exe – here's a handy guide too : Creating Bootable Vista / Windows 7 USB Flash Drive at Kevin’s Blog However, it's an UPGRADE version so you probably paid less for it. it's designed to UPGRADE a current windows OS – if you don't it'll fail at the licence activation screen. Have a read here : Clean Install Windows 7 With Upgrade Media and Product Key on Formatted or Empty Blank Hard Drive My… [...]
again, number three worked like a charm. thanks alot.
one question though – do i need to change the reg value back again, should i not? does it matter?
any ideas
Workaround 3 worked great. Exactly as stated.
Thanks,
Curt
I upgraded from Vista on a new hard disk –> activation error. The double install method worked very well. Thank you.
Using the Windows 7 Pro upgrade disc, workaround 3 worked…but not as stated.
My value was already set to 0
I changed it to 1 (like you aren't supposed to do) and ran the command and restarted.
I then changed it back to 0, ran the command, and restarted.
That worked.
Great tips, ironically the 3rd step is what MS themselves did when I allowed them to remote access my desktop during the trouble call. I gave them a sob story about the other drive I had with XP tanking and they went to work with the registry edit and running the scripts at the command prompt. One reboot later and VOILA Win 7 PRO activated on a clean install.
Thanks so much! I had to buy a new hard drive after mine packed up and decided to get Windows 7 at the same time. Bought the upgrade version and was dreading having to install Vista first and then upgrade.
I had to use Workaround 3, but it worked a charm!!! Thanks for saving me LOADS of time!
Thank you so much! Workaround 1 didn't work for me but #3 work perfectly. Youve saved me so much time and hassle and im extremely greatful. Thanks again
Binsy
how do i install windows 7..i have windows xp pro..is there a link i goto to install windows 7 for free…iam confused i keep seeing all these different window 7 stuff..HELP
Awesome i tried option 3 as option 1 wasnt working for me. youve just saved me MANY hours. thanks so much!!!!!!!!!!!!
Thanks very much for posting this!
After a load of emails to microsoft (digital river student deal) which were 'answered' (unanswered) by an autobot, I was very glad to find this.
I used #3 as most people seemed to find this to work – and it worked for me too.
Thanks again author!
Thank you so much for this!
#3 worked for me as well…woke up this morning and my hard drive had failed (Seagate, only a year old) with my newly-upgraded Windows 7! This saved a ton of time & hassle.
Workaround 3 solved my problem.
Wow Thanks… Workaround 3 saved the day for install on new hard drive. Old hard drive dead. Ordered Win7 Pro upgrade for Vista on Sony vgn-cr120e. Invalid key activation. Followed steps in workaround #3 and then did the activated dance around office!!!!
Thanks Thanks,
Dmack
Workaround #3 seems to be the one. Worked for me as well
Workaround 3 worked great. Thanks
method 3 worked. Thanks.
Advice Please:
I installed my update over top of an XP installation, but I had it format the disk before booting from the W7 ISO disk. It installed fine, but for Trick 3 – the value in MediaBootInstall was already set to 0!
How could that happen, and what should I do?
Thanks.
I don't know if it was because I use the 64-bit Edition, but neither Trick #1 nor Trick #3 worked to get Win activated! I didn't appreciate using Trick #2, because I wanted to keep my files, programs and settings that i created in the two days since first-time installing Win 7 on a blank formatted (which was the big mistake i made)… So now I don't have a cleanest install, i hope it's clean enough…
But could you try to figure out, why workarounds 1 and 3 didn't work? The Registry keys that you see in the screenshot above don't exist on my machine! Not even the MediaBootInstall key does exist, and by creating it, nothing changed.
Can you help me explaning?
Thanks
Moritz
Workaround 3 works great!! Greatly appreciated!
Thank you for ALL of your TIME & EFFORT in making this information available to the general public!
Thank you for this, workaround 3 worked for me.
I very much appreciate it.
Thank you, #2 works well. #1 did not work for me, and i didn't need #3.
Thanks you very much. The 3rd workaround really worked.
shaik
Thaaaaaaaaaaaaaaaaaaaaaaanks!
I saved a lot of Time!
Thank you, Thank you, Thank you! those tips saved me lots of time and headache.
I ended up using some combination of the tips above, tips #1 and #3 did it somehow.. I ended up using the registry hack(tip #3), then I disconnected the network cable. Rebooted the machine, ran the slmgr -ipk. Entered my key, then connected the network cable and activated Win 7…
Solution 3 worked perfect with my student version!! You folks are amazing, compared to the more than lousy MS support (if one can call that support).
[...] a time-saving and easiest way to perform upgrade of Windows 7 though. There is easy hack to perform clean install of Windows 7 upgrade version, which details how to activate Windows after continuing to upgrade Windows 7 without entering a [...]
This page is a blessing after I have tried numerous options with little success.
Many thanks.
[...] Clean Install Windows 7 With Upgrade Media and Product Key on Formatted or Empty Blank Hard Drive [...]
[...] będzie nielegalna. Natomiast użytkownicy którzy spełniają warunki mogą bez obaw korzystać z rozwiązania pozwalającego wykonać instalację Windows Upgrade na czystym [...]
Thank you so much for publishing this information. The idea that I would have to install my old operating system on my new build just to turn around and overwrite it with Windows 7 is maddening. What the heck were they thinking?
Procedure number 3 was fairly quick and painless. It is just sad that it is necessary at all.
Thanx again!
workaround #3 worked perfectly and instantly
[...] The created ISO is identical to official Windows 7 ISO for both full and retail version, and can be used to clean install Windows 7 with a upgrade license. [...]
[...] Alternatively, just perform a custom install of Windows 7 instead of upgrading, or clean install Windows 7 from upgrade media with upgrade license product key at blank PC. [...]
#3 successful w/ student download version! Thank you.
I upgraded XP to Windows 7 and none of those have worked, I am still getting an invalid Product key error. I have made 5 calls to Microsoft, and spent over 2.5 hours on the phone trying all of these work arounds. I am extremely disappointed in this whole process.
Just an FYI. The discs are identical in content except for the ei.cfg which defined what edition the disc is for.
Yeah! Workaround 3 did the trick after the other Workarounds did not accomplish the task for me. Thank you for ALL of your TIME & EFFORT in making this information available to the general public!