Avatar of jahangir303
jahangir303
Flag for Afghanistan asked on

Automatic printer isntallation on network computers

i want to know how can i install ]network printer or share printer on multiple machine using any script or what ever the easiest best solution
Microsoft Server OSWindows OS

Avatar of undefined
Last Comment
julian_brunt

8/22/2022 - Mon
nsonbaty

julian_brunt

a simplet WSH script can add a shared printer, in a loginscript for example.

Set WshNetwork = CreateObject("WScript.Network")
WshNetwork.AddWindowsPrinterConnection "\\PrintServer1\Xerox300"
WshNetwork.SetDefaultPrinter "\\PrintServer1\Xerox300"
jahangir303

ASKER
I know how to install and configure network printer but i want to know the way through which i can install network printers on multiple machine at once. "Nsondaty" yo udidn't catch my question :(.
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck
zedgama3

Depending on how many computers you need to add the printer to it may be easier to do them individually.  However if you want a script to install the printer you can find details here:
http://community.spiceworks.com/scripts/show/1056-install-network-printer

Basically you will need to download the INF drivers and create a batch script that utilizes cscript to install the printer for you.  It's a bit of work for a few computers, but if you're using a system where you can push updates or would rather walk around with a thumb drive ( or have a lackie do it for you :-) ), then this might be the solution for you.
jahangir303

ASKER
Dear Julian

Can you please give me a Sample script for printer installation on network so i can edit it and deploy it through Log-on script
ASKER CERTIFIED SOLUTION
julian_brunt

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question