Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Auditing Windows 2008 Server access

Posted on 2012-04-07
1
284 Views
Last Modified: 2012-07-03
We have some Windows 2008 servers that multiple departments have RDP access to.

I would like to view who has been logging into these servers by using the Security logs.

Could someone tell me

i. What event id/ event id's I should be looking for in the Sec logs

ii. Is there anyway to find out the IPs that these accounts are logging in from
0
Comment
Question by:bruce_77
1 Comment
 
LVL 8

Accepted Solution

by:
teomcam earned 500 total points
ID: 37819754
If you wanna find out who logged in recently via RDP please use the following command

query session /server:YOURSERVERNAME

And if you find out that someone has logged in and then left the country, you can kick them off too - the above command will tell you each user's session id and you can use this to boot them off the box. In this example, the session id is 1.

rwinsta /server:YOURSERVERNAME 1


If you wanna know who logged in and who logged off please follow the link below.


Event IDs 538 and 540 for tracking Log on and Log off's.


In addition a useful article below
http://www.eventtracker.com/blog/2011-07-20-the-key-difference-between-%E2%80%9Caccount-logon%E2%80%9D-and-%E2%80%9Clogonlogoff%E2%80%9D-events-in-the-windows-security-log/
0

Featured Post

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Cannot Change Local DNS 9 63
Dropbox in Windows Server 2008 4 40
FTP server windows 2008 5 39
Remote Desktop Session Host Configuration 2 30
I had a question today where the user wanted to know how to delete an SSL Certificate, so I thought that I would quickly add this How to! Article for your reference. WHY WOULD YOU WANT TO DELETE A CERTIFICATE? 1. If an incorrect certificate was …
You might have come across a situation when you have Exchange 2013 server in two different sites (Production and DR). After adding the Database copy in ECP console it displays Database copy status unknown for the DR exchange server. Issue is strange…
This tutorial will give a an overview on how to deploy remote agents in Backup Exec 2012 to new servers. Click on the Backup Exec button in the upper left corner. From here, are global settings for the application such as connecting to a remote Back…
This tutorial will walk an individual through locating and launching the BEUtility application and how to execute it on the appropriate database. Log onto the server running the Backup Exec database. In a larger environment, this would generally be …

829 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