NewComer01
New Member
- Joined
- Dec 31, 2014
- Messages
- 2
- Thread Author
- #1
Dear All,
I would know who/hostname/date/time that accessing to my Win server 2008 R2 via a remote desktop connection, so i have a script with command ECHO to show these information to text file once user logon, but i donot know which environment variables for exactly who is remoting session and which host name (remote computer). Pls help!
echo Log ON %Date% %TIME% %USERNAME% %COMPUTERNAME% >> %RDP%.log
%computername%: is my server name 2008 (not remoting computer name)
Thanks for your advise!
I would know who/hostname/date/time that accessing to my Win server 2008 R2 via a remote desktop connection, so i have a script with command ECHO to show these information to text file once user logon, but i donot know which environment variables for exactly who is remoting session and which host name (remote computer). Pls help!
echo Log ON %Date% %TIME% %USERNAME% %COMPUTERNAME% >> %RDP%.log
%computername%: is my server name 2008 (not remoting computer name)
Thanks for your advise!