?
Solved

set same default printer for any user on a pc

Posted on 2008-10-07
6
Medium Priority
?
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

Group policies can be applied selectively to specific devices with the help of groups. Utilising this, it is possible to phase-in group policies, over a period of time, by randomly adding non-members user or computers at a set interval, to a group f…
After seeing many questions for JRNL_WRAP_ERROR for replication failure, I thought it would be useful to write this article.
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…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses

719 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