Speed up Windows 10/11 performance with these 9 commands (2024)

Commands with immediate effect: In this guide we reveal practical run dialog commands that speed up and clean up your operating system – automatically and (almost) free of mouse clicks.

Tuning tools included in Windows, sometimes hidden, help when the PC is stalling: they can be accessed by searching for their name in the start menu, or alternatively using the Run, CMD or PowerShell command.Some examples: With magnetic hard drives, it is advisable to defragment them from time to time:

You can do this using dfrgui.exe.You can also help old PCs to turbo by deactivating graphical effects (systemPropertiesPerformance.exe).taskmgr.exe loads the task manager and, since Windows 8, has allowed you to clean up the autostart – more effective free tuning is usually not possible (under Windows 7, the autostart was optimized using msconfig.exe).The commands mentioned have in common,

Note: We tested the following lightning tips for more speed with Windows 7, Windows 8.1, Windows 10 and Windows 11.Windows 7 and 8.1 are included because the tuning tricks also work here.Although Windows 7 has not received any updates since 2020 and Windows 8.1 will get it at the beginning of 2023, we also document what works there for older OSes.

Speed up ​​commands for Windows 10 & 11 that work immediately

Speed up Windows 10/11 performance with these 9 commands (1)

Below we will introduce you to some time-saving tuning commands – optimized tuning, so to speak: Type in the command, wait and enjoy more speed.First open the Run dialog with theWindowskeyandR.Depending on where there is a problem, a specific command releases the brake – little or no clicks are required.

1. Run autostarts immediately

Problem:Windows 8.1, 10, and 11 wait 10 seconds or more before starting to run startup programs;Windows 7 loads them immediately.

Solve the problem:You can achieve behavior comparable to Windows 7 via a registry intervention; aguidedescribes the procedure.You save yourself the hassle of fiddling with the registry editor.Just type or paste:

cmd /k reg.exe add HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Serialize /v StartupDelayInMSec /t reg_dword /d 0x0 /f & exit

Explanation/Note:The tip above is a (!) command, so copy the entire bold text block to the clipboard and put it in the Run dialog.Similarly, the commands mentioned below are one-liners; in this article they appear on several lines because of a break.Now what exactly does the above command do?

cmdcalls the command line, the/kparameter allows executing a command line command (if cmd.exe loads indirectly via the run dialog).reg.exe and the parameters behind it create a subkey “Serialize” in the registry under “HKEY_CURRENT_USER” in the area “Software\Microsoft\Windows\CurrentVersion\Explorer” – and in it the DWORD entry “StartupDelayInMSec”, whose value is 0.

The entry defines the waiting time in milliseconds for the autostart charging to begin.By default, neither the “Serialize” key nor the DWORD entry mentioned exists in the registry;However, current OSs wait at least ten seconds ex works until they load autostarts.

2. End hanging programs

Problem:Sometimes programs hang.They still use up RAM, but are no longer usable.

Solve the problem:One command ends any problem applications in one go:

taskkill /F /FI “STATUS eq NOT RESPONDING”

Explanation/Note:This does not work with all programs.If closing a software using the context menu of its taskbar icon doesn’t work, taskkill is worth a try;Programs that run smoothly remain loaded.

3. Shut down performance-hungry browsers

Problem:Browsers are almost all-rounders, which is reflected in their RAM consumption.Multiple instances of Firefox & Co. often require hundreds of megabytes.This is especially true for 64-bit browsers, which tend to be resource hungry.

Solve the problem:Use the Run dialog to call up the taskkill command line tool, which closes all instances of an EXE file to be specified – or terminates the corresponding RAM processes.The routine skips programs that are not loaded – but Windows deletes what is running in browsers:

taskkill /f /im firefox.exe /im chrome.exe /im iexplore.exe /im opera.exe

Explanation/Note:The command kills Firefox, Chrome, Internet Explorer (IE) and Opera.The /f parameter stands for “force” – and forces the termination.Enforcing has the advantage of suppressing possible “Are you sure” queries;Programs like IE or Opera warn when closing if several tabs in each browser would disappear (and the editor asks if the user wants to save changes when text is typed).If you do not want to terminate one of the specified programs, remove the corresponding part ”/im <browser name>.exe” from the command above.

If you wish, you can extend the command to include other software to be terminated according to the scheme/im <program name>.exe.Programs that are not listed continue to run despite the “RAM cleaning”.If one of the browsers is not running in the example, that means no side effects.If you like, you can save such command lines inbatch filesand name them appropriately;For example, the scripts are well stored on the desktop.You can use it to specifically fire off a series of programs that are currently disruptive by double-clicking – one batch file would be conceivable for each software genre.

4. Restart explorer.exe

Problem:Windows runs unstable and unreliable – this is purely subjective and can hardly be measured.

The file manager (Explorer) loads slowly; under Windows 8.1, the charms bardoes not appear when you swivel the mouse pointer on the right edge of the screen.By the way, the bar no longer exists since Windows 10.

Solve problem:Restart the explorer.exe process.This is quicker than using the task manager (especially under Windows 7, which, unlike its successors, does not yet offer a restart option for this):

cmd /k taskkill /IM explorer.exe /F & start explorer.exe & exit

Explanation/Note:The command terminates explorer.exe and restarts it under a different process ID number (PID).The desktop icons disappear briefly when you restart Explorer, don’t be alarmed.

5. Empty clipboard

Problem:The Windows clipboard records paths of files and folders as well as text.A tool fromGlary Utilitiesshows that the RAM is used – and how much.Although clipboard data is unlikely to reduce PC performance, you may want to get rid of legacy clipboard data to improve your privacy.

Solve the problem:If you copy something else to the clipboard, Windows will overwrite the old data record.For example, you can delete sensitive passwords in RAM.To do this, press the Print-S-Delete key for a screenshot.However, you can’t create the cache blankly – but you can almost do so using the Run dialog command:

cmd /c echo off |clip

Explanation/Note:The command saves time, especially because it saves you having to log out/log in of the user account or restart Windows.

6. Restart Windows

Problem:Restarting explorer.exe does not help Windows to (sufficiently) increase speed or stability.

Solve the problem:Restarting Windows clears up the RAM more effectively and completes any pending Windows update installations, possible via

shutdown -r -t 01

Explanation/Note:The number serves asa parameterand defines the number of seconds that Windows waits before rebooting.If desired, replace the parameter with another value.

7. Reset Windows

Problem:Have all of the acceleration measures you have tried so far failed to achieve their goal or are they taking too long?You do not have a Windows setup DVD, a setup stick or a Windows ISO image that you could use to reinstall the operating system.

Solve the problem:You can reset Windows 8.1, 10 and 11 using an easy-to-remember command:

systemreset

Problems with the Windows Store app promise to be solved by a reset usingwsreset.

Explanation/Note:Follow the on-screen instructions when resetting Windows.Before performing system reset, you should make sure to create a backup to be on the safe side.The commands don’t work under Windows 7 – which, for example, is due to the fact that there is no such source of software for apps in the Store.

8. Start programs with more performance

Problem:When you start a program, it usually loads with the process priority “Normal”.It is allocated an amount of processor resources that keeps it in line with other programs.The applications receive equal computing power and work on up to all processor cores.However, important programs that are supposed to complete their task quickly do not run as quickly as possible due to this standard priority.

Solve problem:Start a program that requires high performance with a custom process priority.The following commands load the editor (notepad.exe) with “high” and “real-time” priority:

cmd /k start /high “crome” notepad & exitcmd /k start /realtime “crome” notepad & exit

Explanation/Note:Replace thenotepadcommand part with a program path if you want to start another program – the editor only serves as an example here and certainly does not need a lot of resources.The real-time parameter for the highest priority, real-time, only works if you start the desired software as an administrator – or execute the command accordingly.

You put the first command in the Run dialog, the second in the Start menu 7/8.1 start menu/tile search field for the administrator start (equivalently in the Admin start for a current Windows 10 and for Windows11 -enabled Run dialog) – and press Ctrl-Shift-Enter.If you were to issue the second command via the Run dialog and [Enter], Windows would downgrade the priority of the specified program to “High” – “only” the second highest priority.

9. Remove junk data from Windows

Problem:Garbage data from Windows doesn’t paralyze the PC, but it clogs the hard drive or SSD.

Solve theproblem:Disk Cleanup(cleanmgr.exe) removes unnecessary data – if you expand cleanmgr with a parameter, even without asking:cleanmgr /verylowdisk

The tool doesn’t clean up much using the /verylowdisk switch.It is better if you usecleanmgr /lowdisk(all the boxes for cleaning the disk are already set – you just confirm).

Speed up Windows 10/11 performance with these 9 commands (2024)
Top Articles
Latest Posts
Article information

Author: Terrell Hackett

Last Updated:

Views: 5860

Rating: 4.1 / 5 (52 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Terrell Hackett

Birthday: 1992-03-17

Address: Suite 453 459 Gibson Squares, East Adriane, AK 71925-5692

Phone: +21811810803470

Job: Chief Representative

Hobby: Board games, Rock climbing, Ghost hunting, Origami, Kabaddi, Mushroom hunting, Gaming

Introduction: My name is Terrell Hackett, I am a gleaming, brainy, courageous, helpful, healthy, cooperative, graceful person who loves writing and wants to share my knowledge and understanding with you.