473,508 Members | 2,207 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Is a user logged in remotely?

Can I get some suggestions on how I can tell if a user is logged in
remotely on a Win XP Pro box and kill a certain process? Any
solutions are welcome.

Oct 17 '07 #1
2 2245
you can check whether the explorer.exe process is running to tell if
there is someone logged on. getting the process owner will tell you
who is logged on.

Oct 19 '07 #2
On Oct 19, 2:58 am, Peter Forman <xla...@gmail.comwrote:
you can check whether the explorer.exe process is running to tell if
there is someone logged on. getting the process owner will tell you
who is logged on.
Thanks, once I have that info, do you know of a way if they are logged
in via RDP? This would be on a WinXP box.

Currently it is possible for someone to be logged in, and at the end
of the day lock their PC, and then go home. Once they are home they
can remote to this PC and log in with their same creditials and get
the same session they left locked. How would I be able to tell if the
session they are on is a remote session? If they are on a remote
session, then I don't want to let them launch a certain program.

I know the easy solution is not to let anyone remote to their PCs but
this is not an option.

Oct 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
7632
by: Joshua Beall | last post by:
Hi All, What is the best way to use a cookie to remember a logged in user? Would you store the username and password in two separate cookies? Should the password be plain text? Hashed? Not...
5
7850
by: Br | last post by:
Is it possible when using Access security to log a user out? I have a client who would like to be able to change users without having to shut Access down. Anyone come up with a good solution?...
4
1613
by: Brian Lowe | last post by:
I'm using Forms authentication with my user data in a SQL db. I have pages in the main appliaction folder accessible to anonymous users and I've set security to deny annonymous users access to...
4
4905
by: Dave | last post by:
Hi, I have a dev machine, part of a domain, with a site set to Integrated security only. I want to determine the username of person accessing the page. When I run the page with the following...
0
306
by: Terry Olsen | last post by:
Is there a way to remotely add/change/delete Local User/Group accounts remotely from VB.Net? We have a utility that would allow us to add a username to a local "netop" group on a PC. This then...
4
10082
by: Jarod_24 | last post by:
How do a windows-service detect whether a user is logged or not on a computer? So far i've found nothing in the windows api or any code examples that will allow me to figure this out. The...
6
5652
by: MuZZy | last post by:
Hi, I am looking to find a way to get currently logged in user's object GUID without querying ActiveDirectory. For example, when i log in to my laptop from home, I'm not on the office network so...
2
2543
by: Keith G Hicks | last post by:
asp.net 2.0 I have set my web.config as follows: <forms timeout="30"/(I know that's the default but I may chang it so the line's in there) I also have a few cookies I'm setting on my login...
9
6256
by: Gordon | last post by:
I want to add a feature to a project I'm working on where i have multiple users set up on my Postgres database with varying levels of access. At the bare minimum there will be a login user who...
0
7231
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7132
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7401
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
7063
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5640
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3196
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
773
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.