Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Multiple printers being created by terminal sessions

Posted on 2007-11-13
8
Medium Priority
?
825 Views
Last Modified: 2013-11-21
Hi,
I am running Windows Server 2003.  Users connect through terminal services.  My issue relates to printing.  

I have a printer connected to the LPT port of a client PC.  The printer is shared and advertised in the directory.  Logged in locally as an Administrator on the server, I add this printer and successfully test print.  So far so good.

When a user logs in through terminal services, they select this printer and print successfully.  However, their action creates another instance of the printer.  

For example, as an administrator if create a printer called "Xante AW1200" which is connected to a client PC called "Barb".  When a user "Ingrid" prints from within a terminal sessions another printer called "Xante AW1200 on Barb (from Ingrid) in session 7" is created.  

The problem is that users are confused as to which printer they should select as there may be 4 to 5 instances of the same printer showing up.

When I look at the ports assigned to these multiple printer connections, they read, for example, "TS018".  
For those printers that have network cards installed, TCP/IP port assignments from the server, and sharing from the server rather than from a client PC the same issue exists.

Security on all printers is "Print" for the everyone group and full access for Administrators.  I have tried granting full access to the everyone group and this doesn't solve the problem.

This issue stumps me and any assistance would be greatly appreciated.  I may be delayed in responding sometimes but please bear with me as I will respond and am very keen on solving this.

Thanks,

David Bristow
daveb@langsystems.com
0
Comment
Question by:askey
[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
  • 3
  • 2
8 Comments
 
LVL 31

Expert Comment

by:Cláudio Rodrigues
ID: 20276817
You are misunderstanding how printing and terminal services work.
Terminal Services has a built-in mechanism where printers connected to the client are automatically mapped (created) on the server, under the user session. There is no need whatsoever for you to add or create printers on the TS. This is done automatically by the TS.
You can of course change such behavior and simply tell the TS not to create any printer that exists on the client side.
To do that you can either go on the CLIENT and on the 'Resources' tab, UNCHECK 'Client Printers'. The second option is to run TSCC.MSC on the TS and on RDP-tcp disable the client printer mapping.
Note such mechanism exists to make your life easier so you do not have to manually create such printers. It is all done for you.
But again if there is a reason for you to reinvent the wheel, go nuts. :-)

Cheers,

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
0
 
LVL 9

Expert Comment

by:dreamyguy
ID: 20279386
In Terminal services,

1. All local printers get automatically redirected onto the server.
2. Clients see only their own redirected printers in the Printers dialog box.

This behavior is by design.
0
 

Author Comment

by:askey
ID: 20280400
It's true that I didn't understand that this is by design.  Thanks for clearing up my misunderstanding.

So, I understand now that local resources such as printers are mapped over into ts sessions if they are selected under local resources.  The problem, however, is that multiple instances of these local printers are being created and not disappearing once the user who has that locally attached printer logs off of terminal services.  Is this by design also?  Other logged on ts users are then getting confused as to which printer to select.  

Also, these printers need to be selectable for many ts users, not just those who have the printer attached to their local PCs.  Is my best course of action then to create the printer connection on the server and then "run TSCC.MSC on the TS and on RDP-tcp" ?  And no, I don't want to reinvent the wheel :-)

Thanks again,

David Bristow
daveb@langsystems.com
0
What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

 
LVL 9

Expert Comment

by:dreamyguy
ID: 20280863
When a session printer is created, it is supposed to get deleted automatically when a user logs out or gets disconnected. However there have been instances where the printers remain even after users get disconnected. These printers are known as ORPHANED printers which can happen due to bad printer drivers.

download.microsoft.com/download/4/6/b/46bae314-ea7b-4c39-bcb6-defbc907ee54/TSPrint.doc
0
 
LVL 9

Expert Comment

by:dreamyguy
ID: 20281034
Yes, the best way for all the users to access the printers in the TS would be to create the printers on the TS.
0
 
LVL 31

Accepted Solution

by:
Cláudio Rodrigues earned 1500 total points
ID: 20282961
The best approach, if the TS can see the network printers (as these are network printers, either on its own or shared from another machine) is to create these printers on the TS itself. The reason for that is simple.
If I have a mapped printer on my PC (network printer) and I connect to the TS and it automatically creates that printer for me, when I print the job goes from TS to my PC and from there to the printer, in a dual hop scenario.
If I create such network printer on the TS, when I print the job goes directly to the printer, avoiding the dual hop what is more efficient.
So in this particular case I would disable the CLIENT to map the printers.
On a side note if users can see all the printers the TS created this means a couple things:
1. Users are using a common username/password to login to the TS and not unique IDs.
2. The users have more privileges than they should have (they may be Power Users or Administrators).
3. Or the TS is not up to date in terms of patches. :-)

Hope this helps.

Claudio Rodrigues
Microsoft MVP
Windows Server - Terminal Services
0
 

Author Comment

by:askey
ID: 20284165
Thank you for your input.  I will proceed to setup the printers on TS and disable the clients to map the  printers.  I won't be able to implement this solution until tomorrow (Thursday).  I'll let you know how I make out.

David Bristow
daveb@langsystems.com
0
 

Author Comment

by:askey
ID: 20291075
Problem solved.  Thank you very much for your help.

David Bristow
daveb@langsystems.com
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

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

Welcome to my series of short tips on migrations. Whilst based on Microsoft migrations the same principles can be applied to any type of migration. My first tip Migration Tip #1 – Source Server Health can be found listed in my profile here: http:…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
Suggested Courses

610 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