|
-
Oct 5th, 2007, 04:26 AM
#1
Thread Starter
Frenzied Member
[RESOLVED] [2005] - List of Windows User
Hello
I need some help, about the windows users.
There's some way to get a list of all logged in users or all users in windows xp?
And if exists, can i logoff one of them by code?
Last edited by mickey_pt; Oct 5th, 2007 at 05:08 AM.
Reason: Again my bad english... :S
-
Oct 5th, 2007, 06:12 AM
#2
Re: [2005] - List of Windows User
For the First One : Refer this one
Please mark you thread resolved using the Thread Tools as shown
-
Oct 5th, 2007, 07:12 AM
#3
Thread Starter
Frenzied Member
Re: [2005] - List of Windows User
Thanks
But after knowing the names i still can't close the account...
I read somewhere that i can get the account by using WMI (WIn32_UserAccount\Win32_Account)
I can use the Logoff.exe to close the session, but i need the ID of the session that i want to close, to use it. Any one knows where can i get that ID?
The ID that i'm talking about is in the taskmanager, the tab Users.
Thanks
Last edited by mickey_pt; Oct 5th, 2007 at 07:17 AM.
-
Oct 5th, 2007, 07:54 AM
#4
Re: [2005] - List of Windows User
I dont know u can able to logoff a remote user. Read this one
Please mark you thread resolved using the Thread Tools as shown
-
Oct 5th, 2007, 10:14 AM
#5
Thread Starter
Frenzied Member
Re: [2005] - List of Windows User
Yes i can, tested, the "only" thing i need is the ID of the session.
I found some info how to get the ID's. Using the WTSEnumerateSessions....
I'll see if i can do something with this
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|