net_user Posted March 3, 2006 Share Posted March 3, 2006 (edited) i'm trying to add network printers via group policy...i would like to add the "hrprinter" to the h.r. ou in active directory (2000)so when ever a h.r. person logons to a new pc or what ever...she has that printer...i don't wanna do this via login script...i found the registry settings for this printer installed...Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Printers\Connections\,,server1,hrprinter]"Server"="\\\\server1""Provider"="win32spl.dll"any help would be appreciated!! Edited March 3, 2006 by net_user Link to comment Share on other sites More sharing options...
chilifrei64 Posted March 3, 2006 Share Posted March 3, 2006 I myself am still in search of the ultimate mapping printer script.. I have a few that work but none that map based on group membership/site location dynamically. Hopefully someone here will have one that will take care of it all..As far as doing it via an adm file.. prolly not tooooo possible.. only because there is more to adding a printer then a couple registry settings.. however there is hope.. and I dont have it installed right now.. but when playing with Vista server.. There was a drive and printer mapping option in the group policy editors... maybe someone can shed some light.. or maybe i will install it and attempt to find the source of those options... Link to comment Share on other sites More sharing options...
nmX.Memnoch Posted March 4, 2006 Share Posted March 4, 2006 I'll refer back to KiX again for this one... Select Case InGroup("group_name1") AddPrinterConnection("\\server\printer1") AddPrinterConnection("\\server\printer2") SetDefaultPrinter("\\server\printer1") Case InGroup("group_name2") AddPrinterConnection("\\server\printer1") AddPrinterConnection("\\server\printer2") SetDefaultPrinter("\\server\printer2") Case InGroup("group_name3") AddPrinterConnection("\\server\printer3") AddPrinterConnection("\\server\printer4") SetDefaultPrinter("\\server\printer3") Case InGroup("group_name4") AddPrinterConnection("\\server\printer3") AddPrinterConnection("\\server\printer4") SetDefaultPrinter("\\server\printer4")EndSelectAs you can see, you can add multiple printer connections and then specify which one is the default printer. Link to comment Share on other sites More sharing options...
cluberti Posted March 4, 2006 Share Posted March 4, 2006 Windows Server 2003 R2... Link to comment Share on other sites More sharing options...
chilifrei64 Posted March 4, 2006 Share Posted March 4, 2006 You know... I was actually trying to add something to one of my drive mapping scripts that I have and actually noticed that there was some printer stuff in it also. This script will Map a printer/network drive based on group membership.I know it is still not an adm file or just GPO but it does work if you dont have Vista Server or 2k3R2http://lazynetworkadmin.com/content/view/7/6/ Link to comment Share on other sites More sharing options...
net_user Posted March 4, 2006 Author Share Posted March 4, 2006 Windows Server 2003 R2... at the moment i can't upgrade my dc to 2003....the dc at the root level is still on 2000 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