?
Solved

How to push  "Power Button" options via  script.

Posted on 2008-06-16
6
Medium Priority
?
1,802 Views
Last Modified: 2008-06-27
I have 100 laptops I need to change the "When I close the lid of my computer" option from "Do Nothing" to "Stand by". Is there anyway to push this option via logon script or policy?
0
Comment
Question by:vnahc
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 9
ID: 21796480
We use an application called Desktop Authority to manage this.  It uses a logon script to set the actions for PCs.  There are sure to be other solutions out there that are cheaper or even free.

You might have a look at the following link
http://www.energystar.gov/index.cfm?c=power_mgt.pr_power_mgt_powerconfig
0
 
LVL 2

Author Comment

by:vnahc
ID: 21796764
We are a non profit so I must work with what I have. I use powerconfig to set the sleep mode and other switches, but it doesn't seem to work with the lid properties. I would like to find something like powerconfig that I could run from a script.
0
 
LVL 9
ID: 21796891
Are you using group policy to manage the systems??
0
WordPress Tutorial 2: Terminology

An important part of learning any new piece of software is understanding the terminology it uses. Thankfully WordPress uses fairly simple names for everything that make it easy to start using the software.

 
LVL 2

Author Comment

by:vnahc
ID: 21796908
Yes
0
 
LVL 9
ID: 21796998
According to a post on technet Vista supports GPO management of power options but earlier versions do not (at least out of the box).  The post sent me to the energystar.gov site for a utility called EZ GPO

http://www.energystar.gov/index.cfm?c=power_mgt.pr_power_mgt_ez_gpo

this utility appears to allow management of power options via gpo in XP... will require download of 3rd party tool (free)
0
 
LVL 2

Accepted Solution

by:
vnahc earned 0 total points
ID: 21825481
I found this on google answers. It works perfect.

Change the setting using powercfg.cpl

Using Regedit, export the
[HKEY_CURRENT_USER\Control Panel\PowerCfg\GlobalPowerPolicy]
Key into "Standby.reg":

Create batch StandbyMode.bat:
 regedit /s "StandbyMode.reg"
 rundll32.exe powrprof.dll,LoadCurrentPwrScheme

0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

771 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question