473,668 Members | 2,482 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 2250
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.c omwrote:
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
7651
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 there at all? Any feedback would be helpful. Thanks! -Josh
5
7859
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? (perhaps just close the app and open it again in code?) Bradley
4
1628
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 pages in several sub folders (e.g. admin). I've set up a login page where users trying to access any /admin/ page are diverted to and on successful login they are redirected back to the page they requested. All is well. Everything works. I want...
4
4923
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 code: Response.Write(Request.ServerVariables); Response.Write("<BR>"); Response.Write(HttpContext.Current.User.Identity.Name);
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 allows that user to remotely control that pc via netop. I would like to expand on this utility to be able to view the local users/groups on a remote pc, see which groups the user is assigned, see the users assigned to each group, and be able to...
4
10116
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 solution i have today is to use Diagnostics.Process.GetProcesses and then iterate through the array i get and look for explorer.exe Explorer.exe is not loaded when a user is logged out of a computer. I found this on winlogon states:...
6
5662
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 i can't reach AD but I'm sure i still can get my AD's objectGUID, as the profile is cached locally. Any ideas?
2
2553
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 page to hold the UserName, UserID and the value of another field in my db so that as the user is navigating around the site I can test for certain things. All that seems to be fine. I've set the cookies to expire in 30 minutes also to coordinate...
9
6271
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 only has read access to the users table so that users can log in. Once a user has been logged in successfully I want to escalate that user's access level to one appropriate to their role, which will include switching the postgres user they are...
0
8459
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8889
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8790
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8572
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
7391
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
4202
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4372
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2782
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2017
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.