How to Display a List of Users Currently Logged On to Domain

Windows Server 2008 R2 Enterprise.
I had a snap-in in Windows Server 2003 that allowed me to see who was currently logged onto the domain.  How can I do this in Windows Server 2008 R2?  I am the administrator, so there is no privilege issue.  Thanks for any help.
Doug Pruiett Good News Jail & Prison Ministry Richmond, Virginia www.goodnewsjail.org

Hi,
If you want to list current logon users from all servers in a domain, I’m afraid there is no existing tool from Microsoft to support you do that. However, you can use LsaEnumerateLogonSessions
API like
http://msdn.microsoft.com/en-us/library/windows/desktop/aa375400(v=vs.85).aspx to enumerate all logon sessions on the clients and gather all information together to achieve your target.  
If you want to find out who is logged on to a specific terminal server, there are four methods:
1. check event log
2. write some PowerShell scripts as:
http://technet.microsoft.com/en-us/library/ff730963.aspx
http://learn-powershell.net/2010/11/01/quick-hit-find-currently-logged-on-users/
3. use WMI&VBScript as:
http://blogs.msdn.com/b/alejacma/archive/2008/03/04/how-to-get-the-logged-on-user-with-wmi-vbscript.aspx
4. use some third-party tools like others suggested.
In addition, here is another thread who used scripts to realize this for your reference:
http://social.technet.microsoft.com/Forums/en-US/winserverpowershell/thread/c956a5d9-8895-4042-8047-78a44ffc1d53
Regards,
Cicely

Similar Messages

  • How to get a list of users currently logged on to InfoView?

    Post Author: ak004
    CA Forum: Administration
    Hi,
    Is there an option in CMC that gives the list of concurrent users currently logged on into the Infoview? I have CR server XI and Settings in CMC currently just gives the number of users logged in. I am using Enterprise security for the users.How can I get the list of users logged in?
    Appreciate your help.
    Thanks

    Post Author: jsanzone
    CA Forum: Administration
    The quickest way to see who is logged in is to go to the CMC, then click on Servers, then click on the .cms entry (it's the second one down on the list for my system).  When you click on the cms link on the next page should be a list of users currently logged in (including you the administrator).

  • How to get a List of Users Currently Logged into the portal

    Hi,
    Im trying to get the list of all users logged into the portal to do a web service, but I can't find the way to do this, is there any way to find this info thrugh a java class or some object in the RCU/schema/WCP database?
    Greetings
    Mike

    Try the analytics tables. Before you can use them, you need to setup the analytics server and configure it for your application:
    http://docs.oracle.com/cd/E23943_01/webcenter.1111/e12405/wcadm_analytics.htm#BEIDBHHG
    This gives an overview for building reports: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_analytics.htm#BABFDGEG
    Login metrics: http://docs.oracle.com/cd/E23943_01/webcenter.1111/e10148/jpsdg_analytics.htm#BABFFHGD
    You can use these queries to get the info you want.
    Edited by: Yannick Ongena on Oct 8, 2012 8:00 AM

  • How to get the list of users who has access for list of tcodes.

    How to get the list of users who has access for list of tcodes.

    Go to transaction SUIM, this has a number of reports for users/authorisations
    open the Where used>Autorization Values>In Users
    and double click to execute
    in authorisation object, enter S_TCODE
    then press the "Enter Values" button
    It will offer entry boxes to put the transaction code you are interesed in.
    Then execute and the list of users with access to this transaciton code will be returned.

  • How to find out the users currently logged into ODI

    Hi all,
    How to find out the users currently logged into ODI Work Repository?
    Thanks.

    Hi,
    It stores all the final queries in work rep table i.e "SNP_SESS_TXT_LOG" and the column is "TXT".
    Here u can find all the ODI bkp process queries.Pls specify the SESS_NO for purtivular task u want to check which u can get this in ODI operator.
    I dont think so that it will keep the substituted value(because its implicit and temporary process) but it will keep all the default values in the table SNP_VAR_SESS and the column is "DEF_V".
    Thanks,
    katukota

  • How to know users currently logged in Content Server ???

    Hi
    How could we know the no of users currently logged in the Content Server ???
    Any database entries....???
    please Help
    Thanks in advance
    Vishal
    Edited by: Vishal Anand on Jun 7, 2011 12:56 AM

    There's no database table that tracks currently logged in users - the users table simply tracks the users that have profiles in the system. As mentioned above, if you needed this info you'd have to use the WebLogic server API or write a component that captures the users' login and logouts and tracks that in a custom table.
    Raoul

  • How do I make it so users can log in and sign up on my adobe muse website

    How do I make it so users can log in and sign up on my adobe muse website?

    If you would read through the Muse forum, this subject has come up multiple times.
    Muse does not currently support CMS, passwords, logins or bespoke client areas.

  • Query of Clients with a user currently logged on

    This is probably a pretty simple one
    I am trying to build a query of machines that have any user currently logged on.
    I am aware that we can find a list of last logged on user, but I am just looking for a way to find systems that currently have any user currently logged into the computer.

    To do that you would need to have hardware inventory running every 1 minute on clients.
    Or DCM running every 1 min.
    let me clarify before someone actually tries to do this.... I think this was meant to be sarcasm. You CANNOT run HINV each 1 min.
    John Marcum | http://myitforum.com/myitforumwp/author/johnmarcum/

  • Find Number of Users Currently Logged on to a SharePoint 2013 on premise server?

    Hello,
    We would like to know which current users are logged in our SharePoint farm.
    Is there a simple powershell script which we can run? or enable a feature
    Thanks,
    Dennis

    SharePoint is a web technology, which means it is connectionless by design.  So there really isn't such a thing as the number of users being logged on being tracked by the server.  The closest you can come is to have the server report how many
    active sessions haven't timed out yet.  Not quite the same thing since some of the sessions will be people who stopped using the system during the last half hour or so who's sessions haven't expired yet.  But its the closest you can come. Here's
    a deeper explanation and one potential solution.
    http://blog.furuknap.net/find-number-of-users-currently-logged-on-to-a-sharepoint-site
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • List of users who logged into database

    Hi All.
    I want to know the list of users who logged in to database and the list of users for whom the password authentication is failed.
    I think we can get the logged in users information from v$session but i am trying to find the users list who failed to log in to the database with password authentication failure.
    Please help me...
    Thanks & Regards,
    Rajesh Amathi

    Hi,
    I suggest use trigger on system logon event. This is for general situation.
    Ex:
    create table user_log
    user_id varchar2(30),
    session_id number(8),
    host varchar2(30),
    last_program varchar2(48),
    last_action varchar2(32),
    last_module varchar2(32),
    logon_day date,
    logon_time varchar2(10),
    logoff_day date,
    logoff_time varchar2(10),
    elapsed_minutes number(8)
    create or replace trigger logon_audit_trigger
    AFTER LOGON ON DATABASE
    BEGIN
    insert into user_log values(
    user,
    sys_context('USERENV','SESSIONID'),
    sys_context('USERENV','HOST'),
    null,
    null,
    null,
    sysdate,
    to_char(sysdate, 'hh24:mi:ss'),
    null,
    null,
    null
    END;
    For unsuccessful logons:
    CREATE TABLE connection_audit (login_date DATE, user_name VARCHAR2(30));
    -- trigger to trap unsuccessful logons
    CREATE OR REPLACE TRIGGER logon_failures
    AFTER SERVERERROR
    ON DATABASE
    BEGIN
    IF (IS_SERVERERROR(1017)) THEN
    INSERT INTO connection_audit (login_date, user_name) VALUES(SYSDATE, 'ORA-1017');
    END IF;
    END logon_failures;
    Please refer for more several combination: http://psoug.org/reference/system_trigger.html
    Edited by: Ulfet Tanriverdiyev on Jul 7, 2010 10:49 PM

  • How can i know about any users who log on sap last one month..all data and

    Dear all,
    how can i know about any users who log on sap last one month..all data and  transaction code they used in a month.
    Regards,
    ASHUTOSH
    9891595497

    Dear Ashutosh,
    I think your question is in the wrong forum. This is for SAP MDM related questions and answers. SAP MDM does not use Transaction codes. So you may not get much help here.
    Please try posting your question in the ABAP forums and you may get the right resources to help you.
    Thanks.
    Siva K.

  • Urgent help needed: how to display a list of records on the screen

    Hello,
    This is very urgent. Can anyone help me. I have posted this query of mine before also but still no reply came. My whole application is dependent on this problem. Actually I am developing an application for mobile phone using MIDP. I have a record store which contains personal details for users. I am able to add records to the record store. Now I want that these records can be edited. For this I want to display a list of firstname field on the screen (and not console) so that i can select a user to edit its details. I have written the code to read the records and individual fields and display it on the console but i want to display that list on screen. I tried list and array but it s giving some error.
    I am giving the code to read the records below. Please tell me how can I display it in a list on the screen.
    public void readStream(){
    try
    byte[] recData=new byte[50];
    String varname;
    ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
    DataInputStream strmData=new DataInputStream(strmBytes);
    if (rsperdt.getNumRecords() > 0){
    ComparatorString comp=new ComparatorString();
    int i=1;
    RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
    while(re.hasNextElement()){
    rsperdt.getRecord(re.nextRecordId(), recData,0);
    System.out.println("Record #" + i );
    varname = strmData.readUTF();
    System.out.println("Name #"+varname);
    System.out.println("---------------------------");
    i=i+1;
    strmBytes.reset();
    comp.compareStringClose();
    re.destroy();
    strmBytes.close();
    catch(Exception e){
    System.err.println("read Records class:read");
    }

    I could not understand ur point "post the code in tags". I am pasting the code below. Please help as my whole application is stuck due to this problem and I have a deadline of 7th oct.
    This midlet is getting called from some other midlet.
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import javax.microedition.rms.*;
    import java.io.*;
    import java.util.*;
    public class frmread extends Form implements CommandListener
    static final String rec_store="db_per";
    private RecordStore rsperdt=null;
    private Vector vecname;
    private ChoiceGroup chname;
    private boolean flagSortByPriority = false, flagShowPriority = true;
    private Form fmmain;
    private Command cmdBack;
    private teledoc midlet;
    public frmread(String title, teledoc midlet)
    super(title);
    this.midlet = midlet;
    openRecStore();
    this.setCommandListener(this);
         chname = new ChoiceGroup("new", Choice.EXCLUSIVE);
         vecname = new Vector();
         cmdBack = new Command("Back", Command.BACK, 1);
    fmmain = new Form("Record Search");
         addCommand(cmdBack);
    setCommandListener(this);
    readStream();
         rebuildTodoList();
         closeRecStore();
    * Process events for this form only
    protected void rebuildTodoList()
    for(int j=chname.size(); j>0; j--)
         chname.delete(j-1);
         int priority;
         todoitem item;
         String text;
         StringBuffer sb;
         for (int j=0; j<vecname.size(); j++)
              item=(todoitem) vecname.elementAt(j);
              priority = item.getPriority();
              text = item.getText();
              sb = new StringBuffer((flagShowPriority ? (Integer.toString(priority) + "-"): ""));
              sb.append(text);
              chname.append(sb.toString(), null);
    public void commandAction(Command c, Displayable s)
    if (c == cmdBack){
    midlet.displayteledoc();
    public void readStream(){
    try
    byte[] recData=new byte[100];
    String varname;
    int varname1=0;
         ByteArrayInputStream strmBytes = new ByteArrayInputStream(recData);
         DataInputStream strmData=new DataInputStream(strmBytes);
         if (rsperdt.getNumRecords() > 0){
    ComparatorString comp=new ComparatorString();
    int i=1;
              int id = 1;
              vecname.removeAllElements();
              RecordEnumeration re=rsperdt.enumerateRecords(null, comp, false);
    while(re.hasNextElement()){
         rsperdt.getRecord(re.nextRecordId(), recData,0);
    System.out.println("Record #" + i );
    varname = strmData.readUTF();
                   varname1 = strmData.readInt();
                   id = re.nextRecordId();
                   System.out.println("Name #"+varname);
                   todoitem item = new todoitem(varname1, varname, id);
                   vecname.addElement(item);
                   System.out.println("---------------------------");
                   i=i+1;
    strmBytes.reset();
              comp.compareStringClose();
              re.destroy();
    strmBytes.close();
    catch(Exception e){
    System.err.println("read Records class:read");
    public void openRecStore(){
    try{
    rsperdt=RecordStore.openRecordStore("db_per",true);
    catch(RecordStoreException e){
    db(e.toString());
    public void closeRecStore(){
    try{
    rsperdt.closeRecordStore();
    catch(Exception e){
    db(e.toString());
    public void db(String str){
    System.err.println("Msg:" + str);
    class ComparatorString implements RecordComparator{
    private byte[] recData = new byte[20];
    private ByteArrayInputStream strmBytes = null;
    private DataInputStream strmDataType = null;
    public void compareStringClose(){
    try{
    if(strmBytes != null)
         strmBytes.close();
    if(strmDataType != null)
         strmDataType.close();
         catch (Exception e)
    public int compare(byte[] rec1, byte[] rec2)
         String str1, str2;
         try {
              int maxsize = Math.max(rec1.length, rec2.length);
              if (maxsize > recData.length)
              recData = new byte[maxsize];
                   strmBytes = new ByteArrayInputStream(rec1);
                   strmDataType = new DataInputStream(strmBytes);
                   str1=strmDataType.readUTF();
                   strmBytes = new ByteArrayInputStream(rec2);
                   strmDataType = new DataInputStream(strmBytes);
                   str2=strmDataType.readUTF();
                   int result=str1.compareTo(str2);
                   if (result == 0)
                   return RecordComparator.EQUIVALENT;
                   else if (result < 0)
                   return RecordComparator.PRECEDES;
                   else
                   return RecordComparator.FOLLOWS;
                   catch (Exception e)
                   return RecordComparator.EQUIVALENT;

  • How to display Call list Large view as the initial view dynamically.

    My requiremet is that 
    1) User chooses a call list -> then clicks display calls -> then clicks Calls Full view
    Now ClmCallListDetailsLarge View is displayed
    2) Now the user chooses a call and then prceeds to Account confirmation, Interaction Record and then ends the call.
    3) Now when the Call list is choosen from navigation bar Available 'ClmAvailbleCallLists' View is displayed, but the requirement is to display 'ClmCallListDetailsLarge' view.
    4) There is some standard code related to this in 'DO_REPLACE_INITIAL_VIEW' method of the window controller. but this method is not getting triggered at all.
    Please let me know how this can be achieved

    Thanks for idea.
    Assume I stored my data in a List of HashMap.
    Could you provide an example of JSTL for displaying this list?

  • How to display Column List (Search Bar - Do Not Display) in Ascending Order

    Hi,
    I am having a Interactive Report..
    In the Search Bar we have Select Columns, under that we have Do Not Display.
    where all the columns (currently not displayed) are listed.
    How can we display these columns in Ascending order
    Thanks,
    Deepak

    Do you want to display these columns in the IR?
    If yes. Select the column you want to display and click the the '>'.
    In the interactive report regions - source, where you have your query to select the columns use order by to sort them in assn order.
    Do you want to keep these columns as 'Do not display' and have them in assn order there?
    Select all columns to display and move the columns back to the 'Do not display' region one by one making selections in assn order.
    Or in the query select the columns in the order desired.
    I don't know if I am helping. I fell like I got your question all wrong. Still...
    Edited by: machan on Dec 11, 2009 11:01 AM

  • How to display records that match user input date

    hi all,
      i need to display records that match user input date (i.e., for example if the difference between user input date and record date is less than 5 years then display those records) , this is for hr bw. any exit is there to check for validation for records to be displayed based on some abap coding.
    vijay

    I just see getApplication method but "Retrieves a list of all the deployed applications."
    My scenario is: I get user, end i want to discorver how application this user i enable to see.

Maybe you are looking for

  • Error in DTP loading from 1st level DSO to 2nd level DSO

    Hi Experts, I am facing a strange kind of error while loading data through a DTP included in Process chain. We are loading full load, from a DSO to a target DSO. But it gives an error, "Error in substep : Start routine". When i checked the error logs

  • How can I get my phone to always stay in CDMA Only mode?

    I connect my phone via bluetooth to my Dodge UConnect system.  When the phone is in LTE, after dialing, when the party answers, the phone hangs up and says "Call Complete" - thinking that the connection has been made and therefore the call can be ter

  • How do we create signature ?

    Hi, How do we create signature so that it can appear on it's own..whenever we answer some query in diff forums!! Regards Gunjan P.S. : see, had to type the stuff...

  • Problem with adding Twitter widget

    Hi, I'm trying to get Twitter Collaboration widget up and running on cp7, but... When I enter the Version and module name stuff I get error: Registration Failed.Internal error occurred: IO Error. Send a mail to [email protected] for assistance So, th

  • Using Servlets in stead of Applets

    hi All, Though I have been in Java Platform for years, I am new to use Java Web-based things. Now I am on a project which is already in Java Applets. * Java Applets are taking the client machine's configuration and performs some tasks and facilitates