You are currently offline, waiting for your internet to reconnect

Error message when you use an Unattend.xml file to install Windows Vista through a .wim file: "Windows could not calculate how much space is required for installation"

This article has been archived. It is offered "as is" and will no longer be updated.
You use a Windows Vista-based computer to generate a Windows Imaging Format (.wim) file that contains more than 30 images. When you use an Unattend.xml file to install Windows Vista through the .wim file, the installation fails. Additionally, you receive an error message that resembles the following:
Windows could not calculate how much space is required for installation.
This problem occurs because the Unattend.xml file is too large.

When the .wim file grows, the size of the XML data that describes the .wim file grows. If a .wim file contains 30 or more images, the size of the corresponding XML data increases to more than 64 kilobytes (KB). Therefore, functions that read the XML data truncate some XML data.

Service pack information

To resolve this problem, obtain the latest service pack for Windows Vista. For more information, click the following article number to view the article in the Microsoft Knowledge Base:
935791 How to obtain the latest Windows Vista service pack

Hotfixes and security updates that are included in SP2 for Windows Vista Service and for Windows Server 2008

For more information about the hotfixes and the security updates that are included in SP2 for Windows Vista and for Windows Server 2008, visit the following Microsoft TechNet Web site: -Note:Currently, the list of hotfixes and security updates is available only in English.

Hotfix information

A hotfix is available to resolve this problem. To apply this hotfix on an x86-based computer, follow these steps.

Note To apply this hotfix on an x64-based computer, replace x86 with x64 in the commands in steps 1 and 2.
  1. Run the following command to expand the .msu file:
    Expand Path of the .msu file\Windows6.0-KB945683-x86.msu Path of the destination file
  2. Run the following commands to expand the .cab file:
    Expand -f:*.exe Path of the .cab file\ Path of the destination file
    Expand -f:*.dll Path of the .cab file\Windows6.0-KB945683-x86.cabPath of the destination file
    After you run these commands, you will obtain some .exe and .dll files.
  3. Use the files that you obtain in step 2 to overwrite the original files in the InstallPoint\Source folder.

    Note InstallPoint is a placeholder for the location of the contents of the Windows setup media.

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

If the hotfix is available for download, there is a "Hotfix download available" section at the top of this Knowledge Base article. If this section does not appear, contact Microsoft Customer Service and Support to obtain the hotfix.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site: Note The "Hotfix download available" form displays the languages for which the hotfix is available. If you do not see your language, it is because a hotfix is not available for that language.


There are no prerequisites for installing this hotfix.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace a previously released hotfix.

File information

The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the Time Zone tab in the Date and Time item in Control Panel.
Windows Vista, x86-based versions
File nameFile versionFile sizeDateTimePlatform
Package_1_for_kb945683~31bf3856ad364e35~x86~~ applicable1,79429-Nov-200720:37Not applicable
Package_2_for_kb945683~31bf3856ad364e35~x86~~ applicable2,00729-Nov-200720:37Not applicable
Update.mumNot applicable1,91329-Nov-200720:37Not applicable
X86_2c27f7645c5e5054ec5b6f12062d033a_31bf3856ad364e35_6.0.6000.20729_none_cc818a2f8c9d3409.manifestNot applicable70129-Nov-200720:37Not applicable
X86_de14df56089629960efac2d135a46030_31bf3856ad364e35_6.0.6000.20729_none_89fbe55c81a7fd51.manifestNot applicable70329-Nov-200720:37Not applicable
X86_microsoft-windows-pantherengine_31bf3856ad364e35_6.0.6000.20729_none_aca83077c1d5e29e.manifestNot applicable6,24629-Nov-200720:37Not applicable
X86_microsoft-windows-setup-component_31bf3856ad364e35_6.0.6000.20729_none_30c33f35c9417361.manifestNot applicable29,53629-Nov-200720:37Not applicable
Setup.cfgNot applicable1,57212-Mar-200721:47Not applicable
Windows Vista, x64-based versions
File nameFile versionFile sizeDateTimePlatform
Amd64_2c27f7645c5e5054ec5b6f12062d033a_31bf3856ad364e35_6.0.6000.20729_none_28a025b344faa53f.manifestNot applicable70329-Nov-200720:37Not applicable
Amd64_b8db5a991261257bb12413e92762b986_31bf3856ad364e35_6.0.6000.20729_none_57f4e2a43477ac1e.manifestNot applicable1,05429-Nov-200720:37Not applicable
Amd64_bdf53ec1aaa3e25ab1caabf7f573fb33_31bf3856ad364e35_6.0.6000.20729_none_891b4535dd76baa7.manifestNot applicable70529-Nov-200720:37Not applicable
Amd64_microsoft-windows-pantherengine_31bf3856ad364e35_6.0.6000.20729_none_08c6cbfb7a3353d4.manifestNot applicable6,27029-Nov-200720:42Not applicable
Amd64_microsoft-windows-setup-component_31bf3856ad364e35_6.0.6000.20729_none_8ce1dab9819ee497.manifestNot applicable29,60229-Nov-200720:42Not applicable
Package_1_for_kb945683~31bf3856ad364e35~amd64~~ applicable2,70429-Nov-200720:37Not applicable
Package_2_for_kb945683~31bf3856ad364e35~amd64~~ applicable2,01929-Nov-200720:37Not applicable
Update.mumNot applicable1,92529-Nov-200720:37Not applicable
Setup.cfgNot applicable1,57212-Mar-200722:11Not applicable
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.
For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates

Article ID: 945683 - Last Review: 01/16/2015 09:59:31 - Revision: 1.3

Windows Vista Enterprise 64-bit Edition, Windows Vista Home Basic 64-bit Edition, Windows Vista Home Premium 64-bit Edition, Windows Vista Ultimate 64-bit Edition, Windows Vista Business, Windows Vista Business 64-bit Edition, Windows Vista Enterprise, Windows Vista Home Basic, Windows Vista Home Premium, Windows Vista Ultimate

  • kbnosurvey kbarchive kbautohotfix kbvistasp1fix kbfix kbexpertiseadvanced kbqfe kbhotfixserver KB945683