Author Topic: Manage Windows 7 Power Options from the Command Line  (Read 3496 times)

0 Members and 1 Guest are viewing this topic.

Manage Windows 7 Power Options from the Command Line
« on: June 16, 2010, 07:14:52 PM »

Offline Nick

  • Administrator
  • Platinum Member
  • *
  • Posts: 46028
  • Karma: +1000/-0
  • Gender: Male
  • NickCS
    • http://www.facebook.com/nickcomputerservices
    • http://www.twitter.com/nickcomputer
    • Computer Chiangmai

Manage Windows 7 Power Options from the Command Line

Get an overview of the most important parameters you should know for managing power options from the command prompt.

Windows 7 includes the Power Configuration utility (Powercfg.exe) for managing power options from the command line. You can view a list of parameters for this utility by typing powercfg /? at a command prompt. The parameters you’ll work with most often include:
–a Lists the available sleep states on the computer and the reasons why a particular sleep state is not supported.
–d [guid] Deletes the power plan specified by the globally unique identifier (GUID).
–devicequery all_devices_verbose Lists detailed power support information for all devices on the computer. Be sure to redirect the output to a file because this list is very long and detailed.
–energy Checks the system for common configuration, device, and battery problems and then generates an HTML report in the current working directory.
–h Toggles the hibernate feature on or off.
–l Lists the power plans configured on a computer by name and GUID.
–q [guid] Lists the contents of the power plan specified by the GUID. If you don’t provide a GUID, the contents of the active power plan are listed.
–requests Displays all power requests made by device drivers. If there are pending requests for the display, these requests would prevent the computer from automatically powering off the displays. If there are pending requests for any device including the display, these requests would prevent the computer from automatically entering a low-power sleep state.
–s [guid] Makes the power plan specified by the GUID the active power plan.
–x [setting] [value] Sets the specified value for the specified setting in the active power plan.

From the Microsoft Press book Windows 7 Administrator’s Pocket Consultant by William R. Stanek.

credit: technet.microsoft.com


 
Share this topic...
In a forum
(BBCode)
In a site/blog
(HTML)


Related Topics

  Subject / Started by Replies Last post
0 Replies
3877 Views
Last post February 16, 2009, 06:37:12 PM
by Webmaster
0 Replies
3336 Views
Last post February 16, 2009, 06:44:35 PM
by Webmaster
0 Replies
3426 Views
Last post February 16, 2009, 06:56:00 PM
by Webmaster
0 Replies
3602 Views
Last post June 11, 2010, 06:31:21 PM
by Nick
0 Replies
7707 Views
Last post June 16, 2010, 01:47:32 PM
by Nick
0 Replies
2964 Views
Last post June 16, 2010, 06:01:54 PM
by Nick
0 Replies
3034 Views
Last post June 16, 2010, 09:19:44 PM
by Nick
0 Replies
3054 Views
Last post June 16, 2010, 09:45:08 PM
by Nick
0 Replies
13294 Views
Last post July 03, 2010, 02:57:44 PM
by Nick
0 Replies
1784 Views
Last post June 26, 2013, 06:14:43 PM
by Nick