How to Do a Clean Install With a Windows 7 Upgrade

Microsoft allows users to upgrade to Windows 7 from a previous version of Windows -- XP or Vista -- so the upgrade disc performs a check to see if Windows is installed on the computer to receive the upgrade. A clean install of Windows means that the information on the computer is first deleted by formatting the hard drive and then Windows is installed without anything previously installed. For the upgrade version of Windows 7 to allow this, it needs to appear that Windows was installed previously so that the operating system will activate. You can do this with a registry edit or by double-installing Windows.

...
Windows 7 launched in October 2009.

Registry Edit

Step

Insert the Windows 7 upgrade disc. Power the computer off and then on again. Choose the option to boot from disc. When the Windows 7 setup appears choose a "Custom" installation instead of an upgrade. Follow the on-screen instructions to complete the installation. When you enter your product key it will -- most likely -- return an error that Windows could not be activated. If no error is returned and Windows activates, you're done. If you have an error, continue on.

Step

Power on the computer where you've installed Windows 7. Open the registry editor -- press the Windows-key and "R" at the same time and then type: "regedit" and press "Enter."

Step

Find the registry key: "HKEY_LOCAL_MACHINE/Software/Microsoft/Windows/CurrentVersion/Setup/OOBE/" Double-click "MediaBootInstall" from the pane on the right. Type "0" in the "Value Data" box and click "OK." Click "File" then "Exit."

Step

Click on the "Start" menu and then type "cmd" in the search bar. Wait for the "Command" shortcut to appear and right-click the icon. Choose "Run as Administrator." Note, this is only necessary in Windows Vista, in XP you can simply click "Start," "Programs," "Accessories" and then "Command."

Step

Type: "slmgr /rearm" and then press "Enter." Click "OK" to confirm the command completed successfully. Reboot the computer. Type in the product code when prompted and click "Activate." Windows will activate. If it doesn't you may need to download all the available updates and try again.

Double Install

Step

Insert the Windows 7 upgrade disc. Power off the computer and power it back on again. Choose the option to boot from the DVD drive. Choose the "Custom" install feature in Windows Setup. Follow the on-screen instructions to complete the installation of Windows.

Step

Enter your Windows product key. Setup will return an error that Windows cannot be activated -- if no error is returned, you're done. Continue booting into Windows.

Step

Click "Start" and then "Computer." Double-click the icon for your computer's DVD drive. Choose the "Upgrade" option from Windows Setup. Follow the on-screen instructions to install Windows a second time. This time when you enter the product key, Windows will detect a previous installation and activate.