In my company, we're using RDP (Remote Desktop) in order to connect to customers. However, when starting up an RDP session while somebody else is already connected, this other person is kicked out, which is quite annoying.
Is there a way to know that a remote desktop connection is available?
Thanks in advance
query,quser, andqwinstatools should be present on any Windows machine which itself has Terminal Services / Remote Desktop Server -- so you'll have them in Windows 10 Pro, but probably not in Windows 10 Home. (Though a company shouldn't be using Windows 10 Home...) – u1686_grawity Feb 16 '21 at 12:59query userdirectly on the server that way. (Well, assuming the server has SSH or WinRM enabled...) It might also be possible to copy just query.exe and quser.exe from someone else's Pro machine -- or even from the server -- and it might just work. Or even hack something together using Python which has the "win32ts" module available as part of pywin32. – u1686_grawity Feb 16 '21 at 13:07