Windows Vista Tips

Windows Vista Tips > Newsgroups > Windows Vista General Discussion > Is it possible to force logoff when putting pc into sleep?

Reply
Thread Tools Display Modes

Is it possible to force logoff when putting pc into sleep?

 
 
Michele
Guest
Posts: n/a

 
      10-06-2008
If ,in Vista, i configure the power button ( both the one on the start menu
and the one on the pc ) to sleep the computer, is there a policy that force
user logoff before putting the computer into sleep?
 
Reply With Quote
 
 
 
 
Andy
Guest
Posts: n/a

 
      10-07-2008

"Michele" <> wrote in message
news:4872797F-FD1F-44E6-A32F-...
> If ,in Vista, i configure the power button ( both the one on the start
> menu
> and the one on the pc ) to sleep the computer, is there a policy that
> force
> user logoff before putting the computer into sleep?


Hi Michele (I know a Michele with only one "l" in Manchester),

START > CONTROL PANEL > POWER OPTIONS

A new window opens.

Click the "Change Plan Settings" link under the plan that you're using.

A new page in same window appears.

Click the "Change advanced power settings" link.

A new window opens.

In the options tree, open the "Additional Settings" branch and set "Require
a password on wakeup" to Yes.


Hope that helps

Andy

 
Reply With Quote
 
Michele
Guest
Posts: n/a

 
      10-07-2008
Thanks Andy but your answer is not regarding my question.
I want to find a way to logoff a user when he puts the pc into sleep state (
Automatically)

"Andy" wrote:

>
> "Michele" <> wrote in message
> news:4872797F-FD1F-44E6-A32F-...
> > If ,in Vista, i configure the power button ( both the one on the start
> > menu
> > and the one on the pc ) to sleep the computer, is there a policy that
> > force
> > user logoff before putting the computer into sleep?

>
> Hi Michele (I know a Michele with only one "l" in Manchester),
>
> START > CONTROL PANEL > POWER OPTIONS
>
> A new window opens.
>
> Click the "Change Plan Settings" link under the plan that you're using.
>
> A new page in same window appears.
>
> Click the "Change advanced power settings" link.
>
> A new window opens.
>
> In the options tree, open the "Additional Settings" branch and set "Require
> a password on wakeup" to Yes.
>
>
> Hope that helps
>
> Andy
>
>

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      10-07-2008
Andy's recommendation works fine, but the user must have an assigned
password, or more than one users must exist on that client machine. With
only one user, and no password, the Welcome screen is bypassed, since it is
pointless.

You can still do what you want, but the user needs to assign a password to
their account. There is a utility available to automatically input this
password on first startup, but will still allow the sleep function to
present the Welcome user icon (when Andy's recommendation is followed).
Click Start, and type 'control userpasswords2' and hit enter. Assign an
account password then put a checkmark in the box for "Users must enter a
user name and password..." , OK, and follow the wizard to allow them to
choose the user and password desired as autologon. One first startup you get
autologon, then on sleep, you get the Welcome screen.

--
Please use the Communities guidelines when posting.
http://www.microsoft.com/wn3/locales...help_en-us.htm
Use the "Ratings" feature. It helps the new users.
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson

"Michele" <> wrote in message
news:9E598B6B-C995-4801-92FD-...
> Thanks Andy but your answer is not regarding my question.
> I want to find a way to logoff a user when he puts the pc into sleep state
> (
> Automatically)
>
> "Andy" wrote:
>
>>
>> "Michele" <> wrote in message
>> news:4872797F-FD1F-44E6-A32F-...
>> > If ,in Vista, i configure the power button ( both the one on the start
>> > menu
>> > and the one on the pc ) to sleep the computer, is there a policy that
>> > force
>> > user logoff before putting the computer into sleep?

>>
>> Hi Michele (I know a Michele with only one "l" in Manchester),
>>
>> START > CONTROL PANEL > POWER OPTIONS
>>
>> A new window opens.
>>
>> Click the "Change Plan Settings" link under the plan that you're using.
>>
>> A new page in same window appears.
>>
>> Click the "Change advanced power settings" link.
>>
>> A new window opens.
>>
>> In the options tree, open the "Additional Settings" branch and set
>> "Require
>> a password on wakeup" to Yes.
>>
>>
>> Hope that helps
>>
>> Andy
>>
>>

 
Reply With Quote
 
Michele
Guest
Posts: n/a

 
      10-07-2008
Thanks Mark.
Am i missing something or maybe i was just not enough clear?
I already have more than one user on my pc and both have their own password
and yes the option "Require a password on wakeup" is on.
I have configured the power button on the start menu to put pc into sleep
and when a user click on it the pc goes into sleep and when it resumes from
sleep it is locked by the user who put the pc into sleep. I want, instead,
that when the user click on the power button the pc goes into sleep but when
it resumes it is in the welcome screen, that is no user is connected.


"Mark L. Ferguson" wrote:

> Andy's recommendation works fine, but the user must have an assigned
> password, or more than one users must exist on that client machine. With
> only one user, and no password, the Welcome screen is bypassed, since it is
> pointless.
>
> You can still do what you want, but the user needs to assign a password to
> their account. There is a utility available to automatically input this
> password on first startup, but will still allow the sleep function to
> present the Welcome user icon (when Andy's recommendation is followed).
> Click Start, and type 'control userpasswords2' and hit enter. Assign an
> account password then put a checkmark in the box for "Users must enter a
> user name and password..." , OK, and follow the wizard to allow them to
> choose the user and password desired as autologon. One first startup you get
> autologon, then on sleep, you get the Welcome screen.
>
> --
> Please use the Communities guidelines when posting.
> http://www.microsoft.com/wn3/locales...help_en-us.htm
> Use the "Ratings" feature. It helps the new users.
> Mark L. Ferguson MS-MVP
> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>
> "Michele" <> wrote in message
> news:9E598B6B-C995-4801-92FD-...
> > Thanks Andy but your answer is not regarding my question.
> > I want to find a way to logoff a user when he puts the pc into sleep state
> > (
> > Automatically)
> >
> > "Andy" wrote:
> >
> >>
> >> "Michele" <> wrote in message
> >> news:4872797F-FD1F-44E6-A32F-...
> >> > If ,in Vista, i configure the power button ( both the one on the start
> >> > menu
> >> > and the one on the pc ) to sleep the computer, is there a policy that
> >> > force
> >> > user logoff before putting the computer into sleep?
> >>
> >> Hi Michele (I know a Michele with only one "l" in Manchester),
> >>
> >> START > CONTROL PANEL > POWER OPTIONS
> >>
> >> A new window opens.
> >>
> >> Click the "Change Plan Settings" link under the plan that you're using.
> >>
> >> A new page in same window appears.
> >>
> >> Click the "Change advanced power settings" link.
> >>
> >> A new window opens.
> >>
> >> In the options tree, open the "Additional Settings" branch and set
> >> "Require
> >> a password on wakeup" to Yes.
> >>
> >>
> >> Hope that helps
> >>
> >> Andy
> >>
> >>

 
Reply With Quote
 
Mark L. Ferguson
Guest
Posts: n/a

 
      10-07-2008
You would need to script a timed utility to logoff on inactivity, set for a
time shorter than the timed sleep function. Another sleep script could do
the same for manual sleep. A 'logoff and sleep' script is well within the
WMI functions.

--
Please use the Communities guidelines when posting.
http://www.microsoft.com/wn3/locales...help_en-us.htm
Use the "Ratings" feature. It helps the new users.
Mark L. Ferguson MS-MVP
https://mvp.support.microsoft.com/profile/Mark.Ferguson

"Michele" <> wrote in message
news:2C7AA921-C572-47A9-98DA-...
> Thanks Mark.
> Am i missing something or maybe i was just not enough clear?
> I already have more than one user on my pc and both have their own
> password
> and yes the option "Require a password on wakeup" is on.
> I have configured the power button on the start menu to put pc into sleep
> and when a user click on it the pc goes into sleep and when it resumes
> from
> sleep it is locked by the user who put the pc into sleep. I want, instead,
> that when the user click on the power button the pc goes into sleep but
> when
> it resumes it is in the welcome screen, that is no user is connected.
>
>
> "Mark L. Ferguson" wrote:
>
>> Andy's recommendation works fine, but the user must have an assigned
>> password, or more than one users must exist on that client machine. With
>> only one user, and no password, the Welcome screen is bypassed, since it
>> is
>> pointless.
>>
>> You can still do what you want, but the user needs to assign a password
>> to
>> their account. There is a utility available to automatically input this
>> password on first startup, but will still allow the sleep function to
>> present the Welcome user icon (when Andy's recommendation is followed).
>> Click Start, and type 'control userpasswords2' and hit enter. Assign an
>> account password then put a checkmark in the box for "Users must enter a
>> user name and password..." , OK, and follow the wizard to allow them to
>> choose the user and password desired as autologon. One first startup you
>> get
>> autologon, then on sleep, you get the Welcome screen.
>>
>> --
>> Please use the Communities guidelines when posting.
>> http://www.microsoft.com/wn3/locales...help_en-us.htm
>> Use the "Ratings" feature. It helps the new users.
>> Mark L. Ferguson MS-MVP
>> https://mvp.support.microsoft.com/profile/Mark.Ferguson
>>
>> "Michele" <> wrote in message
>> news:9E598B6B-C995-4801-92FD-...
>> > Thanks Andy but your answer is not regarding my question.
>> > I want to find a way to logoff a user when he puts the pc into sleep
>> > state
>> > (
>> > Automatically)
>> >
>> > "Andy" wrote:
>> >
>> >>
>> >> "Michele" <> wrote in message
>> >> news:4872797F-FD1F-44E6-A32F-...
>> >> > If ,in Vista, i configure the power button ( both the one on the
>> >> > start
>> >> > menu
>> >> > and the one on the pc ) to sleep the computer, is there a policy
>> >> > that
>> >> > force
>> >> > user logoff before putting the computer into sleep?
>> >>
>> >> Hi Michele (I know a Michele with only one "l" in Manchester),
>> >>
>> >> START > CONTROL PANEL > POWER OPTIONS
>> >>
>> >> A new window opens.
>> >>
>> >> Click the "Change Plan Settings" link under the plan that you're
>> >> using.
>> >>
>> >> A new page in same window appears.
>> >>
>> >> Click the "Change advanced power settings" link.
>> >>
>> >> A new window opens.
>> >>
>> >> In the options tree, open the "Additional Settings" branch and set
>> >> "Require
>> >> a password on wakeup" to Yes.
>> >>
>> >>
>> >> Hope that helps
>> >>
>> >> Andy
>> >>
>> >>

 
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
Shortcut to logoff then put pc in sleep Ron P Windows Vista General Discussion 1 11-28-2007 07:46 PM
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
Putting to sleep remotely Tim Windows Vista General Discussion 5 03-14-2007 10:24 PM
logoff and then sleep xav Windows Vista General Discussion 0 02-04-2007 05:18 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