Terminal Server Session Management
Posted on 2006-07-18
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?