PC Review


Reply
Thread Tools Rate Thread

Detect if user is logged in (system context service)

 
 
Romain Petges
Guest
Posts: n/a
 
      17th Sep 2007
Hi all,

I have a service running in system security space and I need to check by a
registry key or environment variable if a user is logged-in to the
workstation.

The service MUST run in system space, but the environment variables named
"USERNAME" is defined in user space, thus not visible by the service.

Is there any indication in the registry (HKLM) that tells me if a user is
currently logged-in ... for example something that puts the username if a
user logs-in and removes it on closing the session.

Many thanks in advance,
Romain


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Switching from System context to User Context kedar Microsoft Windows 2000 Developer 1 30th Mar 2007 12:30 AM
Switching from System context to User Context kedar Windows XP General 0 27th Mar 2007 02:18 PM
Switching from System context to User Context kedar Microsoft Windows 2000 Security 0 27th Mar 2007 02:18 PM
Detect if user is logged in Jarod_24 Microsoft VB .NET 4 21st Jan 2006 10:34 PM
How to detect the user has logged out? Showjumper Microsoft ASP .NET 1 27th Jan 2004 06:30 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:44 AM.