October 11, 200421 yr What has everyone found to be the best way to add certain printers on client computers automatically according to group membership?I've tried vbscripts and modifying printui.dll with a batch file, but both of these require admin privileges, which I don't want to give my users.Ideas?
October 11, 200421 yr i've written a logon-script that map a network printer....Tomorrow when i get to work i post it.You dont need to be an admin to connect a printer (i believe ).The method is in thw WSHnetwork object.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\Option ExplicitDim objNetSet objNet = CreateObject("WScript.Network")bjNet.AddWindowsPrinterConnection "\\SERVER_NAME\PRINTER1"objNet.AddWindowsPrinterConnection "\\SERVER_NAME\PRINTER2"//////////////////////////////////////////////////
October 12, 200421 yr Author I get an error in line 4, character 1 (Permission denied)...and I'm no VB expert. Help?
October 12, 200421 yr maybe it's THE permission problem talked before....try running this script as an Admin.
Create an account or sign in to comment