Windows xp updates in one file

This article discusses how an administrator can integrate Windows software updates (for example, security updates, critical updates, or hotfixes) that use Update.exe into their Windows installation source files.

Summary

This article discusses how an administrator can integrate Windows software updates that use Update.exe with their Windows installation source files. (Software updates include critical updates, feature packs, hotfixes, security updates, service packs, updates, and update rollups.) These procedures may be useful when an administrator must apply one or more software updates during installations from a Windows distribution folder that the administrator creates. These procedures are also useful if you want to integrate a security update so that a new installation does not become infected by a virus when it is set up.

Notes

  • These procedures do not work for software updates that do not use Update.exe as the installation program. For example, some Microsoft Internet Explorer updates for Microsoft Windows 2000 and Microsoft Windows XP use an INF-based installation instead of Update.exe. As a result, you cannot use these procedures to integrate these Internet Explorer updates for Windows 2000 or Windows XP.

  • Filelist registry keys are not created correctly when you use these procedures to integrate software updates. For example, if you integrate the 824146 security patch into your Microsoft Windows Server 2003 installation source files, the following registry key is not created correctly:

    HKEY_LOCAL_MACHINESOFTWAREMicrosoftUpdatesWindows Server 2003SP1KB824146Filelist

  • When you use either of these this procedures to integrate updates, an entry is added for each update in the Add or Remove Programs control panel. However, the Remove button is not available because there is no earlier version of the updated files to restore if you remove the updates.

  • Administrators may also have to apply software updates to the Microsoft Windows Preinstallation Environment (Windows PE) if the following conditions are true:

    • The administrator uses the Windows PE to run Windows Setup.

    • The administrator uses an operating system that has integrated software updates on a network share.

    For more information about how to do this, click the following article number to view the article in the Microsoft Knowledge Base:

    828217 How to apply the 824146 Security Patch to your Windows Preinstallation Environment

  • The instructions in this article can be used for Remote Installation Services (RIS) RISETUP based images also. The I386 directory structure for a RISETUP image is the same as a network distribution folder. For RIPREP images, pull the image down to a client computer, install the software update, and then RIPREP the image back to the server.

  • When you use these procedures to prevent a virus infection, we recommend that you integrate only software updates that require no action by the user. If you integrate software updates that do not prevent the Windows installation program from completing, use a «[guirunonce]» section in the Unattend.txt file, or use Software Update Services (SUS) to deploy the updates after the installation is completed.

  • This procedure is designed for new installs only. The procedure does not work for upgrade installs.

Note Integrating a service pack is supported only in Windows XP Home Edition and in Windows XP Professional Edition. Integrating a service pack is not supported in Windows Media Center Edition.

More Information

The «Update.exe 5.4.15.0 or later versions» section describes the procedure to integrate software packages that use Update.exe version 5.4.15.0 or later versions. The «Earlier versions of Update.exe» section describes the procedure to integrate software packages that use earlier versions of Update.exe.

To determine whether a software update package uses Update.exe version 5.4.15.0 or a later version as the Setup program, follow these steps:

  1. Extract the software update package to a unique temporary folder. For example, to extract the files for an update package that is named KBArticleNumber.exe to a folder that is named ExtractedPackage on drive C, type the following at a command prompt:
    KBArticleNumber /X:C:ExtractedPackage

  2. Open the temporary folder that contains the extracted files for the software update package. For example, open C:ExtractedPackage.

  3. Right-click the Update.exe file in the folder, and then click Properties.

  4. On the Version tab, note the value for File version. If the version number is 5.4.15.0 or a later version, the new features that are mentioned in this article are supported.

Update.exe will determine whether the update is appropriate for your installation source. For example, a fix that is included with Windows 2000 Service Pack 4 (SP4) will not integrate in a Windows 2000 installation source that already has SP4 integrated. Update.exe also determines whether the installation source is for the correct hardware platform. The /integrate switch cannot be used with extracted packages.

If you do not want to integrate software updates that use Update.exe versions that are earlier than 5.4.15.0 as the Setup program, do not perform steps 6 through 13. If you do want to integrate software updates that use Update.exe versions earlier than 5.4.15.0, follow steps 6 through 13 to integrate these updates.

Update.exe 5.4.15.0 or later versions

To integrate software updates that use Update.exe 5.4.15.0 or later versions into your Windows installation source files, follow these steps:

  1. Map a drive to the network share where you want to create the distribution folder. Or, log on to the computer where you want to create the distribution folder. These steps assume that you create the distribution folder on drive X.

  2. Create the distribution folder. For example, to create a distribution folder named Winflat on drive X, type the following command at a command prompt:

    mkdir X:Winflat

  3. Set permissions on the Winflat distribution folder so that only administrators have Full Control and so that all other users have Read and Execute permissions only.

  4. Insert the Windows product CD into the CD Drive, and then copy the contents of the CD to the Winflat distribution folder that you created in step 2. To do this, type the following command at a command prompt:

    xcopy /E /I /V D:X:Winflat

  5. To integrate software updates that use Update.exe version 5.4.15.0 or a later version as the Setup program, type the following at a command prompt for each update that you want to integrate:

    KBArticleNumber /integrate:pathNote For path, specify the path of your distribution folder. For example, to integrate the KB123456.exe file in a distribution folder at X:Winflat, type the following:

    KB123456 /integrate:x:winflat

Earlier versions of Update.exe

To integrate software updates that use earlier versions of Update.exe into your Windows installation source files, follow these steps:

  1. Map a drive to the network share where you want to create the distribution folder or log on to the computer where you want to create the distribution folder. These steps assume that you create the distribution folder on drive X.

  2. Create the distribution folder. For example, to create a distribution folder named Winflat on drive X, type the following command at a command prompt:

    mkdir X:Winflat

  3. Set permissions on the Winflat distribution folder so that only administrators have Full Control and all other users have Read and Execute permissions only.

  4. Insert the Windows product CD into the CD Drive, and then copy the contents of the CD to the Winflat distribution folder that you created in step 2. To do this, type the following command at a command prompt:

    xcopy /E /I /V D:X:Winflat

  5. Edit X:Winflati386dosnet.inf, and add «svcpack» to the [OptionalSrcDirs] section. For example:

    [OptionalSrcDirs]
    uniproc
    svcpackNote For Windows XP or Windows Server 2003 distribution folders, you may have to create the [OptionalSrcDirs] section in the Dosnet.inf file. The Dosnet.inf file included with Windows 2000 already contains this section.

  6. Create a X:Winflati386svcpack folder. To do so, type the following command at a command prompt:

    mkdir X:Winflati386svcpack

  7. Copy the update packages that you want to integrate (ProductName-KBArticleNumberOptionLanguage.exe ) to the X:Winflati386svcpack folder. To do so, use the 8.3 naming format (KBArticleNumber.exe), where ArticleNumber is the Microsoft Knowledge Base article number associated with the update. If you are applying multiple updates, copy and rename all the update packages.

  8. Extract each of the update packages to a unique temporary folder. For example, to extract the files for an update package to a folder named ExtractedPackage on drive Y, type the following command at a command prompt:

    C:i386svcpackKBArticleNumber /X:Y:ExtractedPackage

  9. From Y:ExtractedPackage, for each update, copy the catalog file (KBArticleNumber.cat) and updated binary files (such as .exe, .dll, or .sys files). To do so, follow these steps:

    1. Copy KBArticleNumber.cat from Y:ExtractedPackage, for each update, to the X:Winflati386svcpack folder. Use the same name for the .cat file as the update package (KBArticleNumber.cat) uses, and do not copy Empty.cat.

    2. If the same binary file exists in Y:ExtractedPackage, for each update, keep only the file with the highest version number.

    3. For each binary file included in Y:ExtractedPackage, for each update, determine whether the same file exists in the X:WinflatI386 folder. If the file exists in the I386 folder, delete the file from X:WinflatI386.

      Note The files in the I386 folder may have an underscore (_) for the last character in the file’s extension. For example, Rpcss.dll is named Rpcss.dl_ in the I386 folder.

    4. Copy the updated binary files from Y:ExtractedPackage, for each update, to X:WinflatI386.

    5. Look in Y:ExtractedPackage, for each update, for any subfolders that have the same name as a subfolder of X:WinflatI386. If a folder contains any such subfolders, copy the updated binary files from the Y:ExtractedPackage subfolder to the appropriate subfolder of X:WinflatI386. For example, if Y:ExtractedPackage contains a folder named Uniproc, copy the files in Y:ExtractedPackageUniproc to X:WinflatI386Uniproc.

    Notes

    • Because Microsoft provides support for the current and the next most recent service pack (N and N-1), Microsoft packages some updates as dual-mode updates that you can apply to computers that have different service pack levels. For example, a Windows XP update may have both a SP1 and SP2 subdirectory with updated files for the original version of Windows XP in the SP1 folder and updated files for Windows XP SP1 in the SP2 folder. In this example, you must use the files from the SP1 directory if your installation source is the original version of Windows XP (Version 2600). If your installation source is Windows XP SP1, you must use the files from the SP2 directory. For more information about Windows XP dual-mode update packages, click the following article number to view the article in the Microsoft Knowledge Base:

      328848 Description of dual-mode update packages for Windows XP

      Microsoft may also package Windows Server 2003 updates as dual-mode updates after Service Pack 1 is released.

    • Windows Server 2003 update packages also contain two sets of updated binary files for the current and the next most recent service pack (N and N-1) in nnnQFE and nnnGDR folders, where nnn is the original released version, «SP1,» «SP2,» and so on for the current and the next most recent service pack (N and N-1). In this case, you must use the files from the appropriate nnnQFE folder. For more information about the contents of a Windows Server 2003 update package, click the following article number to view the article in the Microsoft Knowledge Base:

      824994 Description of the contents of Windows XP Service Pack 2 and Windows Server 2003 software update packages

    • You do not have to copy files in the Common or Update folders, such as Update.exe, Update*.inf, SPmsg.dll, SPcustom.dll, SPuninst.exe, Update.ver, or symbols (.dbg files).

  10. For each file that you copy in step 9 (except KBArticleNumber.cat), look in the X:WinflatI386Dosnet.inf file to determine if the file name is listed in the [Files] section. All the files that are listed in the [Files] section are preceded by «d1,». For example:

    d1,Filename

    If the file name is not listed for any files that you copied in Step 9, use this syntax to add an entry. For example, if a hotfix contains Win32k.sys, because Win32k.sys is not listed in Dosnet.inf, add d1,win32k.sys to the [Files] section of X:WinflatI386Dosnet.inf. This addition makes sure that the updated version of Win32k.sys is copied during Windows Setup.

  11. Delete the X:WinflatI386Svcpack.in_ file.

  12. Create a Svcpack.inf file in the X:WinflatI386 folder. To do so, use the appropriate following content, depending on whether you want to deploy a single update or multiple updates. (Replace ArticleNumber with the Knowledge Base article numbers for your update .cat file):

    Windows 2000[Version]
    Signature=»$Windows NT$»
    MajorVersion=5
    MinorVersion=0
    BuildNumber=2195
    [SetupData]
    CatalogSubDir=»i386svcpack»
    [ProductCatalogsToInstall]
    KBArticleNumber.cat
    [SetupHotfixesToRun]
    KBArticleNumber.exe /options

    Windows XP[Version]
    Signature=»$Windows NT$»
    MajorVersion=5
    MinorVersion=1
    BuildNumber=2600
    [SetupData]
    CatalogSubDir=»i386svcpack»
    [ProductCatalogsToInstall]
    KBArticleNumber.cat
    [SetupHotfixesToRun]
    KBArticleNumber.exe /options

    Windows Server 2003[Version]

    Signature=»$Windows NT$»
    MajorVersion=5
    MinorVersion=2
    BuildNumber=3790
    [SetupData]
    CatalogSubDir=»i386svcpack»
    [ProductCatalogsToInstall]
    KBArticleNumber.cat
    [SetupHotfixesToRun]
    KBArticleNumber.exe /optionsNotes

    • The recommended options for installing updates are /Q, /N, and /Z. For more information, click the following article numbers to view the articles in the Microsoft Knowledge Base:

      262841 Command-line switches for Windows software update packages

      824687 Command-line switches for Microsoft software update packages

    • If you are applying multiple updates, add an entry for each update under both the [ProductCatalogsToInstall] and [SetupHotfixesToRun] sections. The following example is a sample of these sections for an installation where multiple updates are installed:

      [ProductCatalogsToInstall]
      KB123456.cat
      KB123478.cat
      KB123490.cat
      [SetupHotfixesToRun]
      KB123456.exe /options
      KB123478.exe /options
      KB123490.exe /options

    • If you are installing a service pack, you do not have to include details about the service pack because a different process handles the service pack installation.

Installing updates on computers that are running Windows Server 2003

To install an update on a single computer, run the update program, WindowsServer2003-KB######-x86-LLL.exe, on that computer. If you want to install the update on more than one computer, you can create a distribution folder for the update on the network. The following procedure describes how to install one or more updates by usung this method. Important: You must install SP1 either in combination with or before you install updates released after SP1. Installing more recently-released updates before you install SP1 can cause problems with the system.

Note For the following procedure, Drive: represents the drive of the network or computer on which your distribution folder is located.

To install an update by running the Update.exe program, follow these steps:

  1. Connect to the network or computer on which you want to create the distribution folder.

  2. In the shared network distribution folder, create a distribution folder for the update files. For example, to create a distribution folder named Update, type the following: mkdir Drive:Update

  3. Copy the Windows Server 2003 Update.exe program to the distribution folder that you created in Step 2. For example, to copy the SP1 Update.exe program to the distribution folder named Update, type the following: xcopy C:WindowsServer2003-KB######-x86-LLL.exe Drive:Update

  4. To install the update from the shared network distribution folder, run the WindowsServer2003-KB######-x86-LLL.exe program. For example, to install the update from the distribution folder named Update, type the following: Drive:UpdateWindowsServer2003-KB######-x86-LLL.exe

  5. To make sure that your updates take effect, restart your computer after you finish installing all the updates.

Note The WindowsServer2003-KB######-x86-LLL.exe file supports the same command-line options as Update.exe.

Technical support for x64-based versions of Microsoft Windows

If your hardware came with a Microsoft Windows x64 edition already installed, your hardware manufacturer provides technical support and assistance for the Windows x64 edition. In this case, your hardware manufacturer provides support because a Windows x64 edition was included with your hardware. Your hardware manufacturer might have customized the Windows x64 edition installation by using unique components. Unique components might include specific device drivers or might include optional settings to maximize the performance of the hardware. Microsoft will provide reasonable-effort assistance if you need technical help with a Windows x64 edition. However, you might have to contact your manufacturer directly. Your manufacturer is best qualified to support the software that your manufacturer installed on the hardware. If you purchased a Windows x64 edition such as a Microsoft Windows Server 2003 x64 edition separately, contact Microsoft for technical support.

For product information about Microsoft Windows XP Professional x64 Edition, visit the following Microsoft Web site:

http://www.microsoft.com/windowsxp/64bit/default.mspx For product information about x64-based versions of Microsoft Windows Server 2003, visit the following Microsoft Web site:

http://www.microsoft.com/windowsserver2003/64bit/x64/editions.mspx

References

  • Microsoft Windows 2000 Hotfix Installation and Deployment Guide (HFDeploy.htm)
    http://technet.microsoft.com/en-us/library/cc750542.aspx

  • Guide for Installing and Deploying Updates for Microsoft Windows Server 2003 and Windows XP 64-Bit Edition Version 2003 (HFDeploy.htm)
    http://technet.microsoft.com/en-us/library/cc700814.aspx

  • For more information about Update.exe, click the following article number to view the article in the Microsoft Knowledge Base:

    262841 Command-line switches for Windows software update packages

Print Friendly, PDF & Email

Update 3: In May of 2019 Microsoft released a patch for x86 versions of Windows XP and the 32 and 64-bit versions of Server 2003. KB4500705 protects against remote code execution. The patches have been uploaded locally and are hosted further down the page.

Update 2: Although I have “WannaCry / WannaCrypt” specific patches below, in June of 2017 Microsoft released an additional collection of patches for Windows XP with SP3, Windows XP 64-bit with SP2, and Windows Server 2003. I have not (yet) mirrored these updates locally, but I think it is important to link readers to these critical security patches. Microsoft specifically noted that these updates do not check Windows Genuine Advantage status.

Original post below:

As we well know, Microsoft has stopped support for Windows XP – so much so that you can no longer connect to Windows Update and download updates for Windows XP computers. If for some maniacal reason you need to run a Windows XP computer, I would hope you at least get it secured as best you can with the updates. How you ask? I have compiled all of the updates using the WSUSOffline.net tool, and assembled them here. This will work on all versions of Windows XP (Home, Pro, Media Center Edition, etc…), and I also have the updates for the relatively rare 64-bit release of Windows XP:

  • XP Updates ISO
  • XP file hashes
  • XP 64-bit Updates ISO
  • XP 64-bit file hashes

Update: WannaCry / WannaCrypt patches originally posted by Microsoft May 12th, 2017 can be downloaded individually (hosted locally):
Windows Server 2003 SP2 x64
Windows Server 2003 SP2 x86
Windows XP SP2 x64
Windows XP SP3 x86
Windows XP Embedded SP3 x86

Update: May 2019 RDP Authentication exploit update from article 4500331 local downloads:
Windows XP SP3
WES09 and POSReady 2009 x86
Windows Server 2003 for x64
Windows Server 2003
Windows XP SP2 x64
Windows XP Embedded SP3 x86

All updates for the English US (en-us) versions of Windows XP.

To install these updates, either burn the CD or extract it to the computer you want to run them on, then run the “UpdateInstaller.exe” and select which items you want to install. All of the other “important” type updates will install automatically. This even includes Service Pack 3 for those running a completely unpatched system.

Have you already wiped the drive you are installing to? If so, then no, there is no way to avoid having to re-download the updates. If you have not wiped it (check the drive to see if there the previous Windows directory has been renamed as a backup), then you can probably avoid re-downloading a lot of it.

Open C:WindowsSoftwareDistributionDownload (replacing C:Windows with the path to your old Windows directory).

You will find a bunch of files with a long alphanumeric name and no extension. These are the updates (and miscellaneous files). What you need to do is to figure out which ones are executable and run them. You could try using a hex-editor or something to open and view them, but it is much easier to just rename them.

First make sure that extensions are shown (Tools->Folder Options->View->de-select Hide extensions for known file types). Now for each file in the Download directory, rename it, adding .EXE to the end and then run it. (Consider creating a temporary folder to move them into after running them to make it easier to keep track of your progress.)

You will likely find that some of them crash and give an error message. Don’t worry about this since not all of the files in there are actually executable files, some are text files containing licences agreements, etc.

Once you have run all of the updates, reboot the system and run Windows Update again. You should find that fewer (if any?) updates are listed (it depends on how many were still in the Download directory).

Like this post? Please share to your friends:
  • Windows xp themes windows vista themes
  • Windows xp wmic memorychip псевдоним не найден
  • Windows xp theme for linux mint
  • Windows xp winter fun pack 2003
  • Windows xp windows zero configuration wireless