![]() |
|
|
|||||||
| Petri.co.il is happy to award auglan the title of Most Valuable Member !!! |
| Register | Calendar |
Search |
Today's Posts |
Mark Forums Read |
| Notices |
|
|
Finding client name from user namethis thread has 3 replies and has been viewed 383 times
|
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
||||||||
|
||||||||
|
Hi everyone,
I have a requirement and have been trying to find a way to retrieve the client name from the username: We are in the Cloud and are customers of a server farm that uses Citrix middle ware running Windows Server 2003 Standard Edition. We do not have Admin access but have found we can do basic scripting, if we were to ask our vendors to do a seemingly simple script we will be charged a fee which my boss would not be too happy about. Is there a way of parsing a username to a dos command in a script that would yield the computer name of the client connected to the server. This is not as simple as it sounds, I have tried for the better part of day off and on primers on how to do this without success. I would welcome your thoughts. |
|
#2
|
||||||||||
|
||||||||||
|
Can you give an example of the input data you have
Parsing a text string is not too difficult (IMHO PowerShell rather than DOS if you have it) but it is difficult to know exactly what you are after
__________________
Tom Jones MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+ PhD, MSc, FIAP, MIITT IT Trainer / Consultant Ossian Ltd Scotland ** Remember to give credit where credit is due and leave reputation points where appropriate ** |
|
#3
|
||||||||
|
||||||||
|
Hi Ossian,
Thanks for your reply. ASPXH\Andy.Hayden which was obtained using PSLoggedon.exe from Sysinternals. Regards, @ |
|
#4
|
||||||||||
|
||||||||||
|
OK, I thought the computer name was part of this -- you would need to search event logs and find an entry which contains the client name matching the user name
__________________
Tom Jones MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+ PhD, MSc, FIAP, MIITT IT Trainer / Consultant Ossian Ltd Scotland ** Remember to give credit where credit is due and leave reputation points where appropriate ** |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| OS X 802.1x client (not user) authentication, is it possible? | jg535 | General Networking | 5 | 21st April 2008 01:24 |
| Finding Sending user/account | avi_ei | Exchange 2000 / 2003 | 8 | 20th March 2008 13:11 |
| Finding on server 2003 user owend data | firewalker | Windows Server 2000 / 2003 | 5 | 26th April 2007 17:11 |
| global user cannot loginto client machines | vicky2k4 | Active Directory | 1 | 6th October 2006 10:23 |
| Allow certain Domain User to install Software on there Client | rschuur | GPO | 0 | 9th February 2006 10:30 |