Jump to content

Recommended Posts

Posted (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 by net_user

Posted

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...

Posted

I'll refer back to KiX again for this one... :D

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")
EndSelect

As you can see, you can add multiple printer connections and then specify which one is the default printer.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...