?
Solved

script to log rdp connection information

Posted on 2009-02-07
4
Medium Priority
?
513 Views
Last Modified: 2012-08-13
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
0
Comment
Question by:funnymanmike
  • 2
  • 2
4 Comments
 
LVL 31

Accepted Solution

by:
Toni Uranjek earned 2000 total points
ID: 23585237
Hi!

This is one solution, but is not free: http://www.terminalserviceslog.com/

You could specify logon (not startup) script only for terminal services users:

"How to Set Up a Logon Script Only for Terminal Server Users"
http://support.microsoft.com/kb/195461

Script should contain at least the following line:

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

HTH

Toni
0
 
LVL 5

Author Closing Comment

by:funnymanmike
ID: 31544176
thanks
0
 
LVL 5

Author Comment

by:funnymanmike
ID: 23591430
crap sorry this only prints out the computer name of the computer they are connecting to, not the one they are connecting from.
0
 
LVL 31

Expert Comment

by:Toni Uranjek
ID: 23591832

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

Open in new window

0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

How to remove superseded packages in windows w60 or w61 installation media (.wim) or online system to prevent unnecessary space. w60 means Windows Vista or Windows Server 2008. w61 means Windows 7 or Windows Server 2008 R2. There are various …
In this article, I'll explain how to setup a Plex Media Server (https://plex.tv/) on a Redhat (Centos) 7 based NAS with screenshots to help those looking for assistance.  What is Plex? If you aren't familiar with Plex, it’s a DLNA media serv…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
Integration Management Part 2

807 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question