Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Print spooler files are deleted unexpectedly before an application finishes using them in Windows 8 and Windows Server 2012


View products that this article applies to.

Symptoms

An application that is running on Windows 8 or Windows Server 2012 and that uses the StartDocPrinter API may encounter a problem in which the spooler deletes and re-creates the file that is specified in the pOutputFile pointer. This may be problematic for applications that create the pOutputFile code element before the code calls StartDocPrinter and that rely on the file existing and being consistent.

↑ Back to the top


Cause

This problem occurs in Windows 8 and Windows Server 2012 because the spooler opens pOutputFile by using the FILE_FLAG_DELETE_ON_CLOSE flag.

↑ Back to the top


Resolution

This hotfix is also available at Microsoft Update Catalog.

To resolve this problem, install this hotfix. This hotfix changes the spooler not to delete the file if pOutputFile already exists.

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 the problem described in this article. 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, go to 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 8 or Windows Server 2012.

Restart requirement

You must restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any previously released hotfix.

File information
The English (United States) version of this hotfix installs files that have the attributes that are listed in the following tables. The dates and the times for these files are listed in Coordinated Universal Time (UTC). The dates and the times for these files on your local computer are displayed in your local time together with your current daylight saving time (DST) bias. Additionally, the dates and the times may change when you perform certain operations on the files.

Windows 8 and Windows Server 2012 file information notes
Important Windows 8 and Windows Server 2012 hotfixes are included in the same packages. However, only "Windows 8" is listed on the Hotfix Request page. To request the hotfix package that applies to one or both operating systems, select the hotfix that is listed under "Windows 8" on the page. Always refer to the "Applies to" section in articles to determine the actual operating system that each hotfix applies to.
  • The files that apply to a specific product, milestone (RTM,SPn), and service branch (LDR, GDR) can be identified by examining the file version numbers as shown in the following table.

    VersionProductMilestoneService branch
    6.2.920 0.16xxxWindows 8 and Windows Server 2012RTMGDR
    6.2.920 0.20xxxWindows 8 and Windows Server 2012RTMLDR
  • The MANIFEST files (.manifest) and the MUM files (.mum) that are installed for each environment are listed separately in the "Additional file information for Windows 8 and Windows Server 2012" section. MUM and MANIFEST files, and the associated security catalog (.cat) files, are extremely important to maintain the state of the updated components. The security catalog files, for which the attributes are not listed, are signed with a Microsoft digital signature.
For all supported x86-based versions of Windows 8
File nameFile versionFile sizeDateTimePlatformService branch
Splwow64.exe6.2.9200.16384109,05626-Jul-201203:20x86X86_MICROSOFT-WINDOWS-PRINTING-SP
Spoolsv.exe6.2.9200.16652496,12826-Jun-201323:20x86X86_MICROSOFT-WINDOWS-PRINTING-SP
Splwow64.exe6.2.9200.20759109,05627-Jun-201303:40x86X86_MICROSOFT-WINDOWS-PRINTING-SP
Spoolsv.exe6.2.9200.20759496,64027-Jun-201303:40x86X86_MICROSOFT-WINDOWS-PRINTING-SP
For all supported x64-based versions of Windows 8 and of Windows Server 2012
File nameFile versionFile sizeDateTimePlatformService branch
Splwow64.exe6.2.9200.16384126,46426-Jul-201203:08x64AMD64_MICROSOFT-WINDOWS-PRINTING-SP
Spoolsv.exe6.2.9200.16652766,97626-Jun-201323:23x64AMD64_MICROSOFT-WINDOWS-PRINTING-SP
Splwow64.exe6.2.9200.20759126,46427-Jun-201308:53x64AMD64_MICROSOFT-WINDOWS-PRINTING-SP
Spoolsv.exe6.2.9200.20759768,51227-Jun-201308:53x64AMD64_MICROSOFT-WINDOWS-PRINTING-SP
For all supported ARM-based versions of Windows 8
File nameFile versionFile sizeDateTimePlatformService branch
Splwow64.exe6.2.9200.16384108,54426-Jul-201201:31Not ApplicableARM_MICROSOFT-WINDOWS-PRINTING-SP
Spoolsv.exe6.2.9200.16652461,31226-Jun-201322:38Not ApplicableARM_MICROSOFT-WINDOWS-PRINTING-SP

↑ Back to the top


Status

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

↑ Back to the top


Additional file information

Additional file information for Windows 8 and for Windows Server 2012

Additional files for all supported x86-based versions of Windows 8
File nameX86_171159ab6d278310b0bd668240d2b847_31bf3856ad364e35_6.2.9200.16652_none_fa22ba5f649d99d7.manifest
File versionNot Applicable
File size709
Date (UTC)27-Jun-2013
Time (UTC)16:52
PlatformNot Applicable
File nameX86_d6cd9459cf3cfdde17ce474dbbe088c5_31bf3856ad364e35_6.2.9200.20759_none_7e58b37bb6376efd.manifest
File versionNot Applicable
File size709
Date (UTC)27-Jun-2013
Time (UTC)16:52
PlatformNot Applicable
File nameX86_microsoft-windows-printing-spooler-core_31bf3856ad364e35_6.2.9200.16652_none_d31523e492d8facb.manifest
File versionNot Applicable
File size242,005
Date (UTC)27-Jun-2013
Time (UTC)16:52
PlatformNot Applicable
File nameX86_microsoft-windows-printing-spooler-core_31bf3856ad364e35_6.2.9200.20759_none_d3a5c2b5abf04bf6.manifest
File versionNot Applicable
File size242,002
Date (UTC)27-Jun-2013
Time (UTC)05:01
PlatformNot Applicable
Additional files for all supported x64-based versions of Windows 8 and of Windows Server 2012
File nameAmd64_04c52082eb355e2e805984f4fa77044c_31bf3856ad364e35_6.2.9200.20759_none_859d91df048a5e8d.manifest
File versionNot Applicable
File size713
Date (UTC)27-Jun-2013
Time (UTC)16:53
PlatformNot Applicable
File nameAmd64_2ee03528f258efc9f48dba53aff040e1_31bf3856ad364e35_6.2.9200.16652_none_666d48fdc414f704.manifest
File versionNot Applicable
File size713
Date (UTC)27-Jun-2013
Time (UTC)16:53
PlatformNot Applicable
File nameAmd64_microsoft-windows-printing-spooler-core_31bf3856ad364e35_6.2.9200.16652_none_2f33bf684b366c01.manifest
File versionNot Applicable
File size242,558
Date (UTC)27-Jun-2013
Time (UTC)16:54
PlatformNot Applicable
File nameAmd64_microsoft-windows-printing-spooler-core_31bf3856ad364e35_6.2.9200.20759_none_2fc45e39644dbd2c.manifest
File versionNot Applicable
File size242,555
Date (UTC)27-Jun-2013
Time (UTC)10:37
PlatformNot Applicable
Additional files for all supported ARM-based versions of Windows 8
File nameArm_9e1eac48bb04498f85db9f5e4fe9857f_31bf3856ad364e35_6.2.9200.16652_none_43a1f3d03daa476b.manifest
File versionNot Applicable
File size709
Date (UTC)27-Jun-2013
Time (UTC)16:52
PlatformNot Applicable
File nameArm_microsoft-windows-printing-spooler-core_31bf3856ad364e35_6.2.9200.16652_none_d317963c92d61991.manifest
File versionNot Applicable
File size238,760
Date (UTC)27-Jun-2013
Time (UTC)16:52
PlatformNot Applicable

↑ Back to the top


Keywords: kb, kbautohotfix, kbqfe, kbhotfixserver, kbfix, kbexpertiseinter, kbsurveynew, kbbug

↑ Back to the top

Article Info
Article ID : 2865658
Revision : 1
Created on : 1/7/2017
Published on : 8/14/2013
Exists online : False
Views : 236