China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --

Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
DOS stands for freedom, openness and progress. Let us work hard, learn from the openness and GNU spirit of FreeDOS and Linux, and together build and grow a free GNU GPL world!

中国DOS联盟论坛
The time now is 2026-08-11 23:50
中国DOS联盟论坛 » DOS批处理 & 脚本技术(批处理室) » [Help] Logging remote desktop visitors' IPs and times under WIN7 View 803 Replies 0
Original Poster Posted 2010-09-08 12:08 ·  中国 四川 泸州 电信
新手上路
Credits 3
Posts 2
Joined 2009-08-23 00:10
16-year member
UID 150798
Gender Male
Status Offline
Remote Desktop is already enabled in win7. How can I log visitors' IPs and times?

I found one online for use under WIN2003
@echo off
date /t >>RDPlog.txt
time /t >>RDPlog.txt
netstat -n -p tcp | find ":3389">>RDPlog.txt
  start Explorer

But under WIN7 it seems it can't work properly.

I already set "Start a program on connection" in Remote Desktop Services -> Remote Session Environment in the WIN7 local policy group, using the batch file above. But in actual testing it was not successful.

[ Last edited by lzyccyb on 2010-9-8 at 12:10 ]
Forum Jump: