Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 370
  • Last Modified:

How can I assign only certain printers to users

I have a terminal server running Server 2008R2. I don't want to redirect printers to the client as all my printers are network printers installed on the terminal server. I need to be able to list only certain printers to each user depending on their department.  How might I accomplish this task?

Thanks in advance.
0
fatty432
Asked:
fatty432
  • 4
  • 4
  • 3
  • +1
1 Solution
 
enzogoyCommented:
There are two way to do it:
1st - log in script.  Create a vbs script and then add those script into the log on for each gpo.
2nd - under GPO, under Windows Setting there is an option for Printer Deploy.  You can add printers you allow for that group in that list.

 I haven't try the second way coz my work place use vbscript for printer.
0
 
ching023Commented:
If you are using Print Server,

You can setup Permission on printer too, to restrict who can print to some specific printer.
0
 
ching023Commented:
You can setup a few machines, Running XP is fine. and each one of them to manage printers for different department.

When someone ask for adding printer, you can just gave them the machine that manage his/her department's printer, then s/he can see only those printers in their department.
0
Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

 
fatty432Author Commented:
That was my next question and that may be the best solution. We have about 20 printers on the Terminal server now.  I only want the departments to see the printers assigned to that department..
Can the VB Script or GP accomplish that?
0
 
ching023Commented:
I know that you can write a Batch file (.bat) for adding printers.

here might be do-able, still you your server to manage all the printers. but hide them all from the directory. so no one can see any of the printer.

Then you can get different batch files for different departments. let say a batch file for finance, and a batch file for legal. which add finance and legal printers accordingly.
 
Someone from Finance want to add some printers, send them the finance batch file. then they can add only those finance printers. same with legal people want their printer installed.

Again, it would be better to setup the permission on printers too. just in case for some smart guys who can see the setting from the server, but they still can't add them for printing.

I am not sure if GPO can do the job. since I don't know GPO that well.
0
 
dontsemeCommented:
Have you looked at Group Policy with windows 2008 server you can set default printers in broup policy.
0
 
fatty432Author Commented:
I haven't looked at GP too deep, but I may be able to create a policy for each department and then set default printers in the policy for each department. I will try that tomorrow. I'll leave this thread open for the night  for further input. I will look at the GPO in the morning. Thanks for the input so far.  I would like to do it in the GPO if is possible.
0
 
enzogoyCommented:
vbs can do   that.

It allow you to add a certain printers to a group and assign a default printer as well.
Like I told you before, my workplace still using vbs.

If you need one, I can copy the code up here for you.
0
 
fatty432Author Commented:
Enzoqoy,
That would be great. I would like to see the code.
0
 
enzogoyCommented:
If you need more explanation about the scripts, please let me know.

enz
LibraryPrinter.txt
0
 
fatty432Author Commented:
Thanks,
I'll give this a go tomorrow.
0
 
enzogoyCommented:
Thanks.  Good luck.  
I'll be around if you need help with it.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 4
  • 4
  • 3
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now