none
Print Spooler service on DC RRS feed

  • Question

  • Hi,

    I was wondering if there are any recommended best practices when it comes to running the print spooler service on DC. We are currently in the process of migrating to Windows Server Printing and would like to publish all printers in AD. It is my understanding that the print pruning process is initiated by the DC, is it recommended to leave this role to only 1 DC hence only running print spooler service on one DC or do you enable it on all DC's.

    We have a multi domain forest but I would be only enabling the print spooler on 4 DC's or 1 DC's which host the domain where printers are published.

    Thank you,

    Thursday, October 25, 2012 12:46 PM

Answers

  • Well, Iam not sure about your question,

    But the printspooler on a server x will publish the printer on the DC, it's not the DC that retrieve the list. So basicly my idea is that if you have a printserver in a remote site and no DC, then the update can be longer.

    In exemple;  (http://msdn.microsoft.com/en-us/library/ms814836.aspx)

    Allow pruning of published printers

    This topic has not yet been rated - Rate this topic

    Computer Configuration\Administrative Templates\Printers

    Description

    Determines whether the domain controller can prune (delete from Active Directory) the printers published by this computer.

    By default, the pruning service on the domain controller prunes printer objects from Active Directory if the computer that published them does not respond to contact requests. When the computer that published the printers restarts, it republishes any deleted printer objects.

    If you enable this policy or do not configure it, the domain controller prunes this computer's printers when the computer does not respond.

    If you disable this policy, the domain controller does not prune this computer's printers. This setting is designed to prevent printers from being pruned when the computer is temporarily disconnected from the network.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/

    Thursday, November 1, 2012 1:15 AM

All replies

  • I would use 1 DC, as usually it does not take much cpu power to host. The other DC are on remote site ? If yes I always recommand to use a local server for your user to host another printservice's role. The idea is to keep the shortest 'printing path' for your user to have some good performance.

    Like a user in a remote site X, that map a printer from server Y in the site Z that point back a printer in site X will have a nightmare to print, as the packet will travel a unnecessary's route.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/

    Friday, October 26, 2012 3:02 AM
  • Thanks Yagmoth555,

    I may not have been clear with my question. My intent is not to use our DC's as print servers but to simply enable print spooler service to ensure that stale printer objects are removed from the directory. What I don't know and am looking for recommendations is do you run the print spooler on all DC's or only on 1 ?

    If it changes anything, our DC are all centralized none are located at remote site and we anticipate to have 2000+ printers located in over 900 remote sites.

    Friday, October 26, 2012 11:27 AM
  • Well, Iam not sure about your question,

    But the printspooler on a server x will publish the printer on the DC, it's not the DC that retrieve the list. So basicly my idea is that if you have a printserver in a remote site and no DC, then the update can be longer.

    In exemple;  (http://msdn.microsoft.com/en-us/library/ms814836.aspx)

    Allow pruning of published printers

    This topic has not yet been rated - Rate this topic

    Computer Configuration\Administrative Templates\Printers

    Description

    Determines whether the domain controller can prune (delete from Active Directory) the printers published by this computer.

    By default, the pruning service on the domain controller prunes printer objects from Active Directory if the computer that published them does not respond to contact requests. When the computer that published the printers restarts, it republishes any deleted printer objects.

    If you enable this policy or do not configure it, the domain controller prunes this computer's printers when the computer does not respond.

    If you disable this policy, the domain controller does not prune this computer's printers. This setting is designed to prevent printers from being pruned when the computer is temporarily disconnected from the network.


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/

    Thursday, November 1, 2012 1:15 AM
  • Right, but in order to have a working pruning process the print spooler on the DC's has to be enabled, correct?
    Thursday, November 1, 2012 11:03 AM
  • Yes the pruning functions are performed by the DC when the spooler service running there.  If the spooler service in not running pruning will not occur.  The print server role in NOT required unless you are running a CORE OS for the DC.

    Alan Morris Windows Printing Team

    Thursday, November 1, 2012 3:27 PM
    Answerer
  • Excellent, so the question remains does microsoft recommend you run the print spooler service on all DC or running it only on 1 would suffice ? I'm concerned that if you run the service on all DC's how does each DC keep track of the retry interval since by default a printer is pruned after 3 unsuccessful attempts of trying to contact a specific printer. So by running the service only on one DC you can assure that the retry interval is only attempted 3 times.

    Maybe I'm over thinking this ??

    Thursday, November 1, 2012 4:51 PM
  • To be honest, I leave the spooler service at the default value on all my dc, and like Alan's told, you don't need to install the print server role. So by default it should work ok :)


    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/


    Thursday, November 1, 2012 4:53 PM
  • Thank you, the ony reason I ask is by default our organization has decided to turn print spooler off on all DC's because in the pass we did not leverage Microsoft for print servers but we are now in the process of migrating to microsoft printing.
    Thursday, November 1, 2012 4:55 PM
  • For Pruning, the spooler service must be running on the DC.  The retry count is maintained on each spooler service seperately, there is no co-ordination between the DC in this regard.   I do not have a recommendation regarding how many DC's to run the service on.  I feel that you can meet your needs with one DC providing this service.  If you have not explicitly disabled the service on your existing DC's, I'd say just leave all as is.

    !!!Yagmoth, I'm heading into a product phase where my time on this forum will be extremely limited.  If you need clarification on something, do you think you can send me email?  alanmo


    Alan Morris Windows Printing Team

    Thursday, November 1, 2012 6:51 PM
    Answerer
  • Alan, yes, no problem!, thanks a lot for your times, it's really appreciated. I will look a bit more to report/propose answer. I didn't easilly find your email, but I will ask someone I know at MS if you don't mind, to not publish email address there on the forum. 

    MCP | MCTS 70-236: Exchange Server 2007, Configuring

    Want to follow me ?  |  Blog: http://www.jabea.net | http://blogs.technet.com/b/wikininjas/

    Friday, November 2, 2012 1:19 AM
  • Yagmoth

    Sounds good.  Send me mail once you have the address and I will reply so you know you got me.  Add your user name in the message title.

    Thanks


    Alan Morris Windows Printing Team

    Sunday, November 4, 2012 12:52 AM
    Answerer