Solved

Terminal Server Session Management

Posted on 2006-07-18
4
323 Views
Last Modified: 2013-12-03
Hi,

One of my clients connects to a terminal server and runs a frieght management application. Their RDP icon has local resource 'printers' ticked. The terminal server is running in administrator mode with the standard licensing of 2 administrators.

The printer is attached locally to the workstation using the usb port. Drivers have been installed both on the workstation and the terminal server. The printer works fine when connecting to the TS and prints correctly. When connecting to the terminal server I noticed that the printer is assigned a session 1 or session 2. This is a problem for the freight program as it seems to be name specific.

If the user is logged in to session 1 and the frieght program has been set to print from e.g. HP 1320 (session 1) , it works fine. Now, if the user logs off the sesison and connects again, they might receive session 2 and the printer will reflect this, but the frieght program won't (and will not print as it still shows session1)! The frieght program's printing settings now need to be changed to the printer e.g. HP 1320 (session 2) for printing to work.

I have advised the client to disconnect the terminal session so that it remains running on the terminal server and that next time she logs in it will pick up the disconnected session and will prevent the session number from changing. This to me is only a tempoary fix and would like to know if there is another way that the user can logoff the session and still receive the same session number when logging back in?

Regards,
0
Comment
Question by:amerretz
4 Comments
 
LVL 10

Accepted Solution

by:
victornegri earned 500 total points
Comment Utility
Not that I know of. Windows picks the first available session and gives it to the user.

One way is to remove the Shut Down AND Log off icons from the start menu. That way the user is forced to close the program using the X, therefore keeping their session alive.

Another way (which I haven't tried yet) is to create a local printer on the server using the HP 1320 driver. Select "Printer Pooling" on the ports tab and then place a checkmark next to the TS001, TS002, etc ports. Have the freight program print to this printer. Then it doesn't matter which session the user logs on with. This will not work if multiple users are logged on to the server though.

Maybe you can experiment with these suggestions and see if something works for you.
0
 

Author Comment

by:amerretz
Comment Utility
I'll try that local printer option...thanks
0

Featured Post

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Organizations create, modify, and maintain huge amounts of data to help their businesses earn money and generally function.  Typically every network user within an organization has a bit of disk space to store in process items and personal files.   …
Restoring deleted objects in Active Directory has been a standard feature in Active Directory for many years, yet some admins may not know what is available.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

743 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

16 Experts available now in Live!

Get 1:1 Help Now