GDI Objects Leak in Explorer When Printing
On a computer that is running Windows Vista or Windows Server 2008, a user may experience graphics corruption and artefacts after printing many times. Using Task Manager to view the GDI Objects may show that the value has reached 10,000 objects.
This issue occurs because of a GDI object leak in the print notification DLL (prnntfy.dll) for the Explorer. Each print job causes a print notification icon to be displayed in explorer’s notification bar. When prnntfy.dll creates this icon it leaks a GDI icon object. Eventually, the maximum number of GDI objects are created, and the explorer is not able to perform normal graphics operations.
To work around this issue, disable the print notification icon by editing the Windows registry.
Important This section contains information about how to modify the registry. Make sure that you back up the registry before you modify it. Make sure that you know how to restore the registry if a problem occurs. For more information about how to back up, restore, and modify the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To disable the print notification icon, follow the below mentioned steps:
- Click Start, click Run, type regedit in the Open box, and then click OK.
- Locate the following registry subkey:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Print
- On the Edit menu, point to New, and then click DWORD Value.
- In the New Value #1 box, type DisableTrayNotification, and then press ENTER.
- Right-click DisableTrayNotification, and then click Modify.
- In the Value data box, type 1 to disable the print notification, and then click OK.
- Quit Registry Editor.
Article ID: 2811266 - Last Review: 01/30/2013 15:09:00 - Revision: 1.0
Windows Vista Home Basic, Windows Vista Home Basic 64-bit Edition, Windows Vista Home Premium, Windows Vista Home Premium 64-bit Edition, Windows Vista Business, Windows Vista Business 64-bit Edition, Windows Vista Enterprise, Windows Vista Enterprise 64-bit Edition, Windows Vista Ultimate, Windows Vista Ultimate 64-bit Edition, Windows Vista Service Pack 2, Windows Server 2008 Standard, Windows Server 2008 Standard without Hyper-V, Windows Server 2008 Enterprise, Windows Server 2008 Enterprise without Hyper-V, Windows Server 2008 Datacenter, Windows Server 2008 Datacenter without Hyper-V, Windows Server 2008 for Itanium-Based Systems, Windows Server 2008 Service Pack 2