+ Post New Thread
Results 1 to 9 of 9
Windows Server 2012 Thread, Printer Scripts Help in Technical; Hi Guys, I have a Windows 2012 Print Server with Windows 7 Clients and want to know how you guys ...
  1. #1
    Techdw's Avatar
    Join Date
    Jan 2009
    Thank Post
    Thanked 0 Times in 0 Posts
    Rep Power

    Printer Scripts Help

    Hi Guys,

    I have a Windows 2012 Print Server with Windows 7 Clients and want to know how you guys have set-up printers for users??

    The school has so many printers, so I need it to be set up in a way that when a user goes into a certain room ( IT Room ) they get that printer in that room mapped automatically for them, also another one is so all Admin reception staff get the printer in the admin area defaulted to them as well and not one half way around the school.

    I was looking at Print Management on the server and deploying printers via GPO but I can't see a way to set it up so they get the closest printer to them.

    Any help would be great. Thanks

  2. #2

    Join Date
    Oct 2005
    hey hey hey, stay outta my shed. STAY OUT OF MY SHED.
    Thank Post
    Thanked 221 Times in 167 Posts
    Rep Power
    To be honest, we stopped messing around with GPOs and scripts a few years ago and just purchased printer installer. It's everything that printer management should be. It not only makes it trivial to allocate printers based on location and other printers based on the user, but it also makes it so simple for end users to allocate their own printers that it has drastically reduced the amount of time lost to simple printer setup queries by both staff, students and IT staff that it's quite unreal.

    I know that suggesting that people spend money on systems management tools is unfashionable in educational IT but this is some of the best money I've ever spent for my lot.

  3. #3
    Marshall_IT's Avatar
    Join Date
    Jul 2011
    Thank Post
    Thanked 88 Times in 72 Posts
    Blog Entries
    Rep Power
    You can deploy printers to users or computers. The only issue I've come across is there is no way to set a default printer. But you can set it so they only get the printers they need.

  4. #4
    timbo343's Avatar
    Join Date
    Dec 2005
    Leeds/York area, North Yorkshire
    Thank Post
    Thanked 307 Times in 213 Posts
    Rep Power
    I use a vbs script which will look at user, ad group and or computer name and then map the relevant printers. Never had any problems with it in the past, it just works. One to log on which maps the printet then one at log off which removes all mapped printers but yet leaves locally installed ones.

    Have to change things in it every now and then but its not a big deal.

  5. #5
    robjduk's Avatar
    Join Date
    Jun 2011
    Thank Post
    Thanked 75 Times in 59 Posts
    Rep Power
    I now create a VBS which runs as a .bat. I use item level targeting in group policy and copy them to the computer's startup folder.

    cscript c:\windows\system32\printing_admin_scripts\en-us\prnmngr.vbs -x
    cscript c:\windows\system32\printing_admin_scripts\en-us\prnmngr.vbs -ac -p \\**server***\Printername
    cscript c:\windows\system32\printing_admin_scripts\en-us\prnmngr.vbs -t -p \\**server***\Printername

    first line deletes any printer found (not local), 2nd line adds printer and 3rd makes it default. I have about 10 of these scripts now and apart from the cmd box quickly appearing when they log on, works bloody brilliantly. Fixed all my issues I was having with group policy randomly deciding when it wanted to deploy them.

  6. #6

    Join Date
    Oct 2008
    Thank Post
    Thanked 237 Times in 225 Posts
    Rep Power
    I have used a kix script in the past where you great an AD group for the said printer (all named a certain way) when you login it looks up what the computer is a member of and then looks for the appropriately named printer and maps it as well as mapping a central queue for everyone. Works well I find.

  7. #7

    plexer's Avatar
    Join Date
    Dec 2005
    Thank Post
    Thanked 1,706 Times in 1,519 Posts
    Rep Power
    GPP using item level targeting or 3rd party software that's it.


  8. #8

    Join Date
    Mar 2009
    Thank Post
    Thanked 900 Times in 775 Posts
    Rep Power
    gpp using loopback to apply user policies to pcs so room 12 gets room 12 printers.
    vbs script that runs from all user startup on the pcs you want it to

  9. #9

    Join Date
    May 2011
    Jus North of London, close but not too close
    Thank Post
    Thanked 76 Times in 70 Posts
    Rep Power
    Group Policy Preferences.

    Printers are targeted at computer OU's with Loopback processing so users logging onto computers in specific rooms/areas get printers and a correctly assigned default printer for their room.

    Took a few days to setup and test last year and we haven't had any issues (touching wood).

    Policies are configured so anyone can install drivers for printers and the print servers are listed in the Point and Print Restrictions as follows which seemed to be necessary.

    Point and Print Restrictions Enabled
    Users can only point and print to these servers: Enabled
    Enter fully qualified server names separated by semicolons [ PRINT SERVERS ]
    Users can only point and print to machines in their forest Disabled

    Security Prompts:
    When installing drivers for a new connection: Do not show warning or elevation prompt
    When updating drivers for an existing connection: Do not show warning or elevation prompt
    This setting only applies to:
    Windows Vista and later

+ Post New Thread

Similar Threads

  1. Printer script - help
    By dyson38 in forum Scripts
    Replies: 2
    Last Post: 17th May 2011, 05:02 PM
  2. A Printer Script
    By Ric_ in forum Scripts
    Replies: 164
    Last Post: 1st October 2010, 11:11 AM
  3. Windows 7 Printer Scripting HELP!!
    By Scottyboy99 in forum Windows 7
    Replies: 13
    Last Post: 6th November 2009, 02:44 PM
  4. One PC refuses to run script! Help!!!
    By woody in forum Scripts
    Replies: 6
    Last Post: 5th October 2005, 12:37 PM
  5. Add printer script not workling
    By mark in forum Windows
    Replies: 6
    Last Post: 15th September 2005, 11:07 AM

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