How many users logged on to windows7 machine?
Due to windows 7 Remote desktop behavior multiple person can logged on to the system.
They wont log off and just disconnect the machine. So some services will be hold by them and the next user who logged on will face trouble.
In cmd, using the command quser /server:machinename, we can find the user who is still logged in.
But is there any way to find in vb6?
Re: How many users logged on to windows7 machine?
use the SHELL command to execute a command. (You need to supply the full path, though)
Re: How many users logged on to windows7 machine?
If your using a Windows Server OS, use the Terminal Services Manager from the Administrative Tools.