Batch file to change power settings windows 10 I am making a program that boosts pc performance. Jun 12, 2015 · Is there a way to create batch file and place it on the desktop to change the power options in Windows 7? Specifically I have the computer set to sleep after 30 minutes. Read: How to set Hard Disk Timeout using PowerCFG command line in Windows. Jun 28, 2018 · Below is a batch script that will emulate the keyboard strokes to manipulate the GUI to adjust the Scale and layout options and Change the size or text, apps, and other items when it runs. Specifically I want to change this: To these settings: I am using a desktop computer on alternating current power, Oct 25, 2021 · > How to Change Power Plan Settings in Windows 10 > How to Choose a Power Plan Scheme in Windows 10 > How to Change Power Mode Level in Windows 10 > How to Specify a Default Active Power Plan in Windows 10 Also, have a look at the Related Tutorials at the BOTTOM of the above Tutorials [ there are a few ], as they may also be related. Tip (Windows) - Create a batch file that sets high power plan then launches Bitwig I run a recent build I7 13700 that needs to be set to run at fixed max clock and not trying to constantly idle and save power to get smooth performance in Bitwig. Feb 15, 2025 · PeakFrames is an open-source, powerful batch script designed to optimize the performance and efficiency of Windows 10 and 11. I need this to work alongside (before or after) a high performance default setting that not only defaults the settings to high performance, but also prevents users from Dec 2, 2024 · To create a batch file on Windows 11, open Windows Search (press Windows+S), type Notepad, and launch the app. bat file as Administrator and instantly get maximum performance 🚀 or optimized battery life 🔋. Power plans can help you save energy, maximize system performance, or achieve a balance between the two. unhidepowersettings is a command (batch) file (script) that removes the "hidden" attribute (if any) from all registered Power Plan settings 3. The command to switch to a specific plan requires the GUID, but you would do for example powercfg /setactive 381b4222-f694-41f0-9685-ff5bb260df2e to switch to the plan with that GUID. No restart required. Copy and paste the code into a new text document. May 17, 2019 · What means are there to access and change hidden power and processor options in Windows 10? A way to find information on hidden globally unique identifier (GUID) power and processor options. In this tutorial, we look at how to make changes to your current Power Plan. Apr 22, 2020 · How to Change Power Plan Settings in Windows 10 A power plan is a collection of hardware and system settings that manages how your computer uses power. You would have to parse the output of powercfg /l from a Command Prompt or your program then issue the command shown for the GUID of the active Power Plan. Whether you’re looking to remove unnecessary bloat, enhance CPU/GPU performance, or optimize power and memory usage Feb 29, 2020 · Was wondering if there’s a way to set the Windows preferences I like a customer to have with a single file that runs a number of commands. cpl "Power Options" directly through registry. OS! Here are a few examples, or a solution, how you can easily use this on Windows 12, 11, 10, and MS Server OS! Jul 8, 2010 · By default, some (and even many) Windows Power Plan settings are hidden to prevent a typical, unqualified user from being confused in a large number of incomprehensible items. Can be used on PC as well. I can only assume this will be easy for you guys, but i am more or less a beginner. In the window of additional parameters, you can set the shutdown time for different devices, enable and disable various features, specify actions when closing the laptop lid and pressing the power buttons, and so on. Jun 23, 2018 · There are commands to control the power settings under Windows, it makes sense if you want to change them by batch file on Windows 12, 11, 10, etc. vbs file (i. Aug 12, 2016 · I found a list with all Windows command. Some advanced tweaking methods may require exporting a reg file for specific kernel values, if they don't fall under a normal plan. 1MB mp4) Windows 10 64-bit visual basic script using SendKeys to change display scale and resolution, open app, and restore scale and resolution when app closes. Dec 15, 2021 · You can use the powercfg. Oct 6, 2019 · Here is a Windows 10 64-bit visual basic script and Powershell 5 script. Restart Mar 20, 2020 · When not plugged into the monitor, I prefer that the computer sleeps when the lid is closed. There are a few ways Jan 4, 2022 · In this guide, I explain three methods to modify the Power settings on a Windows 10 PC. Jun 30, 2024 · Power Configuration or powercfg. exe is a command-line tool in Windows that allows you to configure power system settings on a Windows 11/10 PC. exe tool to control power schemes (also named power plans) to use the available sleep states, to control the power states of individual devices, and to analyze the system for common energy-efficiency and battery-life problems. Use this instead of some incomplete PowerCfg commands or old . ChangeDisplay. The required settings are : In PowerCFG Aug 14, 2018 · Hi, I’m struggling to create a script that will change all the power settings the way I want it on a Windows 10 machine The goal is to set lid action to ‘do nothing’ and to ‘never’ sleep on both battery and adapter. For example, before running a long, CPU-intensive process like rendering a video or compiling code, you would switch to the "High performance" plan. Take control of your files now! Jan 13, 2025 · On Windows 11, you can power off a computer automatically at a specific time using PowerShell, Command Prompt, Run, shortcut, batch file, and Task Scheduler, and in this guide, I'll explain all May 12, 2022 · On Windows 10/11, change system settings via command line (either PowerShell or CMD) without opening Settings Ask Question Asked 3 years, 6 months ago Modified 3 years, 6 months ago Dec 22, 2019 · Is it possible to toggle between balanced and high performance power plan using a batch file ? powercfg -s 381b4222-f694-41f0-9685-ff5bb260df2e and powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c When set to balanced, toggle to high performance and when set to high performance, toggle to balance Jan 17, 2022 · You can import it with the GUID that was created when you first made the profile. Jun 3, 2019 · How can I change the Windows Display settings refresh rate from 59 to 60? I cannot find anything on how to accomplish this through PowerShell or a Batch script. when Oct 26, 2019 · I change three settings alot: when the disk turns off, when the display turns off, and when to sleep. There should be an easier way? Is there a small tool I can use to do what I'm doing in less no. Dec 17, 2015 · I have a requirement that enable autosleep in batch file. Therefore, since you know the GUID ahead of time, you can script it in a batch file. OS! Here are a few examples, or a solution, how you can easily use this on Windows 12, 11, 10, and MS Server OS! Jun 29, 2023 · Windows 10 provides default power plans as well as the hidden Ultimate performance plan. Jan 22, 2021 · I want to change powercfg. e. This concludes the two methods to change the screen’s brightness level on a Windows computer using the command line. All users (standard and administrator) will be able to make changes to any power plan settings. You can change bewteen different modes. Tested and works fine on Win 10 & 11. Nov 12, 2025 · Unlock every Power Plan Scheme/Setting on Windows 10/11. I hope Aug 19, 2021 · But each power plan offers more options of changing additional power settings that exposed in the UI. reg files as this script works even for newer/unknown settings: It will look up the PowerSettings registry hive and add or change a value (Attributes = 2) to reveal it. It would be very nice if this can be done without 3rd-party tools. Simple Batch Script designed to make it easier to change the power plan of laptops power scheme from high/power-saving and balanced with one click if necessary. I'd like to change what the power button does as well as changing what closing the lid does. Make two batch files, one for each power plan, and toggle as needed. 📜 Description Windows-Power-Plan-Toolkit is a set of three Windows batch scripts 💻⚡ that let you instantly create, switch, and restore custom power plans. Feb 5, 2025 · On Windows 11, you can use the PowerCFG tool to control the power settings from Command Prompt, and in thig guide, I'll show you how. Power scheme to be changed to ‘High Performance’ powercfg -setactive 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c powercfg -setacvalueindex SCHEME_CURRENT 4f971e89-eebd-4455 I would like to know how to change the power plan in Windows 7 to high performance using a batch file. Can someone help me on how to create a batch file that makes the power plan Switch to whatever powerplan i want it to switch to when a certain condition is met (e. Prompt the user to set a node name. It includes a wide range of optimizations and tweaks that aim to improve system responsiveness, gaming performance, and overall user experience. to edit this batch for your machine, copy the registry address of the power setting you want and replace the example registry address in the batch file. Mar 8, 2021 · Quickly switching your power plan/scheme on Windows 10 In response to my recent Windows 10 Audio Workstation Tweak Guide, I was asked about switching power plans on the fly. Commands Like: start ms-settings: Jun 23, 2018 · There are commands to control the power settings under Windows, it makes sense if you want to change them by batch file on Windows 12, 11, 10, etc. It is especially useful for laptops that run on Mar 25, 2025 · Learn how to adjust power settings in Windows 10 with our step-by-step guide to optimize performance and energy efficiency on your PC. This power plan allows hardware to consume all the power it needs and disables power-saving features to improve performance. Dec 21, 2019 · Is it possible to toggle between balanced and high performance power plan using a batch file ? powercfg -s 381b4222-f694-41f0-9685-ff5bb260df2e and powercfg -s 8c5e7fda-e8bf-4a96-9a85-a6e23a8c635c When set to balanced, toggle to high performance and when set to high performance, toggle to balanced. powercfg /change and a batch file could not make it any easier. Jun 6, 2022 · The Ultimate Performance power policy is currently not available on battery powered systems. Jan 24, 2019 · Powershell is incredibly powerful and will allow you automate most if not all of your your configuration. Read the three methods now. I can open these commands in cmd when i place "start" in front of them. Without creating 2 differents batch files. This can be useful if you use a laptop and want to maximize battery life (or simply minimize your energy usage) when doing normal work, but then have max performance available when working in your DAW. Requirements Jun 23, 2018 · There are commands to control the power settings under Windows, it makes sense if you want to change them by batch file on Windows 12, 11, 10, etc. After the batch file is finshed, go back into the settings and put them back to whatever they were set to. I found this powershell script that Mar 13, 2024 · Want to quickly change the power plan on your laptop or computer? Use the PowerCFG command line tool to do it quickly in Windows 11/10. Feb 24, 2020 · @Mark For the power scheme advanced settings, rather than changing any of those I need to change the power profile itself, as my laptop seems to only activate the discrete GPU in high-performance mode. Aug 10, 2023 · Two efficient ways to change the Windows 10 or 11 Sleep Settings Using in Built Windows Settings Using Powershell and/or Batch Script Windows Settings to Turn Off the Sleep and Keep your laptop awake Step 1: Navigate to Settings in Windows Step 2: Search for Power and Battery Step 3: Navigate to Power and Battery Settings Step 4: Change the Options Aug 5, 2022 · In this guide, we'll show you the steps to get started creating and running your first batch file to automate tasks with Command Prompt commands on Windows 10. Type the commands you want your file to have. Customize a working PC with your choice of Power Plan modding tools, and export the desired power plan. How much you can automate depends on how complicated a powershell script your prepared to write / copy-n-paste from stack overflow ;-) I agree with Hans that the "proper" way to handle this is to create a "golden image" - then deploy that image to each machine - but there is a learning I am looking for how to make several changes in windows control panel settings on a computer running Windows 7, by using a batch file (without powershell). OS! Here are a few examples, or a solution, how you can easily use this on Windows 12, 11, 10, and MS Server OS! Feb 9, 2025 · Use PowerCFG command line to change the Power configuration for performance in Windows 11/10. For an advanced user, these setting items may be useful to fine-tune the system. Show all icons on the taskbar. Install a set of MSI files. May 5, 2017 · Due to the transition to Windows 10, I would like to automate that and use a batch or PowerShell script to set them. Forget about digging through endless Windows settings — just run a . Dec 14, 2020 · Batch file or tool like powertoy to change the resolution or scale of windows with the press of 1 button? Aug 15, 2015 · I upgraded to Windows 10 last week and now I've to dig deeper to get there. (1. Additionally, you can edit whether battery saver is enabled by changing the numerical value after the last statement in the batch file. Jan 23, 2024 · Im attempting to change power plan settings on a windows 11 machine. Jul 17, 2024 · The usual method for adding a custom power profile to a Windows ISO, is by using an exported power plan. May 15, 2023 · WmiSetBrightness (1, XXX) Change screen brightness from PowerShell Running the command in the image above will change the screen’s brightness level to 55 percent. Commands like: ms-settings:batterysaver-settings. Some of the tasks include: Hide the Cortana and inkspace on the taskbar. OS! Here are a few examples, or a solution, how you can easily use this on Windows 12, 11, 10, and MS Server OS! I switch powerplans often depending on my use or inactivity, but its annoying to go into settings every time - so I made a batch script. Feb 9, 2025 · It would be best to create a batch file and execute it with admin permission every time you need to change it. Of course I could go into the network settings: Settings - Network & Internet - Status (should be selected by default) - Change adapter options - right-click the correct "Ethernet" item - Properties - Click on IPv4 - Properties and change it by hand every time but I'm wondering: Is there a faster way, maybe by using two batch files? Nov 5, 2025 · Change file types in Windows 11! Rename files, use conversion software, and adjust settings. Show all desktop icons. Just paste in an elevated PowerShell. It will press Alt+F4 at the end keys to Nov 11, 2016 · See Shawn's tutorial, Option 3 via Command Prompt: Power Button Default Action - Change in Windows 10 - Windows 10 Forums. Then run the batch file, and check that the settings change to what you want. . Thank you for any assistance. Set a screensaver, timeout, and power / sleep options. g. Is there an easy way to change these settings through a batch script? It doesn't have to be a toggle; could have one script to change to "Do Nothing" and one to change to "Sleep". The following sections have some useful commands that you can use to automate your tasks. Dec 12, 2016 · Manually “mess up” the settings on the “balanced” power plan - change the values to something different than you want. vbs Nov 28, 2017 · I need a complete batch file, (you can send the lines, I can create the file if that is better) that will make the computer do nothing (you know, like under power options on control panel) whenever the power button is pushed. A Windows power plan is a collection of hardware and system settings that manages how your computer uses power. of steps? Click battery icon in task-bar --> power and sleep settings Then additional power settings Switch power plan Mar 30, 2018 · How can I use either CMD or PowerShell to change the display language only, for all users in a Windows 10 Pro? I would rather avoid using any external ps1 file or batch file. ScreenCapture of the VBscript in action. Oct 16, 2015 · Hello , i wanted to change my Power settings to high performance when launching a game, i don't want to use gameboosters. Aug 21, 2023 · The Ultimate Performance power plan in Windows 10 is designed to optimize high-power systems and reduce micro-latencies associated with power management. This tutorial will show you how to restore the Balanced, High performance, Power saver, or Ultimate Performance default power plan if missing in Windows 10. Save it as a . I also wanted to have a crack at batch scripting to just automate some basic tasks, as i really haven't tried batch before, and said why not. Jun 5, 2014 · I am using PDQ Deploy and want to change all our laptops (almost all Windows 7, maybe a couple Windows xp hanging around) so the Power options → choose what closing the lid does → is set to “Do Nothing” for All users. you can also use it from the command line if you need to. Changes made to a power plan will affect Apr 24, 2023 · How to retrieve missing High Performance plan in Windows 10 There are some pretty easy ways to retrieve the absent High Performance plan. Nov 14, 2025 · One way around this is to go to Settings > Power & battery > Screen, sleep, & hibernate timeouts and set the timers that control these things to either "Never" or to at least a time longer than the batch file is expected to run. 1. This uses ms-settings:display to open the Display screen, and then it presses the tab key once and the up arrow 5 times using sendkeys to adjust the scale accordingly. The reason is i want to autosleep my computer after getting off work, but disable autosleep when i'm on duty This script, and the identical commands within powercfg, change this Sub Group within Power Options >> Advanced Settings to Do Nothing (or Sleep, or Hibernate, or whatever option number from 0 - 3 that you set), but within the actual Control Panel settings for Change what the power buttons do and Change what closing the lid does are unaffected. Scripts often need to change the power plan to optimize for a specific task. hte jsblsm tzcvptjx twut zdwbv ddug fboetm gzmzm rzvnrd qsk stybali hxhue hfkgb wblr clhmm