Link to home
Start Free TrialLog in
Avatar of funnymanmike
funnymanmikeFlag for Canada

asked on

script to log rdp connection information

when someone connects via rdp to the server, you can view more information about the user in terminal

what i am looking for is basically a start up script, that dumps this information into a text file on the computer somewhere so i can look it up later on.

thanks
ASKER CERTIFIED SOLUTION
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of funnymanmike

ASKER

thanks
crap sorry this only prints out the computer name of the computer they are connecting to, not the one they are connecting from.

echo %username%,%clientname%,%date%,%time% >> C:\logs\TSlog.txt

Open in new window