0
In the company I work for, there are some shared PCs where people can log to remotely. It's boring to ask first who is logged in before login to it yourself, just not to disrupt others work.
With searching, I fount the following two commands from cmd to list the logged users at the moment: qwinsta /server:x.x.x.x
or query session /server:x.x.x.x
but I keep getting the following error:
Error 5 getting sessionnames
Error [5]:Access is denied.
Then I looked for a solution, but all leads to something like this. I've tried, but that didn't help as well :(
Info: local and remote PCs are both Win7 & and all team memebers login as an Admin with the same account
Only a single user can be logged into Windows 7. You can switch between users, but only one of those users, will be actually the active user. When a remote user logs into a PC the screen will be locked and indicate who is logged into the machine. – Ramhound – 2016-02-04T16:35:41.727
What do you mean by "indicate who is logged into the machine". This never happens. You just go to Windows remote desktop connection, type the IP address. Then it asks for username and password and you connect without any indication of who was already connected before you login. – AhmedWas – 2016-02-05T07:26:37.420
If somebody is logged in it will notify you of that fact. – Ramhound – 2016-02-05T12:03:44.547