Command Line + Batch File Check if user is logged on remotely Updated August 13 2024
Change pc17 to the computer name:

Copy to Clipboard query user /server:pc17


You can also use psloggedon if you download the Sysinternals tools

https://devopsonwindows.com/3-ways-remotely-view-who-is-logged-on/
Search Keywords: Local, Logged on,, in, Remote Desktop, mstsc, Terminal Services, Console, Active, Idle, off




©2024 - Some portions of this website are Copyrighted.
Your IP: 18.221.192.248     Referring URL:
Browser: Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Terms and Conditions, Privacy Policy, and Security Policy