How to install printer driver into AD

Posted on 2011-05-05
Last Modified: 2012-05-11
Dear All,

Can someone show me or direct me on how to install printer drivers in AD through terminal services in Server 2003/2008?  Or even at the server level.

Question by:Nippon

    Expert Comment

    To publish a printer shared by a computer running Windows 2000, use the Sharing tab in the printer's properties. By default, the List in the Directory check box is selected. This means that the shared printer is published by default. The printer is published in the corresponding computer container in Active Directory. It is named server-printer name.

    Changes made to the printer's attributes (location, description, loaded paper, and so forth) are propagted to Active Directory.

    To share and publish a Windows 2000-based printer:
    In Windows 2000, click Start, point to Settings, click Printers, and then click Add Printer. Follow the instructions to create the printer.
    After you have created and shared the printer, the Listed in the Directory check box should be selected. The Printer object is published under the Computer object to which it is attached.
    Note In Windows 2000 Server, the Add Printer Wizard shares the printer and publishes it in Active Directory by default, unless you click Do not share this printer in the wizard's Printer Sharing dialog box. In Windows 2000 Professional, the Add Printer Wizard does not share the printer automatically; you need to Share as to share and publish the printer.
    Back to the top
    Non-Windows 2000-based computers
    You can publish printers shared by versions of Windows other than Windows 2000 in Active Directory. If Windows Scripting Host is installed (it is installed by default in Windows 98), the simplest method is to use the Pubprn script. This script publishes all the shared printers on a given server. The script is located in the System folder. The syntax is:
    cscript pubprn.vbs servername dspath
    For example, the following command publishes all the printers on the Prserv1 server. The printers are published in the Marketing organizational unit (OU):
    cscript pubprn.vbs prserv1 "LDAP://ou=marketing,dc=antipodes,dc=com"
    This script copies only the following subset of the printer's attributes:
    UNC Path
    You can add other attributes by using the Active Directory Users and Computers snap-in (Dsa.msc) in Microsoft Management Console (MMC). Note that you can run the Pubprn script a second time to update (rather than overwrite) existing printers. For more information Windows Scripting Host and the installation location, click the following article number to view the article in the Microsoft Knowledge Base:
    188135  Description of Windows Script Host (WSH)
    To use the Active Directory Users and Computers snap-in to publish non-Windows 2000-based printers:
    Click Start, click Run, type dsa.msc, and then click OK.
    Double-click the domain name, right-click the organizational unit, point to New, and then click Printer.
    In the UNC Path box, type the path to the printer (such as \\servername\printername).
    Back to the top
    Searching for Printers in Active Directory
    Active Directory client users can browse for printers published in Active Directory, submit jobs to those printers, and even install the printer drivers directly from the server.
    Click Start point to Search, and then click either For Printers in Windows 2000 or in Windows XP.
    In the In box, click Entire Directory.
    Type the parameters on which you want to search.
    Click Find Now.
    Right-click a printer, and then click Connect to install it. Or, click Open to view the current printer queue.
    Administrators can use Group Policy to change the default behavior of the printing environment. For more information, click the following article number to view the article in the Microsoft

    Author Comment

    What about for the IP based printers such as HP Printers Laserjet 2025 for example?

    Author Comment

    To be more precise, I am running XP and W7 clients.  I would like to access AD or the Server via terminal clients to install the driver from the client.
    LVL 3

    Expert Comment

    i'm not sure what you mean "install drivers in AD".  Do you mean just to install drivers on a domain controller that is also a print server?

    Author Comment

    Here's my predicament:

    I am not running a lab.  

    At work, i've seen a client who installed an HP Printer driver to a MS server (Windows Server 2003)through a terminal client on a W7 workstation.  I don't know what environment his work's running.  I may be talking gibberish every now and then so i may not make sense.  He put the CD in and opened the window.  Via the terminal client, he has appeared to copy files or installed the printer driver from the window to a folder on the server or AD?

    I just would like to understand that particular step.

    I hope that is of any helps.
    LVL 3

    Accepted Solution

    so basically what you want to do is install a printer on a remote PC/server?  if so, the best way would be to remote desktop into the machine (start -> run -> mstsc -> computer name or ip address of the remote machine), download the driver for the particular printer online, and do the install from there.  

    Author Comment

    Hi Frank,

    Apologies for the late reply.

    Yes, you are almost right.  If I have a CD driver and there is a a particular folder where the drivers reside, would you know the folder driver that the driver goes to?  Would you know the steps to copy or to install the driver assuming it is different from the normal driver installation wizard?

    Author Closing Comment


    Featured Post

    Highfive + Dolby Voice = No More Audio Complaints!

    Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

    Join & Write a Comment

    Disabling the Directory Sync Service Account in Office 365 will stop directory synchronization from working.
    This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
    This tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    24 Experts available now in Live!

    Get 1:1 Help Now