Jump to content

Recommended Posts

Guest Andreas
Posted

Hi,

Currently my users log on to Terminal Services they see the printers as i

want. However, the printers have a session number after them. This obviously

changes depending on the time of day / when they log on etc.

Is there any way i can remove this feature as it is quite annoying and is

causing problems for 3rd party applications.

 

Thanks

David

  • Replies 1
  • Created
  • Last Reply
Guest Munindra Das [MSFT]
Posted

Re: Win 2008

 

There is no direct way to tell TS to not add session ID at the end of the

printer names. Also, there is no way to have a fixed name across

disconnect/reconnect of the same session since it will always have the

current session ID at the end.

 

In case you want to change the printer name, you can use a program using the

WMI class Win32_Printer to set the printer name. You will have to do it

every time a session is connected. The program can be intelligent enough to

create the printer name at runtime by querying for the current session ID

and appending that at the end of the name. You can set the program to run at

every connect.

 

If the app is broken because it is trying to find the printer by name, which

keeps changing, the app should be fixed to use functions like

GetDefaultPrinter to get the default printer.

 

Thanks!

 

This posting is provided "AS IS" with no warranties, and confers no rights.

 

"Andreas" <Andreas@discussions.microsoft.com> wrote in message

news:48C5A152-C489-4199-8827-0405780525E5@microsoft.com...

> Hi,

> Currently my users log on to Terminal Services they see the printers as i

> want. However, the printers have a session number after them. This

> obviously

> changes depending on the time of day / when they log on etc.

> Is there any way i can remove this feature as it is quite annoying and is

> causing problems for 3rd party applications.

>

> Thanks

> David

>


×
×
  • Create New...