Solved

Terminal Server Session Management

Posted on 2006-07-18
4
338 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Numerous times I have been asked this questions that what is it that makes my machine log on so slow, there have been cases where computers took 23 minute exactly after taking password and getting to the desktop. Interesting thing was the fact th…
A quick step-by-step overview of installing and configuring Carbonite Server Backup.
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…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

739 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