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 or 0X80248007
 
Try this solution for 0x80246007
Try this solution for 0X80248007

 

0x80246007

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

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.
APPLIES TO

 

0X80248007

This issue occurs for one of the following reasons:

To resolve the issue, use the following methods in the order in which they are presented.

Method 1: Rename the Windows Update temporary download folder

To rename the Windows Update temporary download folder, follow the steps that are appropriate for your operating system. 

Important After you rename the temporary download folder, updates that you have already downloaded but that you have not yet installed must be downloaded again from Windows Update or from Microsoft Update. 

In Windows XP, in Windows Server 2003, and in Windows 2000, follow these steps:

  1. Start Notepad. To do this, click Start, and then click Run.
  2. Copy and then paste (or type) the following command in the Open box, and then press ENTER:
    notepad
  3. Copy and then paste (or type) the following command lines into the Notepad window:
    net stop wuauserv
    cd %systemroot%\SoftwareDistribution
    ren Download Download.old
    net start wuauserv
  4. On the File menu, click Save As, and then type Rename.bat.
  5. Click Save as type, and then click All Files.
  6. Save the Rename.bat file to your desktop.
  7. Double-click the Rename.bat file to rename the Download folder.
  8. Try to install updates again.
  9. If the issue is resolved, delete the Rename.bat file that you created in the previous steps.

If the issue is still not resolved, go to Method 2.

Note After you can successfully download and install updates, you can delete the Download.old folder to recover disk space.

In Windows Vista and in Windows Server 2008, follow these steps:

  1. Click Start
     
     
     Start button
    , and then type notepad in the Start Search box.
  2. In the Programs list, click Notepad.
  3. Copy and then paste (or type) the following command lines into the Notepad window:
    net stop wuauserv
    cd %systemroot%\SoftwareDistribution
    ren Download Download.old
    net start wuauserv
  4. On the File menu, click Save As, and then type Rename.bat.
  5. Click Save as type, and then click All Files (*.*).
  6. Save the Rename.bat file to your desktop.
  7. Right-click the Rename.bat file, and then click Run as administrator
     
     
    User Account Control permission
     If you are prompted for an administrator password or for confirmation, type the password, or click Continue. This renames the Download folder.
  8. Try to install updates again.
  9. If the issue is resolved, delete the Rename.bat file that you created in the previous steps.

If the issue is still not resolved, go to Method 2.

Note After you can successfully download and install updates, you can delete the Download.old folder to recover disk space.

Method 2: Rename the Windows Update SoftwareDistribution folder

To rename the Windows Update temporary SoftwareDistribution folder, follow the steps that are appropriate for your operating system. 

Important The following things are affected when you perform Method 2:

If you currently receive updates from Microsoft Update and from Windows Update, you will have to reselect this option from Windows Update. To do this, follow these steps:

  1. Visit the following Windows Update Web site:
  2. On the Welcome to Windows Update screen, next to Get Microsoft Update Today, click Go.
  3. Follow the on-screen instructions to configure Microsoft Update to run on the computer.

In Windows XP, in Windows Server 2003, and in Windows 2000, follow these steps:

  1. Start Notepad. To do this, click Start, and then click Run.
  2. Copy and then paste (or type) the following command in the Open box, and then press ENTER:
    notepad
  3. Copy and then paste (or type) the following command lines into the Notepad window.
    net stop wuauserv
    cd %systemroot%
    ren SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
  4. On the File menu, click Save As, and then type Rename.bat.
  5. Click Save as type, and then click All Files.
  6. Save the Rename.bat file to your desktop.
  7. Double-click the Rename.bat file to rename the SoftwareDistribution folder.
  8. Try to install updates again.
  9. If the issue is resolved, delete the Rename.bat file that you created in the previous steps.

Note After you can successfully download and install updates, you can delete the SoftwareDistribution.old folder to recover disk space. 

In Windows Vista and in Windows Server 2008, follow these steps:

  1. Click Start
     
     
     Start button
    , and then type notepad in the Start Search box.
  2. In the Programs list, click Notepad.
  3. Copy and then paste (or type) the following commands into the Notepad window.
    net stop wuauserv
    cd %systemroot%
    ren SoftwareDistribution SoftwareDistribution.old
    net start wuauserv
  4. On the File menu, click Save As, and then type Rename.bat.
  5. Click Save as type, and then click All Files (*.*).
  6. Save the Rename.bat file to your desktop.
  7. Right-click the Rename.bat file, and then click Run as administrator
     
     
    User Account Control permission
     If you are prompted for an administrator password or for confirmation, type the password, or click Continue. This renames the SoftwareDistribution folder.
  8. Try to install updates again.
  9. If the issue is resolved, delete the Rename.bat file that you created in the previous steps.

Note After you can successfully download and install updates, you can delete the SoftwareDistribution.old folder to recover disk space.

APPLIES TO