Avatar of Gibo
Gibo
 asked on

Tools to scan “open” sign in & RDP sessions?

Tools to scan open sign in & RDP sessions?
Active DirectoryRemote AccessWindows 10AzureWindows Server 2016

Avatar of undefined
Last Comment
Seth Simmons

8/22/2022 - Mon
Hello There

To see all sessions, just type on the server or computer:
query user

Open in new window


For all sessions in a domain, this might work (I haven't tested it yet):
for /f %s in (servers.txt) do (echo %s & qwinsta /server:%s )

Open in new window

Gibo

ASKER
noted but I need a more sophisticated tool to query all the servers & machines for users who have not logged out for long periods of time, thanks
ASKER CERTIFIED SOLUTION
McKnife

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
Seth Simmons

No comment has been added to this question in more than 21 days, so it is now classified as abandoned.

I have recommended this question be closed as follows:

Accept: 'McKnife' (https:#a43070164)

If you feel this question should be closed differently, post an objection and the moderators will review all objections and close it as they feel fit. If no one objects, this question will be closed automatically the way described above.

seth2740
Experts-Exchange Cleanup Volunteer
This is the best money I have ever spent. I cannot not tell you how many times these folks have saved my bacon. I learn so much from the contributors.
rwheeler23