-
Notifications
You must be signed in to change notification settings - Fork 5
power_plans_add_default.ps1
Corey Watson edited this page Dec 1, 2025
·
1 revision
Add Default Power Plans.
Adds the four standard Windows power plans (High Performance, Ultimate Performance, Power Saver, and Balanced) by duplicating them from their default GUIDs. Useful for restoring missing power plans on systems where they have been removed or are unavailable.
This script restores the standard Windows power plans that may be missing from a system. It uses the built-in Windows power plan GUIDs to duplicate and recreate all default power plans.
- Windows 10/11 or Windows Server 2016+
- Administrator privileges
- powercfg.exe available (standard Windows component)
None - uses standard Windows power plan GUIDs
- Duplicates High Performance power plan
- Duplicates Ultimate Performance power plan (Win10 1803+)
- Duplicates Power Saver power plan
- Duplicates Balanced power plan
- Reports success/failure for each plan
- No secrets in logs
- Uses standard Windows power plan GUIDs
-
0= Success (all plans added) -
1= Failure
[ INPUT VALIDATION ]
--------------------------------------------------------------
No inputs required
[ ADDING POWER PLANS ]
--------------------------------------------------------------
High Performance : Added successfully
Ultimate Performance : Added successfully
Power Saver : Added successfully
Balanced : Added successfully
[ FINAL STATUS ]
--------------------------------------------------------------
Result : SUCCESS
All power plans added successfully
[ SCRIPT COMPLETED ]
--------------------------------------------------------------
- v1.0.0 (2024-12-01) - Initial release - converted from batch script
- View Script Source
- Scripts - Back to script index