+ Post New Thread
Results 1 to 11 of 11
Windows Thread, Deploying printers to specific users via GPO (2003 R2) in Technical; I'm using group policy to deploy printers and (apart from a bit of IE wierdness with certain drivers) it's _very_ ...
  1. #1


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    3,617
    Thank Post
    188
    Thanked 536 Times in 411 Posts
    Rep Power
    164

    Deploying printers to specific users via GPO (2003 R2)

    I'm using group policy to deploy printers and (apart from a bit of IE wierdness with certain drivers) it's _very_ handy.

    But I need a printer deploying to two people only.

    I could create another OU under the Staff OU in AD, place the two users in it, attach a blank GPO to the new OU and then deploy the printer using the blank GPO. But this seems a bit clunky - is there a better (more elegant) way?

  2. #2
    Norphy's Avatar
    Join Date
    Jan 2006
    Location
    Dunstable
    Posts
    1,255
    Thank Post
    13
    Thanked 36 Times in 27 Posts
    Rep Power
    26

    Re: Deploying printers to specific users via GPO (2003 R2)

    You could assign them a startup script which maps the printers although that isn't any more elegant than creating a new GPO and using the printer deployment wizard.

  3. #3

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,603
    Thank Post
    96
    Thanked 678 Times in 523 Posts
    Rep Power
    156

    Re: Deploying printers to specific users via GPO (2003 R2)

    Or you could maybe use a WMI filter?

  4. #4
    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    10,963
    Blog Entries
    1
    Thank Post
    104
    Thanked 422 Times in 365 Posts
    Rep Power
    109

    Re: Deploying printers to specific users via GPO (2003 R2)

    Surely a security filter would be the most sensible way of doing it? Remove authenticated users and add the two users you want to deploy the printer(s) to.

  5. #5


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    3,617
    Thank Post
    188
    Thanked 536 Times in 411 Posts
    Rep Power
    164

    Re: Deploying printers to specific users via GPO (2003 R2)

    @Norphy
    yeah, that's the other option I could think of. I'm trying to avoid scripting where possible.

    @Ric/Geoff
    yeah, I'm being thick. Add the new GPO to the default staff OU and then filter.

    I can't filter on the existing GPO, because printers are deployed to BaseStaffConfig (which holds what you think) and everyone needs that.

    Cheers.

  6. #6
    Midget's Avatar
    Join Date
    Oct 2006
    Location
    In a Server Room cutting through a forest of Cat5e
    Posts
    1,293
    Thank Post
    5
    Thanked 51 Times in 45 Posts
    Rep Power
    31

    Re: Deploying printers to specific users via GPO (2003 R2)

    I use a vbs run on startup via GPO that checks the 1st 4 chars of the computer name (ie rm05-01) and assigns the printer specified for that room. PM me if you want a copy of the script

  7. #7


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    3,617
    Thank Post
    188
    Thanked 536 Times in 411 Posts
    Rep Power
    164

    Re: Deploying printers to specific users via GPO (2003 R2)

    @midget
    yeah, so do I . Cheers anyway, but I'm trying to do as much as possible without scripting and our admin staff don't move around a lot.

  8. #8
    k-strider's Avatar
    Join Date
    Oct 2006
    Location
    Gloucester
    Posts
    282
    Thank Post
    6
    Thanked 27 Times in 21 Posts
    Rep Power
    15

    Re: Deploying printers to specific users via GPO (2003 R2)

    i'm with Security setting on gpo.. if you use gpo to push the printers its probably the cleanest way.. new GPO only applied to users of Special printer group...

  9. #9

    Ric_'s Avatar
    Join Date
    Jun 2005
    Location
    London
    Posts
    7,603
    Thank Post
    96
    Thanked 678 Times in 523 Posts
    Rep Power
    156

    Re: Deploying printers to specific users via GPO (2003 R2)

    @pete: Just add another GPO with a WMI filter or security policy.

  10. #10


    Join Date
    Dec 2005
    Location
    In the server room, with the lead pipe.
    Posts
    3,617
    Thank Post
    188
    Thanked 536 Times in 411 Posts
    Rep Power
    164

    Re: Deploying printers to specific users via GPO (2003 R2)

    @Ric,
    Yeah, I intend to - that's what I meant by saying:
    ".. I'm being thick. Add the new GPO to the default staff OU and then filter."

    Perhaps I should have said "I'll link an additional gpo to the ou and then filter the new gpo to the two members of staff"

    Cheers All.

  11. #11

    Join Date
    Sep 2006
    Location
    Essex
    Posts
    745
    Thank Post
    1
    Thanked 26 Times in 24 Posts
    Rep Power
    17

    Re: Deploying printers to specific users via GPO (2003 R2)

    This script will map printers depending on group membership

    Code:
    '  printermap.vbs
    ' VBScript to map different groups to different printer shares.
    ' Author djm968
    ' Version 1.2.0 - September 27 2006
    ' -----------------------------------------------------------------' 
    Option Explicit
    Dim objNetwork, objUser, CurrentUser, strGroup
    
    Const hu5_Group = "cn=hu5"
    Const enwr_Group = "cn=enwr"
    Const scgf_group = "cn=scgf"
    Const ss_group = "cn=ss"
    Const maof_group = "cn=maof"
    
    
    Set objNetwork = CreateObject("WScript.Network")
    
    Set objUser = CreateObject("ADSystemInfo")
    Set CurrentUser = GetObject("LDAP://" & objUser.UserName)
    strGroup = LCase(Join(CurrentUser.MemberOf))
    
    If InStr(strGroup, hu5_Group) Then
    objNetwork.AddWindowsPrinterConnection("\\NAS01\HU5 Black Laser") 
    objNetwork.AddWindowsPrinterConnection("\\NAS01\HU5 Colour Laser") 
    objNetwork.SetDefaultPrinter "\\NAS01\HU5 Black Laser"
    
    
    ElseIf InStr(strGroup, enwr_Group) Then
    objNetwork.AddWindowsPrinterConnection("\\NAS01\ENWR Black Laser") 
    objNetwork.AddWindowsPrinterConnection("\\NAS01\ENWR Colour Laser") 
    objNetwork.SetDefaultPrinter "\\NAS01\ENWR Black Laser" 
    
    ElseIf InStr(strGroup, scgf_Group) Then
    objNetwork.AddWindowsPrinterConnection("\\NAS01\SCGF Black Laser") 
    objNetwork.AddWindowsPrinterConnection("\\NAS01\SCGF Colour Laser") 
    objNetwork.SetDefaultPrinter "\\NAS01\SCGF Black Laser"
    
    ElseIf InStr(strGroup, ss_Group) Then
    objNetwork.AddWindowsPrinterConnection("\\NAS01\SS Black Laser") 
    objNetwork.AddWindowsPrinterConnection("\\NAS01\SS Colour Laser") 
    objNetwork.SetDefaultPrinter "\\NAS01\SS Black Laser"
    
    ElseIf InStr(strGroup, maof_Group) Then
    objNetwork.AddWindowsPrinterConnection("\\NAS01\MAOF Black Laser") 
    objNetwork.AddWindowsPrinterConnection("\\NAS01\MAOF Colour Laser") 
    objNetwork.SetDefaultPrinter "\\NAS01\MAOF Black Laser"
    
    End If
    WScript.Quit

SHARE:
+ Post New Thread

Similar Threads

  1. Deploying printers via group policy
    By Southwell in forum Windows
    Replies: 16
    Last Post: 7th December 2007, 01:28 PM
  2. Replies: 4
    Last Post: 29th April 2007, 02:16 PM
  3. Replies: 1
    Last Post: 9th March 2007, 10:10 AM
  4. SMS 2003 - Deploying software
    By Gatt in forum Windows
    Replies: 0
    Last Post: 10th January 2007, 06:33 PM
  5. Problems deploying Office 2003 SP2 by WSUS
    By tosca925 in forum Windows
    Replies: 4
    Last Post: 10th November 2005, 02:20 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •