When you try to install updates from the Windows Update Web site or from the Microsoft Update Web site, you may receive a "0x80246007" error code

Symptoms

When you try to install updates from the Windows Update site or from Microsoft Update Web site, you may receive the following error code:
0x80246007

Cause

This problem may occur if the Windows Update database is corrupted.

Resolution

To resolve this problem in Microsoft Windows 2000, Windows XP, and Windows Server 2003

Important If you have downloaded but not installed updates from Windows Update or from Microsoft Update, you must download those updates again after you complete these steps.
  1. Click Start, click Run, type Notepad, and then click OK.
  2. Copy the following text, and then paste the text into Notepad.
    net stop wuauserv
    cd %systemroot%\SoftwareDistribution
    ren Download Download.old
    net start wuauserv
    net stop bits
    net start bits
    net stop cryptsvc
    cd %systemroot%\system32
    ren catroot2 catroot2old
    net start cryptsvc
  3. Click File, click Save As, and then type Repair.bat.
  4. In the Save as type box, click All Files.
  5. In the Save in box, click Desktop, and then click Save.
  6. On the File menu, click Exit.
  7. Double-click the Repair.bat file that you saved in step 5.
  8. Try to install the updates again. If you can install the updates, delete the Repair.bat file. To do this, right-click Repair.bat, click Delete, and then click Yes.

To resolve this problem in Windows Vista and Windows Server 2008

Important If you have downloaded but not installed updates from Windows Update or from Microsoft Update, you must download those updates again after you complete these steps.
  1. Click Start Start button  , type Notepad in the Start Search box, and then click Notepad in the Programs list.
  2. Copy the following text, and then paste the text in Notepad.
    net stop wuauserv
    cd %systemroot%\SoftwareDistribution
    ren Download Download.old
    net start wuauserv
    net stop bits
    net start bits
  3. Click File, click Save As, and then type Repair.bat.
  4. In the Save as type box, click All Files (*.*).
  5. In the Save in box, click Desktop, and then click Save.
  6. On the File menu, click Exit.
  7. Right-click the Repair.bat file that you saved in step 5, and then click Run as administrator.

    User Access Control permission If you are prompted for an administrator password or for confirmation, type the password, or click Continue.
  8. Try to install the updates again. If you can install the updates, delete the Repair.bat file. To delete the Repair.bat file, right-click Repair.bat, click Delete, and then click Yes.
Properties

Article ID: 958042 - Last Review: Sep 29, 2008 - Revision: 1

Feedback