Automatic logging of logon IPs for Windows Remote Desktop Connection

Source: Internet
Author: User
Tags windows remote desktop

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.