How To Make Windows 7 Faster Using Cmd

If you’re still using Windows 7 and you want to optimize your system for better performance, this guide is for you. In this blog post, we will discuss how to make Windows 7 faster using Command Prompt (CMD). Follow these simple steps to speed up your Windows 7 machine and enhance its performance.

1. Clean up your disk using Disk Cleanup

Disk Cleanup is a built-in utility in Windows that helps you remove unnecessary files such as temporary files, system files, and thumbnails. By using CMD, you can run Disk Cleanup for all users on your system to free up space and improve performance. To do this, follow the steps below:

  1. Click on the Start button, type cmd in the search box, right-click on Command Prompt, and select Run as administrator.
  2. Type the following command in the Command Prompt window and press Enter:
    cleanmgr /sageset:1
  3. This will open the Disk Cleanup Settings window. Check the boxes next to the file types you want to delete, and click OK.
  4. Now, run the command:
    cleanmgr /sagerun:1
    This will start the Disk Cleanup process.

2. Disable unnecessary startup programs

Some programs start automatically when you boot up your computer, which can slow down your system. You can disable unnecessary startup programs using CMD. Here’s how:

  1. Open Command Prompt with administrator rights, as described in the first step.
  2. Type the following command and press Enter:
    wmic startup get caption, command
    This will display a list of all startup programs.
  3. Identify the programs you want to disable and note their caption (name) and command (file path).
  4. Type the following command to disable a startup program:
    wmic startup where “caption=’ProgramName‘ and command=’FilePath‘” call disable
    Replace ProgramName and FilePath with the actual name and file path of the program you want to disable.

3. Optimize your hard drive

Defragmenting and optimizing your hard drive can help improve your system’s performance. You can perform this task using CMD. Here’s how:

  1. Open Command Prompt as an administrator.
  2. Type the following command and press Enter:
    defrag C: /U /V
    This command will defragment and optimize the C drive, which is usually where Windows is installed. The /U option displays the progress and the /V option provides a detailed report after the operation completes.

4. Enable Write Caching

Write caching can improve your system’s performance by allowing your computer to collect multiple write commands and perform them at once. You can enable it through CMD:

  1. Open Command Prompt as an administrator.
  2. Type the following command and press Enter:
        fsutil behavior set memoryusage 2

    This command sets the memory usage for write caching to 2, which means it will use more memory for caching.

  3. Restart your computer for the changes to take effect.


Making Windows 7 faster using CMD is a simple and effective way to optimize your system. By following the steps above, you can clean up your disk, disable unnecessary startup programs, optimize your hard drive, and enable write caching to improve your computer’s performance. However, keep in mind that upgrading to a newer version of Windows, like Windows 10 or 11, will provide even better performance and additional features.