Link to home
Start Free TrialLog in
Avatar of zenworksb
zenworksb

asked on

auto printers in AD

i have about 10 printers in my network that I have setup ipo printi9ng on all teh computers to porint directly the owner of teh company wants me to setup a backup plan to have a ll the printers on one server and with the click of a button everyone gets the printers. I know if you have printers in AD when people logon they can auto get the printers how do you setup that function and how do you set it for one user every uesr or just when you activate it what are the steps thatnk you we have 2003 servers in a ad enviroment with xp machines
Avatar of purplepomegranite
purplepomegranite
Flag of United Kingdom of Great Britain and Northern Ireland image

The way I usually install printers on the network is to create a startup script using prnmngr.vbs and its siblings to install the driver and printers.

e.g.

cscript %systemroot%\system32\prnmngr.vbs -ac -p "\\Desktop7\hp5150"

The above will install the printer located on machine Dekstop7 shared as hp5150.

For network printers you can install them so that the machine prints directly to them.  e.g.

' Create the network port
cscript %systemroot%\system32\prnport.vbs -t -r IP_10.96.40.64 -o raw -n 9100 -h 10.96.40.64

' Install the printer driver
cscript %systemroot%\system32\prndrvr.vbs -a -m "Tally T8024 PCL6" -v 3 -e "Windows NT x86" -h "\\server1\Software Install\Tally 8024\Drivers\PCL\EC\WinXP" -i "\\server1\Software Install\Tally 8024\Drivers\PCL\EC\WinXP\tlxhiia.inf"

' Install the printer
cscript %systemroot%\system32\prnmngr.vbs -a -p "Tally 8024 (ICT Suite)" -m "Tally T8024 PCL6" -r IP_10.96.40.64
Avatar of zenworksb
zenworksb

ASKER

so how would I do it to add the following printeron the following server from start to finish in a script?

printer name- hplaserjet1
server name-printserver
driver-hplaserjet

thank you
ASKER CERTIFIED SOLUTION
Avatar of purplepomegranite
purplepomegranite
Flag of United Kingdom of Great Britain and Northern Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
it worked you are the man thank you
No problem... I love scripting, makes administration almost a pleasure!!