Solved

Remote Access logs

Posted on 2007-03-19
2
4,130 Views
Last Modified: 2013-11-30
I am using a remote desktop application (remote admin) in the network. Is there an way to know in windows about all users who had logged on to a remote computer. Some kind of logs on the machine that will give us the information. We have Windows 2000 and some machines have Windows XP.
0
Comment
Question by:navnair
2 Comments
 
LVL 67

Assisted Solution

by:sirbounty
sirbounty earned 50 total points
ID: 18750561
http://support.microsoft.com/kb/300549 details how you can enable auditing.
You can check the Security log (Start->Run->Eventvwr) for the remote system (or Eventvwr \\Machinename) and locate the logon events there.
0
 
LVL 77

Accepted Solution

by:
Rob Williams earned 200 total points
ID: 18753943
Assuming you have a domain and use logon scripts, you could add the lines below to each users logon script to create a log file for you. It would give you UserName, ComputerName, date and time in a simple single line.
As written below it will create the log/text file in \\Server\Logs\LogOns.Log and the entries will look like:
Log File
Log On:  UserName1 ComputerName1  Fri 09/30/20   8:00  
Log On:  UserName2 ComputerName2  Fri 09/30/20   8:10
Log On:  UserName3 ComputerName3  Fri 09/30/20   8:15
---------------------------------------------------------------------------
:Logging
If Exist "\\Server\Logs\LogOns.Log" GoTo START
Echo Log File > "\\Server\Logs\LogOns.Log"
:START
Echo Log On:  %USERNAME% %COMPUTERNAME%  %Date:~0,12%  %Time:~0,5% >> "\\Server\Logs\LogOns.Log"
---------------------------------------------------------------------------
Note the users will need to have read/write and execute permissions for the \\Server\Logs\LogOns.Log  file.
 
If you only want to log one computer you could add a line at the start, such as:
If %ComputerName% == "ComputerXYXZ"  GoTo END
0

Featured Post

ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

Join & Write a Comment

This is an article about my experiences with remote access to my clients (so that I may serve them) and eventually to my home office system via Radmin Remote Control. I have been using remote access for over 10 years and have been improving my metho…
Know what services you can and cannot, should and should not combine on your server.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

747 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now