Windows – How to we determine who, if anyone, is logged into a Windows Server 2008 server

hyper-vremote accessremote desktopremote-connectionwindows server 2008

We are running multiple (currently four) virtual Windows Server 2008 servers. In order to shut down those servers from a central point, we would like to know if all remote sessions to those machines have been logged out.

Is there some way to detect who has an active GUI session (such as remote desktop)?

We would like to be able to do this from a remote machine and/or from within each virtual server.

Best Answer

I'd need to know what virtualisation platform you're using in order to tell you if you were able to tell from outside of the machine, but if you're logged on to one of the VM's you can find out in Task Manager.

Right click the taskbar, select 'Task Manager' from the pop up menu and then navigate to the 'Users' tab on the dialogue box that appears.

It should tell you the username, which physical machine they're running the session on, the status and the session ID.