Printers by login script
Posted on 2004-08-20
A client of mine has a standard login script - i.e. it just maps a few network drives. However, they would like their 3 network printers to be connected to the clients when they logon, by the login script. The login script use net use etc., but then last but one line from the end there is a vbs file name, just printers.vbs.
Printers.vbs is in the same directlory as the scripts. It runs, but only connects printers for admins. Why?
Set net = CreateObject("WScript.Network")
net.AddWindowsPrinterConnection "\\FRESHTERMINAL\Ricoh700", "Ricoh 700"
net.AddWindowsPrinterConnection "\\FRESHTERMINAL\RicohColour", "Ricoh Colour"
net.AddWindowsPrinterConnection "\\FRESHTERMINAL\Ricoh450", "Ricoh 450"
I don't want all the users to be power users - there's around 80 clients.