remove sleep mode from laptops with script

  • Thread starter Thread starter Damo_Suzuki
  • Start date Start date
D

Damo_Suzuki

I need to remove sleep mode from laptops with a script , anyone have
any idea how to do this. Can it be done just by editing the registry ?
Thanks in advance
 
that is stop the laptop from going into sleep mode when the lid is
closed
 
Currently Windows stores power config in Binary values which native group
policy does not provide a solution for. This will be provided however in
Vista and Longhorn. I have come accross this in the past that may be worth
considering.

http://www.terranovum.com/projects/energystar/ez_gpo.html

The other alternative would be to consider changing registry security to
allow users to change power settings. If this was possible you could then
user the powercfg command in a logon script to define the power scheme
required and prevent access to the GUI power settings using GPO. A machine
GPO could be used to set the security.

Reg Key

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Controls
Folder\PowerCfg

Right-click on the "GlobalPowerPolicy" key and choose "Permissions".
Click on the "Advanced" button.
Click "Add",type INTERACTIVE and click "Check names", then OK.
Check the "Set value" and "Create Subkey" checkboxes in the "Allow" column,
and click OK, then OK, then OK.
Do the same thing with the "PowerPolicies" key.

Dave Britt
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Windows 7 Problem with Services 4
Sleep Mode with a Laptop 2
Shutdown on return from sleep 3
automatic updates in sleep mode 2
Sleep 3
Laptops and "sleep" mode 3
Laptop sleeps then bluescreen 3
instapccare.com malware root kit 6

Back
Top