Home All Groups Group Topic Archive Search About

detect if running on a terminal server

Author
17 Jul 2006 12:04 AM
Smokey Grindle
is there any way to detect if yoru app is runnign on a terminal server in
..net? so we can slim down graphics and such for it? thanks!

Author
17 Jul 2006 1:40 AM
Chris
Smokey Grindle wrote:
> is there any way to detect if yoru app is runnign on a terminal server in
> .net? so we can slim down graphics and such for it? thanks!
>
>

I just set a command line parameter that I would launch whenever I
launched from a terminal server.

Program.Exe /TS

Then I would lower the graphics.

Chris
Author
17 Jul 2006 11:29 AM
Michel Posseth [MCP]
If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]



Show quoteHide quote
"Smokey Grindle" wrote:

> is there any way to detect if yoru app is runnign on a terminal server in
> ..net? so we can slim down graphics and such for it? thanks!
>
>
>
Author
7 Aug 2006 2:09 PM
Smokey Grindle
I'm sorry but I dont have a clue where the product suite registry entry is,
I searched the registery for "Terminal Server" but found nothing that isnt
also in my standard XP workstation registry also....

Show quoteHide quote
"Michel Posseth [MCP]" <MichelPosseth***@discussions.microsoft.com> wrote in
message news:6D002F9E-3F2D-4E55-945C-04E3F735A36C@microsoft.com...
>
> If Terminal Server is installed, the product suite registry entry will
> contain the string "Terminal Server."
>
> regards
>
> Michel Posseth [MCP]
>
>
>
> "Smokey Grindle" wrote:
>
>> is there any way to detect if yoru app is runnign on a terminal server in
>> ..net? so we can slim down graphics and such for it? thanks!
>>
>>
>>
Author
7 Aug 2006 2:42 PM
Michel Posseth [MCP]
Well it sure should be there ,

to be more specific here

HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ProductOptions

Here you can find detailed info ( source however is in C++ )


regards

Michel Posseth [MCP]






Show quoteHide quote
"Smokey Grindle" wrote:

> I'm sorry but I dont have a clue where the product suite registry entry is,
> I searched the registery for "Terminal Server" but found nothing that isnt
> also in my standard XP workstation registry also....
>
> "Michel Posseth [MCP]" <MichelPosseth***@discussions.microsoft.com> wrote in
> message news:6D002F9E-3F2D-4E55-945C-04E3F735A36C@microsoft.com...
> >
> > If Terminal Server is installed, the product suite registry entry will
> > contain the string "Terminal Server."
> >
> > regards
> >
> > Michel Posseth [MCP]
> >
> >
> >
> > "Smokey Grindle" wrote:
> >
> >> is there any way to detect if yoru app is runnign on a terminal server in
> >> ..net? so we can slim down graphics and such for it? thanks!
> >>
> >>
> >>
>
>
>
Author
7 Aug 2006 2:46 PM
Michel Posseth [MCP]
sorry forgot to paste the link

http://www.microsoft.com/technet/prodtechnol/win2kts/maintain/optimize/tsappdev.mspx





Show quoteHide quote
"Michel Posseth [MCP]" wrote:

> Well it sure should be there ,
>
> to be more specific here
>
> HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ProductOptions
>
> Here you can find detailed info ( source however is in C++ )
>
>
> regards
>
> Michel Posseth [MCP]
>
>
>
>
>
>
> "Smokey Grindle" wrote:
>
> > I'm sorry but I dont have a clue where the product suite registry entry is,
> > I searched the registery for "Terminal Server" but found nothing that isnt
> > also in my standard XP workstation registry also....
> >
> > "Michel Posseth [MCP]" <MichelPosseth***@discussions.microsoft.com> wrote in
> > message news:6D002F9E-3F2D-4E55-945C-04E3F735A36C@microsoft.com...
> > >
> > > If Terminal Server is installed, the product suite registry entry will
> > > contain the string "Terminal Server."
> > >
> > > regards
> > >
> > > Michel Posseth [MCP]
> > >
> > >
> > >
> > > "Smokey Grindle" wrote:
> > >
> > >> is there any way to detect if yoru app is runnign on a terminal server in
> > >> ..net? so we can slim down graphics and such for it? thanks!
> > >>
> > >>
> > >>
> >
> >
> >
Author
7 Aug 2006 5:46 PM
Smokey Grindle
ah ok found it now thanks!

Show quoteHide quote
"Michel Posseth [MCP]" <MichelPosseth***@discussions.microsoft.com> wrote in
message news:E14FE2DE-C5A4-43DC-A79C-42D60EEAF59B@microsoft.com...
> Well it sure should be there ,
>
> to be more specific here
>
> HKEY_LOCAL_MACHINE\\System\\CurrentControlSet\\Control\\ProductOptions
>
> Here you can find detailed info ( source however is in C++ )
>
>
> regards
>
> Michel Posseth [MCP]
>
>
>
>
>
>
> "Smokey Grindle" wrote:
>
>> I'm sorry but I dont have a clue where the product suite registry entry
>> is,
>> I searched the registery for "Terminal Server" but found nothing that
>> isnt
>> also in my standard XP workstation registry also....
>>
>> "Michel Posseth [MCP]" <MichelPosseth***@discussions.microsoft.com> wrote
>> in
>> message news:6D002F9E-3F2D-4E55-945C-04E3F735A36C@microsoft.com...
>> >
>> > If Terminal Server is installed, the product suite registry entry will
>> > contain the string "Terminal Server."
>> >
>> > regards
>> >
>> > Michel Posseth [MCP]
>> >
>> >
>> >
>> > "Smokey Grindle" wrote:
>> >
>> >> is there any way to detect if yoru app is runnign on a terminal server
>> >> in
>> >> ..net? so we can slim down graphics and such for it? thanks!
>> >>
>> >>
>> >>
>>
>>
>>