{"id":27044007,"url":"https://github.com/slothy-tech/windows-power-plan-switcher","last_synced_at":"2025-04-09T18:32:48.068Z","repository":{"id":286025258,"uuid":"960129085","full_name":"Slothy-Tech/windows-power-plan-switcher","owner":"Slothy-Tech","description":"Switch power plans on Windows quickly.","archived":false,"fork":false,"pushed_at":"2025-04-03T22:59:22.000Z","size":0,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-04-03T23:23:04.390Z","etag":null,"topics":["switch-power-plan-windows","ultimate-power-plan","windows-10","windows-11","windows-extreme-power-plan","windows-power-management","windows-power-plan"],"latest_commit_sha":null,"homepage":"","language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Slothy-Tech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-04-03T22:54:50.000Z","updated_at":"2025-04-03T23:02:33.000Z","dependencies_parsed_at":"2025-04-03T23:23:06.892Z","dependency_job_id":"1151b0c1-3ce9-4e3f-b570-7331877542ae","html_url":"https://github.com/Slothy-Tech/windows-power-plan-switcher","commit_stats":null,"previous_names":["slothy-tech/windows-power-plan-switcher"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slothy-Tech%2Fwindows-power-plan-switcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slothy-Tech%2Fwindows-power-plan-switcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slothy-Tech%2Fwindows-power-plan-switcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slothy-Tech%2Fwindows-power-plan-switcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Slothy-Tech","download_url":"https://codeload.github.com/Slothy-Tech/windows-power-plan-switcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248087985,"owners_count":21045624,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["switch-power-plan-windows","ultimate-power-plan","windows-10","windows-11","windows-extreme-power-plan","windows-power-management","windows-power-plan"],"created_at":"2025-04-05T05:17:51.163Z","updated_at":"2025-04-09T18:32:48.050Z","avatar_url":"https://github.com/Slothy-Tech.png","language":"Batchfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1\u003eWindows Power Plan Switcher: A simple tool to switch power plans easily\u003c/h1\u003e\n\n\u003cp\u003eWelcome to \u003cstrong\u003eWindows Power Plan Switcher\u003c/strong\u003e, an open-source \u003cstrong\u003eCMD script\u003c/strong\u003e designed to help you \u003cstrong\u003eoptimize PC performance\u003c/strong\u003e, \u003cstrong\u003emanage power settings\u003c/strong\u003e, and \u003cstrong\u003eswitch power plans\u003c/strong\u003e effortlessly. Tired of navigating through Control Panel to toggle between \"High Performance\" for gaming or \"Power Saver\" for battery life? This script simplifies it all. With a double-click, you can view and activate any power plan on your Windows system—making it a must-have \u003cstrong\u003epower management tool\u003c/strong\u003e for gamers, professionals, and everyday users.\u003c/p\u003e\n\n\u003cp\u003eThis README covers everything you need to know about the script, including what it does, how to use it step-by-step, and how to troubleshoot any issues. Let’s dive in and take charge of your Windows power settings!\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e🚀 What Does Windows Power Plan Switcher Do?\u003c/h2\u003e\n\n\u003cp\u003eThe \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e script leverages the built-in \u003ccode\u003epowercfg\u003c/code\u003e utility to automate \u003cstrong\u003eswitching between power plans\u003c/strong\u003e on your Windows PC. It lists all available power plans—such as \"Balanced,\" \"High Performance,\" and \"Power Saver\"—and lets you select one by number to set as active. This streamlines power management, allowing you to:\u003c/p\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eEnhance Performance\u003c/strong\u003e: Switch to \"High Performance\" for demanding tasks like gaming or video editing.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eConserve Energy\u003c/strong\u003e: Activate \"Power Saver\" to extend battery life on laptops.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eAdapt Quickly\u003c/strong\u003e: Adjust your PC’s power settings instantly to match your needs.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003eWith this \u003cstrong\u003eWindows power management script\u003c/strong\u003e, you can optimize your system without the hassle of manual configuration, saving time and boosting efficiency.\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e🌟 Key Features\u003c/h2\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eInteractive Menu\u003c/strong\u003e: Displays all power plans with numbered options for easy selection.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eDynamic Listing\u003c/strong\u003e: Includes both default and custom power plans available on your system.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eLightweight\u003c/strong\u003e: No installation needed—just double-click to run.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFast Execution\u003c/strong\u003e: Switches plans instantly using native Windows tools.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eUser-Friendly\u003c/strong\u003e: Requires no technical expertise to manage power settings.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e🛠️ How to Use Windows Power Plan Switcher: Step-by-Step Instructions\u003c/h2\u003e\n\n\u003cp\u003eGetting started with \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e is a breeze. Follow these clear steps to \u003cstrong\u003eswitch power plans\u003c/strong\u003e and \u003cstrong\u003eoptimize your PC\u003c/strong\u003e:\u003c/p\u003e\n\n\u003ch3\u003eStep 1: Obtain the Script\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eCopy the script code provided in this project.\u003c/li\u003e\n  \u003cli\u003eSave it as \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e using a text editor like Notepad.\u003c/li\u003e\n  \u003cli\u003ePlace it in a convenient location, such as your Desktop or a Scripts folder.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eStep 2: Run the Script\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eDouble-click \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e to launch it.\u003c/li\u003e\n  \u003cli\u003e\u003cem\u003eNote\u003c/em\u003e: Administrative privileges aren’t usually required, but if you face issues, right-click and select \u003cstrong\u003e\"Run as administrator\"\u003c/strong\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eStep 3: Select a Power Plan\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eWhen the script runs, it shows a menu of all available power plans, like this:\u003c/li\u003e\n\u003c/ul\u003e\n\u003cpre\u003e\nAvailable power plans:\n1. Balanced\n2. High Performance\n3. Power Saver\nEnter the number of the plan to activate:\n\u003c/pre\u003e\n\u003cul\u003e\n  \u003cli\u003eType the number corresponding to your desired plan (e.g., \u003ccode\u003e2\u003c/code\u003e for \"High Performance\") and press \u003cstrong\u003eEnter\u003c/strong\u003e.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eStep 4: Confirm the Change\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003eThe script sets the chosen plan as active and confirms it, e.g., \"Power plan set to High Performance.\"\u003c/li\u003e\n  \u003cli\u003ePress any key to close the window when prompted.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003eExample Interaction\u003c/h3\u003e\n\u003cp\u003eHere’s what you might see:\u003c/p\u003e\n\u003cpre\u003e\nAvailable power plans:\n1. Balanced\n2. High Performance\n3. Power Saver\nEnter the number of the plan to activate: 2\nPower plan set to High Performance\nPress any key to continue . . .\n\u003c/pre\u003e\n\u003cp\u003eYour PC is now optimized with the selected power plan!\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e🔧 Troubleshooting: Fixing Common Issues\u003c/h2\u003e\n\n\u003cp\u003eWhile \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e is built for simplicity, you might encounter minor hiccups. Here’s how to fix them:\u003c/p\u003e\n\n\u003ch3\u003e1. No Power Plans Displayed\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eProblem\u003c/strong\u003e: The menu is empty or shows no options.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFix\u003c/strong\u003e: Open Command Prompt and run \u003ccode\u003epowercfg /list\u003c/code\u003e to verify power plans exist. If none appear, create one with \u003ccode\u003epowercfg /duplicatescheme 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c\u003c/code\u003e (High Performance) and retry.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003e2. Script Closes Too Quickly\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eProblem\u003c/strong\u003e: The window opens and shuts immediately.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFix\u003c/strong\u003e: Launch Command Prompt, drag the script into it, and press Enter to see any errors. Ensure the script syntax is correct.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003e3. \"Access Denied\" Error\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eProblem\u003c/strong\u003e: The script fails to change plans due to permissions.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFix\u003c/strong\u003e: Right-click and select \u003cstrong\u003e\"Run as administrator\"\u003c/strong\u003e. This is rare but may happen on locked-down systems.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003e4. Invalid Choice Error\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eProblem\u003c/strong\u003e: Entering a number results in \"Invalid choice.\"\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFix\u003c/strong\u003e: Confirm you entered a valid number within the displayed range (e.g., 1-3 for three plans). Retype and press Enter carefully.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003ch3\u003e5. Plan Doesn’t Switch\u003c/h3\u003e\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eProblem\u003c/strong\u003e: Confirmation appears, but the plan doesn’t change.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eFix\u003c/strong\u003e: Check Control Panel \u003e Power Options to verify. Rerun as administrator or ensure no group policies restrict power settings.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003eFor more help, search online forums for Windows power management tips.\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e⚠️ Important Usage Notes\u003c/h2\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eSystem Compatibility\u003c/strong\u003e: Works on Windows 7, 8, 10, and 11 with \u003ccode\u003epowercfg\u003c/code\u003e (included by default).\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003ePermissions\u003c/strong\u003e: Usually runs without admin rights, but use elevated mode if needed.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eCustom Plans\u003c/strong\u003e: Supports all power plans, including user-defined ones.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e💡 Why Switch Power Plans?\u003c/h2\u003e\n\n\u003cp\u003ePower plans dictate how your PC balances performance and energy use. Using \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e offers these advantages:\u003c/p\u003e\n\n\u003cul\u003e\n  \u003cli\u003e\u003cstrong\u003eMaximize Gaming\u003c/strong\u003e: \"High Performance\" unleashes full CPU and GPU power for smoother gameplay.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eExtend Battery\u003c/strong\u003e: \"Power Saver\" minimizes energy use for longer laptop sessions.\u003c/li\u003e\n  \u003cli\u003e\u003cstrong\u003eInstant Flexibility\u003c/strong\u003e: Switch plans without navigating complex menus.\u003c/li\u003e\n\u003c/ul\u003e\n\n\u003cp\u003eThis \u003cstrong\u003epower management script\u003c/strong\u003e is perfect for anyone seeking to optimize their Windows PC quickly and efficiently.\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e🛠️ Customize the Script\u003c/h2\u003e\n\n\u003cp\u003eWant to tweak \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e? Here’s how to modify it:\u003c/p\u003e\n\n\u003col\u003e\n  \u003cli\u003eOpen the script in a text editor like Notepad.\u003c/li\u003e\n  \u003cli\u003eFor automatic switching, replace \u003ccode\u003eset /p CHOICE=...\u003c/code\u003e with a fixed value, e.g., \u003ccode\u003eset CHOICE=2\u003c/code\u003e, to always select \"High Performance.\"\u003c/li\u003e\n  \u003cli\u003eRemove \u003ccode\u003epause\u003c/code\u003e for silent execution:\u003c/li\u003e\n\u003c/ol\u003e\n\u003cpre\u003e\n@echo off\nsetlocal enabledelayedexpansion\necho Available power plans:\nset counter=0\nfor /f \"tokens=4,*\" %%a in ('powercfg /list ^| findstr /v \"Existing\"') do (\n    set /a counter+=1\n    set GUID!counter!=%%a\n    set NAME=%%b\n    set NAME=!NAME:~1,-1!\n    set NAME!counter!=!NAME!\n    echo !counter!. !NAME!\n)\nset CHOICE=2\nif defined GUID%CHOICE% (\n    powercfg /setactive !GUID%CHOICE%!\n    echo Power plan set to !NAME%CHOICE%!\n) else (\n    echo Invalid choice.\n)\n\u003c/pre\u003e\n\u003cp\u003eSave and run—it’ll switch to \"High Performance\" silently each time!\u003c/p\u003e\n\n\u003chr\u003e\n\n\u003ch2\u003e🎉 Get Started Today!\u003c/h2\u003e\n\n\u003cp\u003eReady to \u003cstrong\u003eoptimize your Windows PC\u003c/strong\u003e? Use \u003ccode\u003ewindows-power-plan-switcher.cmd\u003c/code\u003e now and enjoy seamless power plan management. It’s open-source—feel free to contribute, suggest improvements, or share feedback!\u003c/p\u003e\n\n\u003ca href=\"https://www.trustpilot.com/review/slothytech.com\"\u003e\u003cimg src=\"https://img.shields.io/badge/Download-Now-green\" alt=\"Download Now\"\u003e\u003c/a\u003e\n\n\u003chr\u003e\n\n\u003cp\u003e\u003cstrong\u003eCreated by SlothyTech\u003c/strong\u003e\u003cbr\u003e\u003cem\u003eYour go-to source for PC optimization and gaming guides.\u003c/em\u003e\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslothy-tech%2Fwindows-power-plan-switcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslothy-tech%2Fwindows-power-plan-switcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslothy-tech%2Fwindows-power-plan-switcher/lists"}