![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
| Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks. |
| |||||||
![]() |
| |
| | #1 (permalink) |
| | how to force logoff when workstation is locked? 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 |
My System Specs![]() |
| | #2 (permalink) |
| | Re: how to force logoff when workstation is locked? Try using the task manager, going to users, and selecting logoff. "dmm" <dmm@xxxxxx> wrote in message news:EF9D83EC-3274-42E0-A87E-70EB03D1E277@xxxxxx Quote: > 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 |
My System Specs![]() |
| | #3 (permalink) |
| | Re: how to force logoff when workstation is locked? The force logoff must be done programmatically not via manual user intervention. Thanks Dan "D. Hafer" wrote: Quote: > Try using the task manager, going to users, and selecting logoff. > "dmm" <dmm@xxxxxx> wrote in message > news:EF9D83EC-3274-42E0-A87E-70EB03D1E277@xxxxxx Quote: > > 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 > |
My System Specs![]() |
| | #4 (permalink) |
| | Re: how to force logoff when workstation is locked? I don't believe it's possible due to the codepath in use during a locked-workstation session. "dmm" <dmm@xxxxxx> wrote in message news:EF9D83EC-3274-42E0-A87E-70EB03D1E277@xxxxxx Quote: > 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 |
My System Specs![]() |
![]() |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Forum | |||
| RE: force logoff after time limit | PowerShell | |||
| Random Memory Errors at Logoff (and ONLY Logoff) | General Discussion | |||
| Possible Fix: Microsoft Force Feedback 2 Joystick and the self center force disabling | Vista hardware & devices | |||
| Can't force users to logoff | Vista account administration | |||
| Force user logoff from Task Manager | Vista performance & maintenance | |||