the command 'Net Sessions' lists active sessions include the computer where the session is coming from. However I don't see any LSA API that will give me the computer name?
What I'm trying to do is logout computers that aren't "authorized" to be on the network. So I was going to monitor the sessions and if I see one, kick it off.
Any Ideas?
Start Free Trial