CAB file that is exported by using the Wsusutil.exe command is displayed as 0 KB on a Windows Server 2012-based WSUS server

Applies to: Windows Server 2012 DatacenterWindows Server 2012 DatacenterWindows Server 2012 Essentials

Symptoms


Consider the following scenario:
  • You have a Windows Server Update Services (WSUS) server that is running Windows Server 2012.
  • You use the Wsusutil.exe command-line tool to synchronize software update metadata on the WSUS server. For example, you run the following command:
    wsusutil.exe export export.cab export.log
  • The command is completed without error.
In this scenario, the file size of the exported package file (Export.cab) is displayed as 0 kilobytes (KB).

Cause


This issue occurs because the metadata.txt file within the exported CAB file exceeds the limit of 2 gigabytes (GB).

Note CAB files have an internal limit of 2 GB for included files.

Resolution


This hotfix is also available at Microsoft Update Catalog.

Hotfix information

To resolve this issue, install the hotfix that is described in this article. Then, use the following syntax to export or import update metadata by using the GZIP file format:

wsusutil.exe export export.xml.gz export.log
wsusutil.exe import import.xml.gz import.log

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.

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, submit a request to 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 website: 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.

Prerequisites

To apply this hotfix, you must be running Windows Server 2012.

Registry information

To use the hotfix in this package, you do not have to make any changes to the registry.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix replaces all previously released updates for WSUS 3.0 Service Pack (SP2).  For more information about WSUS 3.0 SP2, click the following article number to view the article in the Microsoft Knowledge Base:
2734608 An update for Windows Server Update Services 3.0 Service Pack 2 is available (KB2734608)


Status


Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

More Information


For more information about the Wsusutil.exe command-line tool, go to the following Microsoft website: 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

Additional file information

Additional file information for Windows Server 2012

Additional files for all supported x64-based versions of Windows Server 2012
File nameMsil_microsoft.updateservices.baseapi_31bf3856ad364e35_6.2.9200.16552_none_dac409dadb90fcc5.manifest
File versionNot applicable
File size1,396
Date (UTC)08-Mar-2013
Time (UTC)00:57
PlatformNot applicable
File nameMsil_microsoft.updateservices.baseapi_31bf3856ad364e35_6.2.9200.20656_none_c3f607faf538c34f.manifest
File versionNot applicable
File size1,396
Date (UTC)08-Mar-2013
Time (UTC)01:14
PlatformNot applicable