Microsoft KB Archive/246269

From BetaArchive Wiki
Knowledge Base

Requirements for proper function of the Directory Services Printer Pruner in an enterprise

Article ID: 246269

Article Last Modified on 3/1/2007


  • Microsoft Windows Server 2003, Enterprise Edition (32-bit x86)
  • Microsoft Windows Server 2003, Standard Edition (32-bit x86)
  • Microsoft Windows 2000 Server
  • Microsoft Windows 2000 Advanced Server

This article was previously published under Q246269

Important This article contains information about how to modify the registry. Make sure to 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:

256986 Description of the Microsoft Windows registry


For the Printer Pruner to operate across the enterprise and allow for the scavenging of orphaned queues on an unmanaged basis, every site in the enterprise must have at least one domain controller running the print spooler (Spoolsv.exe).

Note If a site does not have a domain controller, you can add a site to a domain controller in another site. To do this, follow these steps on a domain controller.

Warning Serious problems might occur if you modify the registry incorrectly by using Registry Editor or by using another method. These problems might require that you reinstall your operating system. Microsoft cannot guarantee that these problems can be solved. Modify the registry at your own risk.

  1. Click Start, click Run, type regedit, and then click OK.
  2. Locate the following registry subkey:


  3. Right-click this registry subkey, point to New, and then click Multi-String Value.
  4. Type SiteCoverage in the Name box.
  5. Double-click the new SiteCoverage registry subkey, click Modify, type the name of the site or sites that you want to add to this domain controller in the Value data box, and then click OK.

    Note Set the value to the list of the space-delimited site names.


If a site does not meet this criteria, orphaned printer queue objects can accumulate in the directory. This reduces the effectiveness of the "Search for Printers" option when users query Active Directory, because queues that no longer exist on the network are present in the list users choose from. For more information about the Printer Pruner, click the following article numbers to view the articles in the Microsoft Knowledge Base:

246906 Printer Pruner may prune all the print queue objects on its site

246174 Printer Pruner may not remove printer queue objects from Active Directory

Additional query words: service

Keywords: kbinfo kbprint KB246269