IP Address

Hi guys,

Is it possible for me to get a client's ip address who has been recently logging into the remote desktop service (rd server)?

Can you tell where the logs are saved containing the internet ip address of that client?

Its urgent!!!

September 15th, 2013 5:53am

Hiya, 

It depends on what you have enabled, which options are available:

1: http://technet.microsoft.com/en-us/library/cc772447.aspx

2: Event viewer -> Applications and Services Logs\Microsoft\Windows\TerminalServices-LocalSessionManager

3: If GPO with Enable "Audit Logon Events" is set.

They might give you what your looking for.

Free Windows Admin Tool Kit Click here and download it now
September 16th, 2013 3:37am

Hi,

Please check if the following script is helpful.
http://gallery.technet.microsoft.com/scriptcenter/e8c3af96-db10-45b0-88e3-328f087a8700

When you import the module you should be able to get the client ip address using the code below or something equivalent.

$id = get-rdsession | where {$_.user -eq $env:USERNAME} | foreach {$_.SessionID}

$ipAddress = get-rdsessionstatus -sessionid $Id | foreach {$_.ClientAddress}

September 16th, 2013 4:21am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics