Hi,
I'm using the following scripts to count how many users logged on through TermService, but I got a "3", that's weird, as I only have one user logged on locally, and another through terminal service,
The users tab in taskmgr shows exactly two users. What's wrong with it?
Set objTermServ = GetObject ("winmgmts:{impersonationLevel=impersonate}!Win32_Service='TermService'")
MsgBox objTermServ.TotalSessions