troubleshooting Question

Terminal Server: Log external client IP address

Avatar of hudsoncid
hudsoncid asked on
Remote AccessWindows Server 2008
6 Comments1 Solution3613 ViewsLast Modified:
Greetings Gurus,

We are running remote desktop services on Windows Server 2008 R2.

I would like to log the external (WAN) IP address of clients that are connecting to the server, each time a user connects. Currently I am using the GETTSCIP tool from CTRL-ALT-DEL, as part of the user login scripts, and appending the IP address results to a text file for each user (%username%iplog.txt). The trouble is it's logging the users NAT address instead of the WAN address, rendering my tracking mostly useless.

I have searched the web for an application, or simple script function, that would help me accomplish this. Unfortunately I find the same reference to the GETTSCIP tool, or to Visual Basic scripts that are quite a bit above my comfort level. My current login script is effectively the same as an old DOS batch file, with NET USE commands, and so forth.

Can anyone suggest a tool, script, or even eventlog feature that would help me collect this date? I'd certainly appreciate any suggestions or guidance you have to offer.
ASKER CERTIFIED SOLUTION
Netflo

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 6 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 6 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros