Statement
The Stars last night
Blog:http://yestreenstars.blog.51cto.com/
This article by oneself creation, if need reprint, please indicate source, thank cooperation!
Objective
Automatically logs the logon IP for Windows Remote Desktop Connection.
Environment
System: Windows Server 2003
Steps
1. Create a new c:/rdp directory;
2. New c:/rdp/rdplog.txt file;
3. New c:/rdp/rdplog.bat file and add the following content:
date/t >>rdplog.txt
time/t >>rdplog.txt
Netstat-n-P TCP | Find ": 3389" >>rdplog.txt
Start Explorer
4. Log on to the server as an administrator, open start → Administrative Tools → Connection , right-click rdp-tcp in the right-hand column, clicking Properties , and then clicking Environment . Then set it as shown, and then click OK .
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5C/33/wKioL1UcqQ_T35nPAAFTUkLIPo0337.jpg "title=" Qq20150402102209.png "alt=" Wkiol1ucqq_t35npaaftuklipo0337.jpg "/>
This article is from the "Last Night Stars" blog, please make sure to keep this source http://yestreenstars.blog.51cto.com/1836303/1627574
Automatic logging of logon IPs for Windows Remote Desktop Connection