2
1
I have a question which I'm sure has a simple solution, but it keeps eluding me.
There's a server in the picture that is used by several people.
All of them use the same account to log in.
The only way to differentiate sessions would be by hostname or IP.
So - How to see, on the remote computer, a hostname of the client connected?
For example, I RDP in to the server 256.12.13.1
from my IP 256.12.13.7
.
Is there a command I could run on the server in that remote session that will output 256.12.13.7
?
I ask because it would be good if that command would output 256.12.13.9
when person connects from that other IP.
So I can put it in startup and whenever someone connects script like this would run:
gethostname >> rdplog.txt<br>
date /t >> rdplog.txt <br>
time /t >> rdplog.txt
So this can basically equal to a very simple login log.
I'm looking into powershell now. I guess that's my only option left. – extremko – 2012-02-24T08:41:47.107
2Obviously, few people can dictate how a business uses IT resources, but may I suggest that multiple people using the same login is extremely poor security practice? If you are in the position to improve this system, I would recommend it. – Myrddin Emrys – 2012-03-15T20:45:04.043
@MyrddinEmrys, You are absolutely correct. But no, I can not make the change in the system as it is now, I did try already :) However, it's a LAN environment and people do not store much important data so it is okay. The only thing I am concerned about is data corruption, but this is where backup kicks in ;) Thank you for your thoughts though, much appreciated! – extremko – 2012-03-16T09:19:05.457