Solved

Remote Access logs

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

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
cannot view videos at msnbc 12 65
Price for Fiber 13 60
Network setup between buildings 4 53
Cisco router external connection issues. 6 30
Data center, now-a-days, is referred as the home of all the advanced technologies. In-fact, most of the businesses are now establishing their entire organizational structure around the IT capabilities.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…
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…

680 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