Switch power plans from the command line with powercfg
Activate High Performance, Balanced, or any custom power scheme instantly by GUID — perfect for scripts that toggle between battery-friendly and full-throttle modes.
01Command
$ powercfg /setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c02What it does
Each power plan is a GUID; run `powercfg /list` (alias /l) to enumerate them with their GUIDs, or use friendly aliases like `powercfg /setactive scheme_current`. The two GUIDs in this command are Microsoft's well-known built-ins: 8c5e7fda-... is High Performance and 381b4222-... is Balanced. Duplicate a plan before tweaking it with `powercfg /duplicatescheme <GUID>` and tune individual settings with `powercfg /change monitor-timeout-ac 15`. Note that some systems only expose High Performance via `powercfg /restoredefaultschemes` or duplicating Ultimate Performance with `/duplicatescheme e9a42b02-d5df-448d-aa00-03f14749eb61`.
03Risk
04Undo
$ powercfg /setactive 381b4222-f694-41f0-9685-ff5bb260df2e05Sources
- Powercfg command-line options | Microsoft LearnEvidence: Microsoft documents powercfg /setactive as setting the current power scheme by GUID or alias, and /list as enumerating all available schemes.
- Powercfg - Power configuration - Windows CMDEvidence: SS64 lists powercfg switches including /list, /setactive and /dupicatescheme for managing Windows power schemes.
Last verified: 2026-09-17 · Category: System & Settings
06Related solutions
Use the System File Checker to verify every protected Windows system file against known-good copies and automatically replace the damaged ones.
Use Windows Package Manager to install, search, and upgrade thousands of applications from the community repository in one command.
Robocopy is Windows' built-in robust file copier: use /MIR to keep a destination folder as an exact one-way mirror of a source, resumable and restartable.