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
218.104.22.168 from my IP
Is there a command I could run on the server in that remote session that will output
I ask because it would be good if that command would output
222.214.171.124 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.