Computing.Net > Forums > Windows 2000 > Add network printers automatically

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Add network printers automatically

Reply to Message Icon

Name: dhcomputing
Date: October 6, 2005 at 11:25:58 Pacific
OS: Win 2K SP4/Win XP SP2
CPU/Ram: 1 GHz
Comment:

Our company has grown significantly recently and adding printers seperatly for each user is getting painful. Is there a way to add network printers automatically? Maybe through a login script or Group Policy? We have all Win XP SP2 machines and Win 2k SP4 servers.
Thank you



Sponsored Link
Ads by Google

Response Number 1
Name: seawatch
Date: October 6, 2005 at 17:53:25 Pacific
Reply:

Build a group called Printers. Add each new user to that group. Set the security settings on the printer for the group.

As each new user comes onto the network, they only be needed to the Printers group to access the printer.

Larry

"Sometimes I lie awake at night, and I ask, 'Where have I gone wrong?' Then a voice says to me, 'This is going to take more than one night.'"
Charlie Brown.


0

Response Number 2
Name: brent5158
Date: October 6, 2005 at 23:42:18 Pacific
Reply:

I use con2prt.exe

If you do a web search on this program you will get enough info to get you up and running.


0

Response Number 3
Name: Dirty_Sanchez
Date: October 8, 2005 at 09:37:40 Pacific
Reply:

yes, you can also do it via script as well


0

Response Number 4
Name: dhcomputing
Date: October 26, 2005 at 12:24:46 Pacific
Reply:

Mike, do you have a sample script that does this?
I'll look into the con2prt.exe.
Thank you all for your help.


0

Response Number 5
Name: Dirty_Sanchez
Date: October 27, 2005 at 08:27:52 Pacific
Reply:

here is the text to my vbs. obviously you'll substitute your server name and printer name.

Dim net
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\train\Audit_BP"
net.AddWindowsPrinterConnection "\\train\Audit_trio"
net.AddWindowsPrinterConnection "\\train\Audit_BP"
net.AddWindowsPrinterConnection "\\train\FDA_Cannon"
net.AddWindowsPrinterConnection "\\train\Financial_PL"
net.AddWindowsPrinterConnection "\\train\Mortgage"
net.AddWindowsPrinterConnection "\\train\Tax_BP"
net.AddWindowsPrinterConnection "\\train\Tax_canon"
net.AddWindowsPrinterConnection "\\train\Tax_Duo"
net.AddWindowsPrinterConnection "\\train\TAX_Super"
net.AddWindowsPrinterConnection "\\train\FD_Color"
net.AddWindowsPrinterConnection "\\train\dungeon"
net.AddWindowsPrinterConnection "\\buzzsaw\Fileroom_Sharp"
net.AddWindowsPrinterConnection "\\buzzsaw\Audit_LibraryPCL"


0

Related Posts

See More



Response Number 6
Name: dhcomputing
Date: October 28, 2005 at 14:46:50 Pacific
Reply:

Mike - That's perfect, thank you.
Do you by chance know how to set one of those to the default printer?


0

Response Number 7
Name: Dirty_Sanchez
Date: October 28, 2005 at 17:47:18 Pacific
Reply:

I dont know if you can do that via script or not. I havent tried since I use the same script for all users and they are in so many locations that each user defines their own default. You may be able to d it, if so let me know the command for future reference


0

Response Number 8
Name: dhcomputing
Date: November 11, 2005 at 07:21:47 Pacific
Reply:

Mike,
Thanks again for your help.
Here is how you do it all, delete, add, set deafault...

Dim net
Set net = CreateObject("WScript.Network")
net.RemovePrinterConnection "\\servername\printername"
net.AddWindowsPrinterConnection "\\servername\printername"
net.SetDefaultPrinter "\\servername\printername"


0

Response Number 9
Name: Dirty_Sanchez
Date: November 11, 2005 at 08:49:06 Pacific
Reply:

wouldnt that kinda be a pain though? to create a specific script for each user (I have a couple hundred so you can see how long that could take)?


0

Response Number 10
Name: dhcomputing
Date: November 30, 2005 at 09:21:31 Pacific
Reply:

It's not for each user, it's for each printer. And you can do it in two seperate scripts... so add the printers with one script (that way if there are any changes you only have to change it in one place).
Then set the default in a second script...Put the users in OU's by printer locations and then the setdefault script runs in seperate GP's for all users in that OU). So there's an OU for each printer with all the nearby users in that OU, and there's a seperate setdefault script for each OU.
So the logon script is a .bat file that calls the two vbs files as follows...

SharedNetworkdrive\Printers\addallprinters.vbs
SharedNetworkdrive\Printers\150\setprinterdefault150.vbs

That way it waits to add the printers before trying to set the default. The initial setup is somewhat of a pain, but then it's easy from there.


0

Sponsored Link
Ads by Google
Reply to Message Icon






Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Windows 2000 Forum Home


Sponsored links

Ads by Google


Results for: Add network printers automatically

Can't add network printer in W2K pro www.computing.net/answers/windows-2000/cant-add-network-printer-in-w2k-pro/31915.html

add network printer ALL users Win 2000 www.computing.net/answers/windows-2000/add-network-printer-all-users-win-2000/19321.html

map a network printer www.computing.net/answers/windows-2000/map-a-network-printer/61483.html