Solved

How to push  "Power Button" options via  script.

Posted on 2008-06-16
6
1,791 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
  • 3
  • 3
6 Comments
 
LVL 9

Expert Comment

by:Derek Schauland
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

Expert Comment

by:Derek Schauland
ID: 21796891
Are you using group policy to manage the systems??
0
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 
LVL 2

Author Comment

by:vnahc
ID: 21796908
Yes
0
 
LVL 9

Expert Comment

by:Derek Schauland
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

In this article we will discuss all things related to StageFright bug, the most vulnerable bug of android devices.
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.

747 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now