Phyridean Posted October 11, 2004 Share Posted October 11, 2004 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? Link to comment Share on other sites More sharing options...
Rtano Posted October 11, 2004 Share Posted October 11, 2004 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"////////////////////////////////////////////////// Link to comment Share on other sites More sharing options...
Phyridean Posted October 12, 2004 Author Share Posted October 12, 2004 Thanks a lot Rtano, I will test this. Link to comment Share on other sites More sharing options...
Phyridean Posted October 12, 2004 Author Share Posted October 12, 2004 I get an error in line 4, character 1 (Permission denied)...and I'm no VB expert. Help? Link to comment Share on other sites More sharing options...
Rtano Posted October 12, 2004 Share Posted October 12, 2004 maybe it's THE permission problem talked before....try running this script as an Admin. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now