Solved

Session printers will not delete

Posted on 2009-04-10
6
4,965 Views
Last Modified: 2013-11-21
My problem is as follows. I have a multitude of users that connect to my 2003 server through remote desktop, once they close and end their session the printers that are available to them remain on the server and do not delete causing problems for those that connect afterwards from a separate location and name but using the same session number.

eg. hltupstairs connects and has printer abc123 correctly connect and redirect to their local printer. It appears on the server as printer abc123 (from hltupstairs) in session 1. However once they disconnect this printer remains on the server. They connect again and the printer is again connected and redirect but this time in a new session, but both still remain on the server. And when hltdownstairs connects as session 1 it has occasional trouble printing.

Regardless the problem is printers not auto deleting after clients disconnect from a remote desktop session.  So eventually the printer folder on the server is full of tons of printers duplicates with different sessions associated with them. Which also causes confusion when choosing a printer.  And of course I cannot delete them from printers folder on the server because they are no longer "connected".

I have UPHClean installed (which took care of some of the problems for a while),  but this problem still persists. The only solution that I have found is to end spoolsv from running and then restart it. Which is definitely not a fix or a viable option. Any help on this matter would be appreciated!! Thanks in advance.
 
0
Comment
Question by:jshiffty
6 Comments
 

Author Comment

by:jshiffty
ID: 24121961
anybody have a clue at all as to what the problem is??
0
 
LVL 38

Assisted Solution

by:ChiefIT
ChiefIT earned 20 total points
ID: 24122187
How are you deploying printers?

Are you using a script or are you deploying them through group policy?
0
 
LVL 66

Assisted Solution

by:johnb6767
johnb6767 earned 20 total points
ID: 24123451
I was going to primarly suggest UPHC......   :(

Do you have a lot of Printers already installed on this server?
0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 9

Accepted Solution

by:
Alex Appleton earned 460 total points
ID: 24144150
I have had this issue in the past and 9 times out of 10 it is always because there are unsupported RDP printer drivers installed on the terminal server.

If you can, try to minimize the amount of drivers installed on the terminal server.  Use built in Windows and generic/universal print drivers wherever possible.  Do a google search for using ntprintsubs and map as many drivers as possible.

We have managed to get our clients on HP specific printers only, HP posts a list of supported Citrix printers which we use as guidance on what printers to deploy.  HP also has a driver pre-configuration utility which we use to disable un-necessary features with the drivers that can also cause issues with the spooler.  

I find the more printer drivers that are installed effects the stability of the print spooler.  I'd check to see what the most recent driver installations were and possibly remove them.  
0
 

Author Closing Comment

by:jshiffty
ID: 31569081
Thanks for everyone that responded!, And especially thank you to AAppleton, I was starting to believe this may be the problem (vaguely mentioned by johnb) too many printers. In fact this was this issue as the drivers had somehow expanded to a more than manageable size (including a GERMAN driver!!) which I believe may have been the biggest cause.

The part-time IT person before me added a multitude of drivers in an effort to make sure everything was supported. I have now narrowed down to the necessary drivers including those Generic/Universal drivers which definitely helped. Also specific printers per site is a definite advantage I hope we will be implementing soon.

Thanks again everyone, all replies were awarded points, with the vast majority going to AAppleton.
0
 
LVL 66

Expert Comment

by:johnb6767
ID: 24144206
Yea, thats what I was getting too... Didnt want to suggest killing them all, if you had 100 printers....

:)

Glad youre fixed tho....
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
change home folder path 4 40
heat agent push through GPO 2 35
DNS records 18 79
SolarWind and DNS Server 12 41
I've always wanted to allow a user to have a printer no matter where they login. The steps below will show you how to achieve just that. In this Article I'll show how to deploy printers automatically with group policy and then using security fil…
Printers have changed substantially in the last 30 or so years, not just in technical capabilities but in cost and usage as well.  Printers were originally used for interfacing with the operator, not necessarily for printing copy or pictures. In …
This video discusses moving either the default database or any database to a new volume.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

744 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