We have several shared Windows XP computers that have special software on them. People either physically sit at them or connect via Remote Desktop. There's no way of knowing if they're in use, so our users get frustrated when they have to try to connect over and over to find an available one.
I plan on designing a webpage to list all the shared computers and who's currently using them. I might design this using PHP, Ruby, or ASPX - I haven't decided yet. However, I really only need the WMI required and a simple VBScript as a proof of concept. I know there's a lot of scripts like this online, but I couldn't find one that would only display the user actively using the desktop (RDP session 0). If the registry isn't released or there's a user connected via SMB share, they're also displayed. I only want the active user to be displayed.