Find users logged on with Terminal Server sessions?

Home Forums Scripting General Scripting Find users logged on with Terminal Server sessions?

Viewing 1 post (of 1 total)
  • Author
    Posts

  • humbletech99
    Member
    #128785

    I am trying to find a way to enumerate all the logged on users on Windows systems. I have used WMI to find the local user session if there is one on any windows machine, but I also want to find any users logged on via Terminal sessions on Windows 2003 Terminal Servers.

    I have also used WMI to get all the users who have sessions open, but this includes people who’ve just used a file share like \serversharefilename.ext.

    Does anyone know how I can programmatically (or via cmd) find out the users that have Terminal Server Sessions?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

13 Email Threat Types to Know About Right Now

As email threats evolve and multiply, keeping track of them all—and staying protected against the many different types—becomes a complex challenge. Today, that requires more than just the traditional email gateway solution that used to be good enough.

In this eBook you will learn:

  • What are the most common and challenging email attacks for organizations?
  • How to defend against sophisticated email threats, such as spoofing, social engineering, and fraud
  • How to protect employees at the inbox level with the right technologies and security-awareness training
  • How to use a multilayered protection strategy to reduce susceptibility to email attacks and better defend your business and employees

Sponsored by: