Discussion Locked

Add printers during login

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
Is there a free way to add printers to a workstation when the user logs in? Using Windows 2000 server, Windows XP/2000 machines and Active Directory. I know you can do it with something like Scriptlogic but don't want to buy something just for printers...

4 replies

by jamierterrell

so the NT version will work with 2000 server and XP workstations? I know the kernels are about the same but didn't know if you had to get a the version for your OS..

by leo_bronstein

The utility in Zero Admin Kit is \i386\Tools\con2prt.exe. Below are the options.
H:\>con2prt /?

CON2PRT: Lets the user disconnect all existing connections to Windows NT printers and connect to newly specified Windows NT printers.

Usage: CON2PRT [ /? | /h | /f |
[/c \\printserver\share | /cd \\printserver\share]+]
where:

/? - displays usage.
/h - displays usage.
/f - deletes all existing printer connections.
/c - connects to \\printserver\share printer.
/cd - connects to \\printserver\share printer and sets it as the default
printer.

NOTE: /?, /h can only be the first parameter and if specified further
interpretation of the command line is stopped. /f can also only
be the first parameter, however it doesn't stop further
interpretation of the command line. Any number of /c and /cd
parameters can be specified however only the first /cd sets the
printer specified as the default.

Hint: Use --Net View \\printserver-- to determine available print shares.

Copy con2prt.exe into any server share accessable for anyone on your network and create a batch file as shown below.

\\servername\sharename\con2prt.exe /c \\servername\printername

Then email the batch file to a user or add it to a logon script.

by cody

I agree.
Con2prt.exe is probably the best and easiest solution. You can also use the "ADDPRINTER" command in KIX scripting as well which is quite nice.

Have a look here for some exampls on using the con2prt.exe usage: http://www.thisishelpful.com/con2prt-exe-map-delete-and-set-default-printer-a1.html.

If you're keen, use a KIX file as well. I use both and it works well. Have a look here also: http://www.thisishelpful.com/kix-login-script-to-map-printers-network-drives-and-setting-changes-a3.html.

Hope that ehlps you out.

This discussion is closed to new replies.