Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > how to force logoff when workstation is locked?

Reply
Thread Tools Display Modes

how to force logoff when workstation is locked?

 
 
dmm
Guest
Posts: n/a

 
      04-20-2009
In Vista, my service runs continuously. At times, it becomes necessary for
my service to forcibly logoff the user when the PC has been locked by the
user. How can this be accomplished programmatically?

Thanks
dmm
 
Reply With Quote
 
 
 
 
D. Hafer
Guest
Posts: n/a

 
      04-20-2009
Try using the task manager, going to users, and selecting logoff.
"dmm" <> wrote in message
news:EF9D83EC-3274-42E0-A87E-...
> In Vista, my service runs continuously. At times, it becomes necessary
> for
> my service to forcibly logoff the user when the PC has been locked by the
> user. How can this be accomplished programmatically?
>
> Thanks
> dmm


 
Reply With Quote
 
dmm
Guest
Posts: n/a

 
      04-20-2009
The force logoff must be done programmatically not via manual user
intervention.

Thanks
Dan

"D. Hafer" wrote:

> Try using the task manager, going to users, and selecting logoff.
> "dmm" <> wrote in message
> news:EF9D83EC-3274-42E0-A87E-...
> > In Vista, my service runs continuously. At times, it becomes necessary
> > for
> > my service to forcibly logoff the user when the PC has been locked by the
> > user. How can this be accomplished programmatically?
> >
> > Thanks
> > dmm

>
>

 
Reply With Quote
 
Richard G. Harper
Guest
Posts: n/a

 
      04-20-2009
I don't believe it's possible due to the codepath in use during a
locked-workstation session.

"dmm" <> wrote in message
news:EF9D83EC-3274-42E0-A87E-...
> In Vista, my service runs continuously. At times, it becomes necessary
> for
> my service to forcibly logoff the user when the PC has been locked by the
> user. How can this be accomplished programmatically?
>
> Thanks
> dmm


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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
Possible Fix: Microsoft Force Feedback 2 Joystick and the self center force disabling funks Windows Vista Hardware 0 10-20-2008 07:04 AM
Is it possible to force logoff when putting pc into sleep? Michele Windows Vista General Discussion 5 10-07-2008 11:31 AM
will not logoff--- elizabeth Windows Vista General Discussion 2 10-23-2007 12:22 AM
Can't force users to logoff Ziv Windows Vista Administration 3 07-11-2007 03:39 AM
Force user logoff from Task Manager SpaceJaguar Windows Vista Performance 0 04-12-2007 09:50 AM



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59