What is the best way to script printers in AD

Posted on 2006-03-29
Last Modified: 2008-05-30

We have a windows 2000 single domain Active Directory with a few hundred xp clients.

At the mo we are manually adding the network printers at the clients. What is the best way for AD to assign the printers?

Create a GPO at each OU that maps specific printers??


Question by:scottyboy777
    LVL 2

    Expert Comment

    Not exactly the answer you are looking for, but I have used the commands found here

    and put them in batch scripts. You could then call these scripts via a logon script in a GPO or link to them on an intranet page that users can double click to install the printers themselves..

    LVL 5

    Accepted Solution

    There are multiple ways to assign printers. One way is to have the one logon script (vbscript) and have it automatically assign a printer based on the membership of the computer account and/or the user and then set that to run in the default GPO for the organisation. Or you could have a seperate script for each OU by setting up a seperate GPO for each OU. Y

    There are examples on how to do this here-

    How to map a printer using vbscript-
    LVL 12

    Expert Comment

    >>>Create a GPO at each OU that maps specific printers??

    If you are using GPO for any other tasks, you can Use GPO for mapping printers.
    Login Scripts will do the same thing, you have have to use Kixtart or vbs scripts, as these scrpts are capable to LDAP query the AD. and assign the Printer according to it..

    What is your current position
    are u using any scripts???
    are u using GP for any other tasks???



    Featured Post

    Find Ransomware Secrets With All-Source Analysis

    Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

    Join & Write a Comment

    Suggested Solutions

    Some time ago I was asked to set up a web portal PC to put at our entrance. When customers arrive, they could see a webpage 'promoting' our company. So I tried to set up a windows 7 PC as a kiosk PC.......... I will spare you all the annoyances I…
    Let’s list some of the technologies that enable smooth teleworking. 
    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…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    755 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

    26 Experts available now in Live!

    Get 1:1 Help Now