Login | |
|
 |
RE: Computer Name of TS Client - 1/3/2008 3:39:16 AM
|
|
 |
|
| |
ebgreen
Posts: 4971
Score: 31
Joined: 7/12/2005
Status: offline
|
The bad news is that I don't deal with TS so I have no idea for an answer right off the top of my head. The good news is that I spend all day helping people figure out problems that I have no clue about but they do, so I've gotten pretty good at it. If you were sitting at a machine that was logged in as you described, how would you determine the information that you want? Don't worry about the registry, just describe how Joe user could figure it out.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Computer Name of TS Client - 1/3/2008 5:15:40 AM
|
|
 |
|
| |
ebgreen
Posts: 4971
Score: 31
Joined: 7/12/2005
Status: offline
|
"the sticker on the side of the Thin Client that indicates the computer name" so the information that you are looking for is linked to the actual hardware? That would make me wonder why it would be anywhere in HKCU.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Computer Name of TS Client - 1/3/2008 7:46:20 AM
|
|
 |
|
| |
ebgreen
Posts: 4971
Score: 31
Joined: 7/12/2005
Status: offline
|
Ok, if this were my problem to solve, I would do two things. First log on and verify that HKCU\Volatile Environment\CLIENTNAME is populated properly. Then search the registry for the same value as what is in HKCU\Volatile Environment\CLIENTNAME. Next on the same machine I would explore WMI to see if there is a class that holds the same information.
_____________________________
"... when you are good and crazy, oooh, oooh, oooh, the sky is the limit!" - The Tick Goog places to start:http://www.visualbasicscript.com/m_24727/tm.htm http://www.visualbasicscript.com/m_47117/tm.htm
|
|
| |
|
|
|
 |
RE: Computer Name of TS Client - 1/4/2008 3:18:43 AM
|
|
 |
|
| |
mcds99
Posts: 433
Score: 4
Joined: 2/28/2006
Status: offline
|
I'm guessing these are IP devices using ethernet to connect to the network. Get the IP address and get the DNS name. Use the login script to gather the information. Store the information in a shared place that everyone has access to. You could have the script collect the user name, use that as the file name and append connection data to the file. Collect these User Name IP Address DNS Name Or just look in the security event log.
_____________________________
Sam Keep it Simple Make it Fun KiSMiF
|
|
| |
|
|
|
 |
RE: Computer Name of TS Client - 1/4/2008 6:23:17 AM
|
|
 |
|
| |
Rischip
Posts: 502
Score: 2
Joined: 3/26/2007
Status: offline
|
Wouldn't this be easier? Set oShell = CreateObject( "WScript.Shell" ) LocalUserLogin=oShell.ExpandEnvironmentStrings("%UserName%") TermServer =oShell.ExpandEnvironmentStrings("%ComputerName%") ClientComp = oShell.ExpandEnvironmentStrings("%ClientName%")
_____________________________
Rischip Author of - The Grim Linker
|
|
| |
|
|
|
|
|