daneelvosges
asked on
Can I determine if a local session is open on a remote computer ?
Hello !
I make a connexion to the remote machine registry (RegConnectRegistry) and I check this value :
HKEY_LOCAL_MACHINE\SOFTWAR E\Microsof t\Windows NT\CurrentVersion\Winlogon \DefaultUs erName
So I can get the last username who logged on the remote computer.
But how can I check if his windows session is open or not ?
I'll hope you can help me ! :-)
thanks (and sorry for my english)
I make a connexion to the remote machine registry (RegConnectRegistry) and I check this value :
HKEY_LOCAL_MACHINE\SOFTWAR
So I can get the last username who logged on the remote computer.
But how can I check if his windows session is open or not ?
I'll hope you can help me ! :-)
thanks (and sorry for my english)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
BTW, regarding the registry entries - for each user logged on, the system loads the user's profile to that key, just to clarify.
ASKER
It's work !
Thanks ! :-)
Thanks ! :-)