On Windows XP, the following command in a script will prevent any power saving options from being enabled on the PC (monitor sleep, HD sleep, etc.). This is useful for kiosk applications.
powercfg.exe /setactive presentation
What is the equivalent on Vista?
Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to enable hibernation on Windows 10 and press Enter: powercfg /hibernate off.
To quickly turn off power-saving mode entirely: Click the battery icon on the right side of the Taskbar. Select Battery settings. Scroll down to the Battery saver section, and disable the check box next to Turn battery saver on automatically if my battery falls below.
Updated: 12/30/2021 by Computer Hope. The powercfg command allows users to view and modify their Windows computer's power plans and settings. Using powercfg provides similar control over the power settings as does the Windows Power Options utility.
Powercfg.exe is a command-line utility that is used from an elevated Windows Command Prompt to control all configurable power system settings, including hardware-specific configurations that are not configurable through the Control Panel, on a per-user basis.
(at least) for windows 7:
Nice Shortcuts are:
cheers
Kai
C:\Windows\system32>powercfg /list
Power Scheme GUID: 381b4222-f694-41f0-9685-ff5bb260df2e (Balanced) *
Power Scheme GUID: 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c (High performance)
Power Scheme GUID: a1841308-3541-4fab-bc81-f71556f20b4a (Power saver)
C:\Windows\system32>powercfg /setactive a1841308-3541-4fab-bc81-f71556f20b4a
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With