A Windows Vista forum. Vista Banter

Welcome to Vista Banter.

You are currently viewing our boards as a guest which gives you limited access to view most discussions, articles and access our other FREE features. By joining our free community you will have access to ask questions and reply to others posts, upload your own photos and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact support.

Go Back   Home » Vista Banter forum » Microsoft Windows Vista » Vista Administration, Accounts and Passwords
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Vista Administration, Accounts and Passwords Queries, comments and issues relating to the administration of Windows Vista. (microsoft.public.windows.vista.administration_accounts_passwords)

Disable sleep (and hibernation) for all users



 
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old October 5th 06, 09:59 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Karen G
external usenet poster
 
Posts: 2
Default Disable sleep (and hibernation) for all users

Gentlefolk,

I have a number of labs with multiple computers in each lab. I'm currently
reviewing Vista, planning a rollout as soon as it is available to business
users. My question/problem is the sleep and/or hibernation options. I've
been chasing how to completely turn off all of the various methods a user
might put a computer into sleep mode.

Group policy can remove the sleep button, but also removes the shutdown
button in the process.

I can reassign the sleep button to shutdown instead (but with no "are you
sure", I'm guessing people will get button shy).

I can go into power policies and appear to have disabled it, and I can go to
a dos prompt with powerconfig -H OFF.

But even with all of these set, they can still put it to sleep with the side
menu of the lock button off the task bar.

Is there any way (preferably by group policy) to completely disable the
sleep options in all their locations? With lab computers, since windows NT,
I normally run a batch file to reboot all of them after a class or activity,
so that folks that left them logged in are automatically logged out. Going
to each computer is problematic. But if they are in sleep mode, my batches
can't talk to them to trigger the reboot. I need to be able to prevent
anyone from putting a lab computer into sleep mode at all, ever. This is a
real show-stopper for us.

Thanks,

Karen G.
  #2 (permalink)  
Old March 21st 07, 03:06 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Roel
external usenet poster
 
Posts: 1
Default Disable sleep (and hibernation) for all users


Yes, I also want this. Otherwise users never log off. And Logon-news
a.o. is not displayed.


--
Roel
  #3 (permalink)  
Old March 21st 07, 03:35 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Sam Yost
external usenet poster
 
Posts: 34
Default Disable sleep (and hibernation) for all users

I have been looking into this for a while. Here is what I have so far:

1. You can change the behaviour of the start menu power button from the
default action of "sleep" to "shutdown" in the advanced power settings.

2. To disable hybernation, go to an administrators command prompt and type:
"powercfg /hibernate off". This removes the option in the shutdown menu.

3. I have found no way to remove the sleep option from the shutdown menu
selection.


"Roel" wrote:


Yes, I also want this. Otherwise users never log off. And Logon-news
a.o. is not displayed.


--
Roel

  #4 (permalink)  
Old March 21st 07, 05:10 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Sam Yost
external usenet poster
 
Posts: 34
Default Disable sleep (and hibernation) for all users

I just found the gp setting to disable sleep:

Computer configuration--Administrative Templates--system--Power
Management--sleep settings: disable both "allow standby states" and run
gpupdate to have these take affect.
  #5 (permalink)  
Old March 22nd 07, 03:22 PM posted to microsoft.public.windows.vista.administration_accounts_passwords
Mark Bourne
external usenet poster
 
Posts: 114
Default Disable sleep (and hibernation) for all users

Sam Yost wrote:
I have been looking into this for a while. Here is what I have so far:

2. To disable hybernation, go to an administrators command prompt and type:
"powercfg /hibernate off". This removes the option in the shutdown menu.


Is there some documentation of these kinds of tricks somewhere?

Disk Cleanup provides an option to save space by disabling hibernation,
but no way of re-enabling it. There doesn't seem to be an option to
enable/disable hibernation from the "Power Options" in control panel
either. After reading the above, I tried "powercfg /hibernate on" to
enable hibernation, which worked. It just made me wonder how people are
meant to know about these commands?

Yes - I know I can get the options to "powercfg" by running "powercfg
/?", but that won't tell me about commands for doing other things!
  #6 (permalink)  
Old March 23rd 07, 12:06 AM posted to microsoft.public.windows.vista.administration_accounts_passwords
Ronnie Vernon MVP
external usenet poster
 
Posts: 2,847
Default Disable sleep (and hibernation) for all users

Mark

Go to the following web page. Note the TOC in the left panel. Expand the
Command Reference item and you will see many more pages on this subject
including a complete A-Z list of commands.

Command Reference:
http://technet2.microsoft.com/Window...802d51033.mspx

It takes a while to study many of the commands that are referenced there to
learn exactly what they can do. If you find a command that is not in the
reference, then you can use the /? for the command. Click the icon in the
top left corner of the command prompt window and click Edit/Select All and
then press the Enter Key to copy the information to the clipboard. Open
Notepad and Paste it there. Save it with an intuitive name for future
reference.

One thing to remember when using the command line is that many of the
commands can make serious changes to the system without any further prompts
before or after you hit the enter key, so this is not something that you
want to use lightly.

--

Ronnie Vernon
Microsoft MVP
Windows Shell/User


"Mark Bourne" wrote in message
...
Sam Yost wrote:
I have been looking into this for a while. Here is what I have so far:

2. To disable hybernation, go to an administrators command prompt and
type:
"powercfg /hibernate off". This removes the option in the shutdown menu.


Is there some documentation of these kinds of tricks somewhere?

Disk Cleanup provides an option to save space by disabling hibernation,
but no way of re-enabling it. There doesn't seem to be an option to
enable/disable hibernation from the "Power Options" in control panel
either. After reading the above, I tried "powercfg /hibernate on" to
enable hibernation, which worked. It just made me wonder how people are
meant to know about these commands?

Yes - I know I can get the options to "powercfg" by running "powercfg /?",
but that won't tell me about commands for doing other things!


 




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

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



All times are GMT. The time now is 08:08 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.Search Engine Optimization by vBSEO 3.0.0 RC6
Copyright ©2004-2012 Vista Banter.
The comments are property of their posters.