Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Facebook Twitter Instagram
Tech News Today
  • Hardware
    • Motherboards
    • CPUs
    • Graphic Cards
    • RAM
    • SSDs
    • Computer Cases
    • Monitors
    • Peripherals
    • Power Supply Unit
    • PC Builds
    • Computer Tips
  • Software
  • Operating System
    • Windows
    • Mac
    • Linux
  • Gaming
  • Mobile
  • Console
  • More
    • Internet
    • Networking
    • Security
    • Buyer’s Guide
    • Gadgets
    • Laptops
    • Reviews
    • How To
    • News
Tech News Today
Home»Windows»How to Defrag Windows 11?

How to Defrag Windows 11?

Bhishu AcharyaBy Bhishu AcharyaJanuary 13, 2023
how-to-defrag-windows-11

Defragmenting your hard drive is an important part of maintaining your Windows 11 computer’s performance. When we delete certain files on our computer, spaces are created in the disks. So, while installing new documents, these items are stored as fragments. This can slow down your computer and make it run less effectively. To deal with them, we need defragmentation.

To defrag in Windows 11, we do not require a third-party tool as it can be done from the in-built features. This section covers the basic techniques anyone can use to optimize their hard drives.

Disk Optimization on Windows Interface

There’s a special tool available on the Windows interface that lets you optimize your disk drives. You can follow these two simple steps to defrag in Windows 11:

Open Disk Fragmentation Tool

Well, there are three methods to open Disk Fragmentation tools. The first one is from system Settings:

  1. On your Settings window, select System and visit Storage.
    system-storage
  2. Scroll down and choose Advanced storage settings.
  3. Now, choose Drive optimization. This will take you to a dialogue box that helps optimize your drives.
    advanced-settings-drive-optimization

Another method to open the Disk Fragmentation tool is from a preferred drive’s properties. Here’s how to do it:

  1. Navigate to the drive you wish to defrag.
  2. Right-click on it and choose Properties.
    disk-properties
  3. Finally, select the Tools tab and click on the Optimize button. Well, this opens the same window you accessed earlier from Settings.
    tools-optimize

Alternatively, you can open the dialogue box from the Start Menu. To do so, simply search for Defragmenter or a relative keyword. Then, open the Defragment and Optimize Drives application.

Optimize Your Disk Drives

After successfully launching the defragmenter tool, you can now easily optimize your preferred hard disks. Follow this guide to defrag your hard drive:

  1. Firstly, select a drive or multiple drives in the Status window. Interestingly, you can even select the Advanced option to choose other drives from your PC.
    defrag-windows-interface
  2. If you select only one drive, click on Optimize. If you choose multiple disks, press Optimize all. 
  3. Now, wait for a few moments. This depends on the hard drive you’re using and the number of files that needs to get optimized. Once done, click on Close.

Well, there’s an option that lets you check whether your disk needs defragmentation or not. To do so, choose the Analyze option. However, this feature remains disabled by default if your drive doesn’t require optimization.

Disk Defragmentation on Command Prompt

Very few of us know that we can defrag using Command Prompt too. Follow these general commands to optimize your hard drives:

  1. At first, launch Command Prompt from Start Menu or Run.
  2. Then, type defrag [Your Drive Name]: and hit enter. This will take a few minutes to perform defragmentation. Once completed, you will receive both pre-optimization and post-optimization reports.
    defrag-cmd
  3. If you want to perform other actions, try defrag /? to view all the commands you can use. For example, typing defrag C: /a will invoke analysis on your C drive.

Create a Batch File to Defrag Your Hard Drive

Another technique to defrag an HDD is creating a batch file with a .bat extension. Go through the following steps to learn how to do it:

  1. Firstly, open Notepad.
  2. Now, copy and paste the code provided below:
    @echo off defrag.exe c: -f
  3. If you want to defrag multiple drives, simply use this code after the above one.
    defrag.exe [your drive name]: -f
    notepad-defrag
  4. Once done, save the file in .bat format.
    save-defrag-bat
  5. Now, launch the program you just created.
    run-program
  6. Then, wait for several minutes until disk defragmentation is completed on your PC. Once done, the process will close automatically.

Does Degramentation Help to Free Up Disk Space?

The defragmentation process is only for rearrangement of the unordered files or programs. So, it has nothing to do with disk space. Therefore, it’s safe to say that defragmentation doesn’t free up disk space.

But if you are looking for ways to free up your disk space, you can refer to this article.

How Can I Schedule Defragmentation on Windows?

Generally, Windows recommends you defrag your drives weekly. Nonetheless, you can change this setting from the defragmenter tool itself. 

Here’s how you can schedule defragmentation on Windows so that you do not need to do it yourself:

  1. Open the Defragmenter tool from the methods we explained above.
  2. Under Scheduled Optimization, select Change Settings.
    schedule-defrag
  3. Now, set the frequency to Daily, Weekly, or Monthly. Also, you can choose the drives you want to defrag automatically.
  4. Finally, press Ok to make the desired changes.
how-to
Bhishu Acharya
  • Twitter
  • LinkedIn

Bhishu Acharya is a technical content writer at TechNewsToday. He specializes in monitors, laptops, storage devices, and other peripherals. Apart from computer hardware, you can also find his how-to and troubleshooting articles on Windows, internet, security, and networking. Ever since getting his hands on a personal computer, Bhishu started exploring its internal components at just 10. His growing curiosity led him to undertake the Computer Science & Information Technology degree and is just a year away from graduation. While balancing his study and work life for over four years, he has harnessed different sets of technical skills. With his expertise, he is now dedicated to helping netizens looking for hardware and software-related fixes. Today, Bhishu’s proficiency extends beyond computer hardware. In his spare time, he enjoys coding and learning new programming languages. You can contact him at bhishu@technewstoday.com

Related Posts

boot loop

14 Ways to Fix Windows Boot Loop

March 19, 2023
how to change windows startup sound

How to Change Windows Startup Sound

March 17, 2023
scan disk windows 10

How to Scan Disk Windows

March 16, 2023
Shared GPU Memory

What is Shared GPU Memory? How is It Different From Dedicated VRAM?

March 12, 2023
firmware vs software

Firmware Vs Software – What’s the Difference?

March 8, 2023
update sound drivers

How to Update Sound Drivers on Windows

March 7, 2023
Add A Comment

Leave A Reply Cancel Reply

Latest Posts
sata ports on motherboard

All the Types of SATA Ports on Motherboard

March 21, 2023
anti-aliasing-on-or-off

What is Anti Aliasing? Should You Turn It on or off

March 21, 2023
APU vs CPU

APU Vs CPU – What’s the Difference?

March 19, 2023
You may also like
how-to-scan-a-document-on-hp-printer

How to Scan a Document on HP Printer

March 21, 2023
how to format ssd

How to Format an SSD

March 20, 2023
fix camera on dell laptop

11 Ways to Fix Camera on Dell Laptop

March 20, 2023
Recommended
Cookie Clicker Garden Guide

Cookie Clicker Garden Guide to Unlocking Every Seed

September 26, 2021
monitor no signal

Computer Turns On But Monitor Says No Signal (9 Ways To Fix)

November 10, 2022
Facebook Twitter Pinterest
  • Home
  • About Us
  • Our Team
  • Editorial Guidelines
  • Privacy Policy
  • Affiliate Disclosure
© 2023 TechNewsToday, editor@technewstoday.com | Tech Central Pvt. Ltd.

Type above and press Enter to search. Press Esc to cancel.