Results 1 to 4 of 4

Thread: Script to list users who Are connected

  1. #1
    Join Date
    Feb 2009
    Posts
    43

    Script to list users who Are connected

    Hello , i have a Windows Server 2003 in my Office network , I need a script that lists the user that are connected in network , can you tell me where can i get the Script that can list all user connect in my network , please help me thanks in advance

  2. #2
    Join Date
    Feb 2008
    Posts
    2,635

    Re: Script to list users who Are connected

    NET SESSION command can specify the users who are connected to
    server where you are connection . this Command Should be Run from the command Prompt, hope it will help you

  3. #3
    Join Date
    May 2008
    Posts
    3,516

    Re: Script to list users who Are connected

    Set objSysInfo = CreateObject("ADSystemInfo")

    Set objUser = GetObject("LDAP://" & objSysInfo.UserName)
    Set objComputer = GetObject("LDAP://" & objSysInfo.ComputerName)

    strMessage = objUser.CN & " logged on to " & objComputer.CN & " " & Now & "."

    objUser.Description = strMessage
    objUser.SetInfo

    objComputer.Description = strMessage
    objComputer.SetInfo
    Full information you can Get at his link

  4. #4
    Join Date
    Apr 2008
    Posts
    3,339

    Re: Script to list users who Are connected

    maybe i think the netsession will only be able to do the job , this command Manages server computer connections. Used without parameters, net session displays information about all sessions with the local computer.

Similar Threads

  1. List of users connected to my network drive
    By Hobson in forum Networking & Security
    Replies: 1
    Last Post: 24-01-2012, 12:15 AM
  2. rpc over http-limits the number of users connected
    By bz44 in forum Operating Systems
    Replies: 2
    Last Post: 16-02-2010, 12:23 AM
  3. How to create several users via script
    By Halyn in forum Networking & Security
    Replies: 6
    Last Post: 29-11-2009, 07:36 PM
  4. Finding users connected to my PC ?
    By Floyd in forum Networking & Security
    Replies: 5
    Last Post: 16-03-2009, 09:42 PM
  5. Add users to Group via Script - [WP]
    By ABRIELLE in forum Active Directory
    Replies: 4
    Last Post: 29-01-2008, 07:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,725,064.15566 seconds with 17 queries