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?
Page 1 of 1
The best way to map printers
#2
Posted 11 October 2004 - 04:04 PM
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 Explicit
Dim objNet
Set objNet = CreateObject("WScript.Network")
bjNet.AddWindowsPrinterConnection "\\SERVER_NAME\PRINTER1"
objNet.AddWindowsPrinterConnection "\\SERVER_NAME\PRINTER2"
//////////////////////////////////////////////////
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 Explicit
Dim objNet
Set objNet = CreateObject("WScript.Network")
bjNet.AddWindowsPrinterConnection "\\SERVER_NAME\PRINTER1"
objNet.AddWindowsPrinterConnection "\\SERVER_NAME\PRINTER2"
//////////////////////////////////////////////////
#4
Posted 12 October 2004 - 02:21 PM
I get an error in line 4, character 1 (Permission denied)...and I'm no VB expert. Help?
#5
Posted 12 October 2004 - 02:30 PM
maybe it's THE permission problem talked before....try running this script as an Admin.
Share this topic:
Page 1 of 1



Help

Back to top








