Quick answer: what this script does

This script uses Windows powercfg commands to unlock the hidden Ultimate Performance plan, set it as active, and delete every other power plan. It is meant to be run once as administrator.

Overview

Windows Ultimate Performance Script is a simple setup utility for Windows 10 and Windows 11. It focuses on one job: making the Ultimate Performance plan available, activating it, and removing the other plans so Windows cannot silently fall back to another power behavior after restart.

It is useful for users who want a quick performance-focused power setup without clicking through Control Panel menus or manually copying powercfg commands.

Key Features

Unlocks Hidden Plan

Reveals and activates the hidden Ultimate Performance power plan.

Sets Active Plan

Ensures Ultimate Performance is the actively selected scheme.

Cleanup Utility

Deletes every other power plan automatically, including Windows default plans.

Admin Safety Check

Includes failsafe to ensure script runs with required permissions.

Clutter-Free System

Leaves Ultimate Performance as the only visible power plan.

One-Click Setup

Complete setup with a single script execution.

Prerequisites

This script is designed for Windows 10 (Version 1709 and newer) and Windows 11.

Crucially, this script MUST be run with Administrator privileges.

How to Use

  1. Download: Clone the repository or download the Ultimate_Performance_Setup.bat file directly.
  2. Right-Click: Locate the downloaded batch file.
  3. Run as Administrator: Right-click the file and select "Run as administrator."

What the Script Does

The script will automatically perform the following:

  1. Check for administrator rights and exit if not found.
  2. Duplicate/Activate the Ultimate Performance scheme.
  3. Set the Ultimate Performance scheme as the active plan.
  4. Loop through and delete all other power plans, including default plans.
  5. Display the final clean list of power schemes.

Why delete the other plans?

Windows can sometimes bug out after restart: Power Options may show the plan you selected, but the system can behave like another plan in the background. Keeping only Ultimate Performance avoids that mismatch.

How to Verify

After the script runs, you can check your Power & Sleep settings:

  1. Press Windows Key + R and type powercfg.cpl.
  2. In the Power Options window, only the following plan should remain visible:
    • Ultimate Performance (Active)

Windows Performance Script FAQ

What is the Ultimate Performance power plan?

It is a Windows power plan designed to prioritize performance by reducing power-saving behavior where supported.

Why does the script need administrator access?

Power plans are system-level settings. The script uses powercfg, so Windows requires administrator permission.

Does it work on Windows 11?

Yes, the script is written for Windows 10 version 1709 or newer and Windows 11.

Why does it remove Balanced, Power Saver, and High Performance?

It removes them because Windows can show one selected plan after restart while behaving like another. Keeping only Ultimate Performance makes the active behavior clear and consistent.

Technical Details

The script uses Windows powercfg command-line utility to manage power plans. Key commands used:

# List all power schemes powercfg /list # Duplicate a power scheme powercfg /duplicatescheme SCHEME_GUID NEW_NAME # Set active power scheme powercfg /setactive SCHEME_GUID # Delete a power scheme powercfg /delete SCHEME_GUID

The script intentionally leaves Ultimate Performance as the only active/visible plan. This avoids a Windows power-plan bug where the selected plan can appear correct after restart while the system behaves like another plan.

Safety & Compatibility

Compatible Systems

  • Windows 10 (Version 1709 and newer)
  • Windows 11 (All versions)
  • Both 64-bit and 32-bit architectures

Safety Features

  • Automatic admin rights verification
  • Uses standard Windows powercfg commands
  • Deletes other plans on purpose so Ultimate Performance remains the only selectable plan
  • Shows the final power scheme list after cleanup

Restoration

If you need the default Windows plans back, run powercfg -restoredefaultschemes in an administrator Command Prompt, then choose the power plan you want.