How can I tell if someone is logged in via RemoteDesktop?

lozina

Lifer
Sep 10, 2001
11,709
8
81
We have multiple users who potentially log into one Windows XP sp2 box and we have a problem where we sometimes kick eachother off because we don't know how to tell if someone is currently active on it.

Is there any way?
 

her209

No Lifer
Oct 11, 2000
56,352
11
0
Are users logging in with different accounts? Do the account(s) have administrative rights?
 

lozina

Lifer
Sep 10, 2001
11,709
8
81
We all use the same user/account. Is that the problem?

edit:
we all log in the same user because we share the same apps that are running. so it would be a problem if we split it into different profiles because then we'd have a separate instance of the same apps for each profile. that would not be good.
 

armstrda

Senior member
Sep 15, 2006
426
0
0
Yep, same user there's no way to block the kick off using the default RDP client. If you were to use something like VNC then you might have some other options.
 

lozina

Lifer
Sep 10, 2001
11,709
8
81
If there is no way for RemoteDesktop to block, is there at least some method to determine if someone is currently logged in to the machine via RemoteDesktop? Be it a utility, a command line call or even some way I can code using C# ?
 

armstrda

Senior member
Sep 15, 2006
426
0
0
If you're never logging the user off (which is sounds like you're not since there are shared apps that always run) then that user will always show as logged in. You could try a phone call/txt/im to the other person and see if he/she is logged in?
 

Crusty

Lifer
Sep 30, 2001
12,684
2
81
You could have a login script that fires off an email to the list of employees that share that login and then again when they log out. It won't prevent them from cross-logging but it will leave a easy to follow paper trail for who is currently using it.
 

her209

No Lifer
Oct 11, 2000
56,352
11
0
Or have the logon script create a "lock" file on a shared network drive when someone logs in. When the user logs off, then the logoff script deletes the file.
 

lozina

Lifer
Sep 10, 2001
11,709
8
81
That logon script is a great idea. I have never dealt with this though... when I tried creating a test script and setting it to a particular user though under their Profile tab in user administration I tried using a local file "C:\test.vbs" and it tells me it must be a relative path - relative to what? I cannot use local scripts?

edit: ok nevermind I found the relative path it is talking about but I still want to know if I can use a local file to the machine, I dont want this on the global domain controller
 

her209

No Lifer
Oct 11, 2000
56,352
11
0
Originally posted by: lozina
That logon script is a great idea. I have never dealt with this though... when I tried creating a test script and setting it to a particular user though under their Profile tab in user administration I tried using a local file "C:\test.vbs" and it tells me it must be a relative path - relative to what? I cannot use local scripts?

edit: ok nevermind I found the relative path it is talking about but I still want to know if I can use a local file to the machine, I dont want this on the global domain controller
Well, I wouldn't apply the Logon Script at the Domain level. On the local computer, type gpedit.msc at the Start > Run prompt. As for the relative path, if you put the file on the local computer, e.g. C:\test.vbs, you can point to it using the UNC path such as \\computername\C$\test.vbs. Or you could put the file in a shared folder on the local machine and point to it \\computername\sharedfolder\test.vbs.
 
sale-70-410-exam    | Exam-200-125-pdf    | we-sale-70-410-exam    | hot-sale-70-410-exam    | Latest-exam-700-603-Dumps    | Dumps-98-363-exams-date    | Certs-200-125-date    | Dumps-300-075-exams-date    | hot-sale-book-C8010-726-book    | Hot-Sale-200-310-Exam    | Exam-Description-200-310-dumps?    | hot-sale-book-200-125-book    | Latest-Updated-300-209-Exam    | Dumps-210-260-exams-date    | Download-200-125-Exam-PDF    | Exam-Description-300-101-dumps    | Certs-300-101-date    | Hot-Sale-300-075-Exam    | Latest-exam-200-125-Dumps    | Exam-Description-200-125-dumps    | Latest-Updated-300-075-Exam    | hot-sale-book-210-260-book    | Dumps-200-901-exams-date    | Certs-200-901-date    | Latest-exam-1Z0-062-Dumps    | Hot-Sale-1Z0-062-Exam    | Certs-CSSLP-date    | 100%-Pass-70-383-Exams    | Latest-JN0-360-real-exam-questions    | 100%-Pass-4A0-100-Real-Exam-Questions    | Dumps-300-135-exams-date    | Passed-200-105-Tech-Exams    | Latest-Updated-200-310-Exam    | Download-300-070-Exam-PDF    | Hot-Sale-JN0-360-Exam    | 100%-Pass-JN0-360-Exams    | 100%-Pass-JN0-360-Real-Exam-Questions    | Dumps-JN0-360-exams-date    | Exam-Description-1Z0-876-dumps    | Latest-exam-1Z0-876-Dumps    | Dumps-HPE0-Y53-exams-date    | 2017-Latest-HPE0-Y53-Exam    | 100%-Pass-HPE0-Y53-Real-Exam-Questions    | Pass-4A0-100-Exam    | Latest-4A0-100-Questions    | Dumps-98-365-exams-date    | 2017-Latest-98-365-Exam    | 100%-Pass-VCS-254-Exams    | 2017-Latest-VCS-273-Exam    | Dumps-200-355-exams-date    | 2017-Latest-300-320-Exam    | Pass-300-101-Exam    | 100%-Pass-300-115-Exams    |
http://www.portvapes.co.uk/    | http://www.portvapes.co.uk/    |