Solved

Terminal Server Session Management

Posted on 2006-07-18
4
335 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
[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
4 Comments
 
LVL 10

Accepted Solution

by:
victornegri earned 500 total points
ID: 17135973
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
ID: 17136019
I'll try that local printer option...thanks
0

Featured Post

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

The HP utility "HP Lights-Out Online Configuration Utility for Windows Server 2003/2008" could be of great use when it comes to remotely configure a HP servers ILO WITHOUT rebooting the server. We would only need to create and run scripts using thi…
Learn about cloud computing and its benefits for small business owners.
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

740 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