detect if running on a terminal server

  • Thread starter Thread starter Smokey Grindle
  • Start date Start date
S

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!
 
Smokey said:
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
 
If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]
 
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 said:
If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]



Smokey Grindle said:
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!
 
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 said:
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 said:
If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]



Smokey Grindle said:
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!
 
sorry forgot to paste the link


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





Michel Posseth said:
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 said:
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 said:
If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]



:

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!
 
ah ok found it now thanks!

Michel Posseth said:
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 said:
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....

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]



:

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!
 
Back
Top