detect if running on a terminal server

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!
 
C

Chris

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
 
G

Guest

If Terminal Server is installed, the product suite registry entry will
contain the string "Terminal Server."

regards

Michel Posseth [MCP]
 
S

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....

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!
 
G

Guest

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!
 
G

Guest

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!
 
S

Smokey Grindle

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:[email protected]...
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!
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top