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 ]
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 ]
