Solved

Remote Access logs

Posted on 2007-03-19
2
4,132 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

910 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

25 Experts available now in Live!

Get 1:1 Help Now