classAnova - Knowledge Shared


Posted by: Bob Cozzi
IT Researcher
Cozzi Productions, Inc.
North Aurora, IL
How to activate Windows 7 Pro Upgrade when no previous OS installed
has no ratings.
Published: 08 Feb 2011
Revised: 04 Aug 2011 - 4642 days ago
Last viewed on: 18 Apr 2024 (8211 views) 

Using IBM i? Need to create Excel, CSV, HTML, JSON, PDF, SPOOL reports? Learn more about the fastest and least expensive tool for the job: SQL iQuery.

How to activate Windows 7 Pro Upgrade when no previous OS installed Published by: Bob Cozzi on 08 Feb 2011 view comments

Manual Fix for the 0xc0040f61 error code received when activating Windows 7 Professional or Ultimate Upgrade

NO Warranty is expressed or implied and none is given as to this procedure or the expected or implied results.

Normally when you install the 32-Bit version of Windows 7 Professional upgrade package, it is installed on top of Windows XP or Vista. The 64-bit edition, however, requires that you do a clean install--erasing XP or VISTA before installing the 64-bit version of Win7. This is because you can't install a 64-bit version OS over top of a 32-bit version.

When you are installing the 32-bit version of Windows 7 Pro or Ultimate upgrade and you have replaced your PC's hard drive or reformatted it in order to do a clean install, or your system crashed, requiring a reload of Windows 7, you are technically required to first re-install XP or Vista and then upgrade that OS to Windows 7. Of course this may never be a viable or acceptable practice.

To install Windows 7 Pro/Ultimate from an upgrade disc onto a PC that does not already have a previous version of Windows (XP or Vista) installed on it do the following:

Wait for the PRODUCT KEY dialog box to appear during the install (it also contains the "Activate Now" button). Leave the PRODUCT KEY blank and uncheck the "Activate Now" checkbox and then press Next. It will continue the install normally. If you enter a PRODUCT KEY or check the "Activate Now" button during install, the install will stop and tell you to install a previous version of Windows (XP or Vista) before installing Windows 7.

Once Windows 7 is installed, if the Automatic Activate Windows feature runs or you run the Activate option (which is required within 30 days of install) and you enter your UPGRADE DISC PRODUCT KEY, it may return a 0xc0040f61 message. This cryptic message means "you must uninstall Windows 7, install XP or Vista 32-bit edition, then activate XP or Vista and then upgrade that version of Windows to Windows 7. This is of course, what we are trying to avoid.

To work around this problem, there is an automated fix that that you can get from Microsoft tech support. This fix, however, requires (currently) a long series of telephone transfers from one department to another, but in the end, they will send you a special fix code that you can enter into the Windows Diagnostic Tool and your problem is solved.

However, if you don't want to call Microsoft or its in the middle of the night and you need it working now, the following manual steps may solve the activation problem. One caveat, I don't believe this works for the Windows 7 Home Edition; it requires Windows 7 Pro or Ultimate and is only necessary for the 32-Bit upgrade editions of those operating systems. The 64-bit editions do not have this issue.

Once you've installed Windows 7 Pro/Ultimate 32-Bit upgrade editions on a new or recently re-formatted hard drive, and need to enable activation with an UPGRADE PRODUCT KEY, run the following steps:

  1. Change MediaBootInstall key in the registry:
    • Click Start
    • Type "Run"
    • Click "Run"
    • Type "Regedit"
    • Press Enter
    • Locate and Expand the follow Registry key and verify that its DWORD value is "0" (without the quotes):
      • HKeyLocalMachine\Software\Microsoft\Windows\CurrentVersion\Setup\OOBE\MediaBootInstall = 0
  2. Run SlMgr:
    • Open a Command Prompt (Run as administrator)
      • Start -> type "CMD" -> right-click -> Select Run as Administrator
    • Type "cscript.exe slmgr.vbs -rearm" or "slmgr.vbs -rearm"
  3. Reboot the computer..
  4. Attempt to activate Windows 7.

Have a nice day.

Return to classanova.com home page.
Sort Ascend | Descend

COMMENTS