Re: Automatic install of network printer(s) based on AD location f



Inline
Jorge: I am using R2, so I could do the GPO thing with groups, But I
still
need to find out which GPO will add the printers automaticly according to
their group membership. ( haven't found it yet. ) Can you point me in the
right direction?

Create a new GPO "Printers ROOM1 GPO" link it to the place where the
workstations are, an give the security "ROOM01" group read and apply
permissions to the "Printers ROOM1 GPO" GPO, you need to remove the apply
GPO permissions to the authenticated users (that is set by default).

--
I hope that the information above helps you.
Have a Nice day.

Jorge Silva
MCSE, MVP Directory Services
"Marco" <Marco@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:DA0A27FF-C940-4B09-8828-4D8AEABEBBCD@xxxxxxxxxxxxxxxx
Jorge: I am using R2, so I could do the GPO thing with groups, But I
still
need to find out which GPO will add the printers automaticly according to
their group membership. ( haven't found it yet. ) Can you point me in the
right direction?

Anthony: What you're describing is indeed the sort of script i'm looking
for. But I really have no big scripting knowledge and don't know how to
read
the location field of a computer and a printer.

Thanks

"Anthony" wrote:

That's a very interesting question. I think the Location concept is an
analogue one (the location is just a string, with whatever naming
convention
you choose), but as it is also a field in AD I guess you could read the
fields and match them in script.
It's not something I have tried, because generally I think you either use
Locations to help the user attach a printer, or you map it directly, in
which case you don't need the location. By doing it the way you suggest,
you
would effectively be maintaining a database of printer and workstation
locations in AD.
So in your case the script would need to read the computer location, and
match it with a printer at the same location. I don't have an example of
a
script to do that, though,
Anthony, http://www.airdesk.co.uk




"Marco" <Marco@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:03A42042-B869-4A83-AC3E-85E09A60EA34@xxxxxxxxxxxxxxxx
Hi,

I have set up various printers and computers in active directory with
the
location field filled in. For example: I have a printer called PRN01
and a
XP
workstation called WS01. Both have the location: Room1 filled in. I
have
another printer called PRN02 and Workstation called WS02. These have
their
location filled in as : Room2.

How can I get PRN01 automaticly installed on WS01 and PRN02 automaticly
installed on WS02 based on their location field?

Maybe some sort of script or policy?

I tried to use the Group Policy: Pre-populate printer search location
text.
If I do a search it just returns the printers in the same location. So
that
works fine. How can I get these printers automaticly installed and set
one
of them as default?

Thanks.

Kinds regards.





.



Relevant Pages

  • Re: Login Script Help
    ... They are currently attempting to implement a login script that defines ... user's home share as well as mapped drives and printer assignment to ... group membership and then only install the printers as per the primary ...
    (microsoft.public.windows.server.active_directory)
  • Re: Login Script Help
    ... They are currently attempting to implement a login script ... the default printer based on group membership. ... group membership and then only install the printers as per the ... Set objGroup1 = ...
    (microsoft.public.windows.server.active_directory)
  • Re: pushprinterconnection.exe
    ... I used a startup script and I verified that the everyone had read access. ... Logged on as administrator and didn't get the assigned printers. ... Does GPO deployment work under that scenario? ...
    (microsoft.public.windows.group_policy)
  • Re: Computer Printer GPOs not properly updated.
    ... Old GP which were applied to a machine ages ago are showing up in the ... "smonty" wrote: ... only the current in GPO. ... This is not exactly the problem (the printers are not deleted/renamed, ...
    (microsoft.public.windows.group_policy)
  • Re: Logon scripts not running upon login
    ... Since you've dropped it in a GPO I assume you're applying this through GPO ... remove 3 network drives in case they are already in use ... set one of the printers as default printer ... The script itself works fine both on the server and on the hosts The problem I am having is running these upon login automaticaly. ...
    (microsoft.public.windows.server.active_directory)

Loading