This article has been archived. It is offered "as is" and will no longer be updated.
If you open the Printers window or attempt to print from any program, you may receive one of the following error messages:
Spoolsv.exe has generated errors and will be closed by Windows.
Printer operation cannot continue due to lack of resources.
This issue can occur if a printer driver that is installed on the computer is damaged.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore 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 resolve this issue, remove printers and printer drivers, and then delete the items that are under certain keys in the registry. Follow these steps:
If possible, remove any printers that are listed in the Printers window.
To remove a printer, right-click the printer in the Printers window, click Delete, and then click Yes to confirm the deletion.
In the Printers window, on the File menu, click Server Properties.
On the Drivers tab, remove all of the installed printer drivers.
To remove a printer driver, click the driver, click Remove, and then click Yes to confirm.