Solved

Terminal Server Session Management

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

VMware Disaster Recovery and Data Protection

In this expert guide, you’ll learn about the components of a Modern Data Center. You will use cases for the value-added capabilities of Veeam®, including combining backup and replication for VMware disaster recovery and using replication for data center migration.

Question has a verified solution.

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

So you have two Windows Servers and you have a directory/folder/files on one that you'd like to mirror to the other?  You don't really want to deal with DFS or a 3rd party solution like Doubletake. You can use Robocopy from the Windows Server 200…
Many of us need to configure DHCP server(s) in their environment. We can do that simply via DHCP console on server or using MMC snap-in on each computer with Administrative Tools installed in a network. But what if we have to configure many DHCP ser…
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…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

856 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