Page 1 of 1 1
Topic Options
#70189 - 2002-09-24 06:39 AM Terminal Sessions
Redback Offline
Getting the hang of it

Registered: 2002-03-20
Posts: 71
Loc: Albury Wodonga, Australia
Does anyone know of a way to read the registry of the local machine inside a terminal session?
Top
#70190 - 2002-09-24 02:40 PM Re: Terminal Sessions
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
What do you mean by "local"? On a Terminal Server(TS), the script runs "locally" on the TS so as far as the script is concerned the TS is local.

I suspect however that you mean the "remote" client.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#70191 - 2002-09-24 04:01 PM Re: Terminal Sessions
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
You can use a computername as part of the registry key. Thus you cna read/write from/to remote registries.
code:
$value=READVALUE('\\COMPUTER\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\','Value')

_________________________
There are two types of vessels, submarines and targets.

Top
#70192 - 2002-09-24 04:20 PM Re: Terminal Sessions
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
That of course would depend on the method of connection. Fine if using RDP over TCPIP with name resolution. If no name resolution then the client IP need be determined. If using ICA dial then you're dead in the water. Same may be true if working through a firewall.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
Page 1 of 1 1


Moderator:  Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart 
Hop to:
Shout Box

Who's Online
0 registered and 248 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.096 seconds in which 0.076 seconds were spent on a total of 12 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org