Solved

How to push  "Power Button" options via  script.

Posted on 2008-06-16
6
1,793 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

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

It is only natural that we all want our PCs to be in good working order, improved system performance, so that is exactly how programs are advertised to entice. They say things like:            •      PC crashes? Get registry cleaner to repair it!    …
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 a video that shows how the OnPage alerts system integrates into ConnectWise, how a trigger is set, how a page is sent via the trigger, and how the SENT, DELIVERED, READ & REPLIED receipts get entered into the internal tab of the ConnectWise …
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

932 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

17 Experts available now in Live!

Get 1:1 Help Now