中国DOS联盟论坛

China DOS Union

-- Unite DOS · Advance DOS · Grow DOS --
Union site: www.cn-dos.net Forum site: www.cn-dos.net/forum
Guest | Log in | Register | Members | Search | China DOS Union
中国DOS联盟论坛
The time now is 2026-08-12 00:48
47,811 topics / 349,897 posts / today 0 new / 48,256 members
DOS批处理 & 脚本技术(批处理室) » [Help] Logging remote desktop visitors' IPs and times under WIN7
Printable Version  805 / 0
Floor1 lzyccyb Posted 2010-09-08 12:08
新手上路 Posts 2 Credits 3
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 ]
[ Contact the Union admin team - 中国DOS联盟 - Standard version ]
Sponsored by ifanr Inc | © 2001–2023