Stop error when you try to download updates from Windows Update on a computer that is running Windows Vista: "0x80070246"

Symptoms

When you try to download updates from Windows Update on a computer that is running Windows Vista, you may receive the following Stop error message:
STOP 0x80070246
ERROR_ILLEGAL_CHARACTER
Additionally, the following entry may be logged in the WindowsUpdate.log file:
Automatic Updates Failure Content Install
Installation Failure: Windows failed to install the following update with error
0x80070246: " Name of Update "
Note The WindowsUpdate.log file is in the following location:
%Windir%\WindowsUpdate.log

Cause

This problem occurs if the GlobalInstallOrder.xml file is corrupted. The GlobalInstallOrder.xml file is in the following location:
%Windir%\Winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6000.16386_none_07289f4cca5f6990\GlobalInstallOrder.xml

Resolution

To resolve this problem, replace the corrupted GlobalInstallOrder.xml file on the system with the same file from the Windows Vista installation media. To do this, follow these steps:
  1. Obtain the WIM filter driver from the Windows Automated Installation Kit (Windows AIK). To download and install the Windows AIK, visit the following Microsoft Web site:
  2. Click Start, point to All Programs, click Microsoft Windows AIK, right-click
    Windows PE Tools Command Prompt, and then click Run as administrator.

    If you are prompted for an administrator password, type the password. If you are prompted to continue, click Continue.
  3. At the command prompt, type the following command, and then press ENTER.
    MD c:\Mount
    This command creates a folder that is named Mount.
  4. Put the Windows Vista installation media in the CD or DVD drive.
  5. At the command prompt, type the following command, and then press ENTER:
    Imagex /mount DVDDriveLetter\sources\install.wim 1 \mount
  6. At the command prompt, type the following command, and then press ENTER:
    CD\mount\Windows\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6000.16386_none_07289f4cca5f6990
    This command moves to the source folder
  7. At the command prompt, type the following command, and then press ENTER:
    xcopy GlobalInstallOrder.xml %windir%\winsxs\x86_microsoft-windows-servicingstack_31bf3856ad364e35_6.0.6000.16386_none_07289f4cca5f6990
    This command copies the GlobalInstallOrder.xml file to the destination folder.

More Information

For more information about how to use the Sfc.exe tool to replace the corrupted file, click the following article number to view the article in the Microsoft Knowledge Base:

929833 Some Windows Vista functions may not work, or Windows Vista may stop responding

Properties

Article ID: 942968 - Last Review: Sep 27, 2011 - Revision: 1

Feedback