We help IT Professionals succeed at work.

Is there way to get a list of users who have logon or connect on a Windows 2008 server?

97 Views
Last Modified: 2018-10-08
Hi,

Is there way to get a list of users who have logon or connect on a Windows 2008 server? I just want to see who still use that server.

Thanks
Comment
Watch Question

Sekar ChinnakannuStaff Engineer
CERTIFIED EXPERT

Commented:
You can use query session command to get the session details, Use taskbar yo ucan view the connected users.

C:\WINDOWS\system32>query session /?
Display information about Remote Desktop Services sessions.

QUERY SESSION [sessionname | username | sessionid]
              [/SERVER:servername] [/MODE] [/FLOW] [/CONNECT] [/COUNTER] [/VM]

  sessionname         Identifies the session named sessionname.
  username            Identifies the session with user username.
  sessionid           Identifies the session with ID sessionid.
  /SERVER:servername  The server to be queried (default is current).
  /MODE               Display current line settings.
  /FLOW               Display current flow control settings.
  /CONNECT            Display current connect settings.
  /COUNTER            Display current Remote Desktop Services counters information.
  /VM                 Display information about sessions within virtual machines.

Author

Commented:
Is this give me for example also persons who have logon before and not just  in real-time?
Shaun VermaakSenior Consultant
CERTIFIED EXPERT
Awarded 2017
Distinguished Expert 2019

Commented:
Is this give me for example also persons who have logon before and not just  in real-time?
No. Enable auditing and pull all the logon events to get that

Author

Commented:
Thanks!
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

Commented:
Ya I think no have choice to go with enabling auditing.
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.