Solved

set same default printer for any user on a pc

Posted on 2008-10-07
6
368 Views
Last Modified: 2013-11-25
Customer wants users of a given pc to have the same default printer.  Other pc's on the domain will have different default printers based on physical location, but all domain users will print to another default printer at the new location.
0
Comment
Question by:MichaelRees
  • 3
6 Comments
 
LVL 18

Expert Comment

by:sk_raja_raja
ID: 22661942
Did you try to design this with group policy.... Please explain the requirement in detail
0
 
LVL 6

Accepted Solution

by:
MrNiss99 earned 500 total points
ID: 22664673
If I am understanding your question right, I would implement geographical groups for your users and then just apply a logon script for each of the groups. You can create a logon.vbs that will do an LDAP query  that checks group membership and will assign printers appropriatly. Here is the add printer portion of our logon.vbs

Set WshNetwork = CreateObject("WScript.Network")
      WshNetwork.AddWindowsPrinterConnection "\\printserver\printer"
0
 

Author Comment

by:MichaelRees
ID: 22672872
Thanks to both of these responses, Let me explain the problem in a different way, we have a domain where some of the pc's are assigned to specific users and other pc's are for anyones use.  The multi user pcs are placed around the building in different areas.  The requirement is that any domain user may sit at any of the multiuser pc's and logon (no problem there), however the default printer for that user will be the closest physical printer.  At this time a .vbs script runs as part of group policy and assigns all available printers, the trick now is to assign the default printer to the domain users pc.  i.e. a user may be at pc#1 then their default printer will be printer#1, when that same user goes to pc#2, the default printer for that pc will be printer #2.  Finally, any domain user will be allowed to use these multi user pc's.
I have tried working with the default user folder on the pc with some success, I rather think the most reliable solution might be pc based login scripts and leave user profiles alone.  These tend to be touchy even in a good stable network.
0
 

Author Comment

by:MichaelRees
ID: 25861910
Thanks to all for their assistance, I implemented two solutions, first is a vbs script that assignes all printers to the domain users, this is fairly straight forward, the secret is another script that runs every time someone logs into that pc, then the DEFAULT printer is assigned locally no matter who the user is.
Works great.
Thanks again.
Mike Rees
0
 

Author Closing Comment

by:MichaelRees
ID: 31503934
script runs great and fixes issue.
Thanks
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
This article runs through the process of deploying a single EXE application selectively to a group of user.
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now