Solved

How to push  "Power Button" options via  script.

Posted on 2008-06-16
6
1,794 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
U.S. Department of Agriculture and Acronis Access

With the new era of mobile computing, smartphones and tablets, wireless communications and cloud services, the USDA sought to take advantage of a mobilized workforce and the blurring lines between personal and corporate computing resources.

 
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Daisy Chaining Scheduled Tasks in Task Scheduler 4 135
AS400  SNDDST Truncating 5 94
hp mini 3 64
repairing Windows XP on a different partition 17 76
Just about everyone has an old PC laying around.  Ask anyone in the IT industry, whether they are a professional or play in it as a hobby.  From outdated Desktops to cheap "throwaway" laptops, they are all around and not as hard to "fix up" as you m…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

832 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