• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 378
  • Last Modified:

set same default printer for any user on a pc

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
MichaelRees
Asked:
MichaelRees
  • 3
1 Solution
 
sk_raja_rajaCommented:
Did you try to design this with group policy.... Please explain the requirement in detail
0
 
MrNiss99Commented:
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
 
MichaelReesAuthor Commented:
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
 
MichaelReesAuthor Commented:
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
 
MichaelReesAuthor Commented:
script runs great and fixes issue.
Thanks
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

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

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