Programatically Add Printers

Using a tool from the Windows Zero Administration Kit (ZAK), which is called con2prt.exe, you can connect to network printers from the command line (or through login script) and even set the default.
ZAK can be downloaded from http://www.microsoft.com/ntworkstation/downloads/Recommended/Featured/NTZAK.asp – this mentions it’s for OS’s up to NT 4.0, but the only took I have used is con2prt and this works fine on XP. We are able to remove ALL network printers from a station, then add just the ones we want, then make a specific one the default. This is good for auto logon stations or generic logon stations that we need to clean up after the last user – but users should be able to add other printers for one-off jobs if they want.

Comments are closed.