How to Use Windows 11 Quick Assist for Help
Discover how to use Windows 11 Quick Assist for seamless remote support. Learn step-by-step setup, troubleshooting, and tips to help friends or family with tech issues instantly.
Over time, the files on your hard drive become fragmented and your computer slows down because it has to check multiple locations on the drive. To make your computer run more efficiently, you can use the built-in Windows tool to defragment those files. This article will show you how to use Disk Defragmenter in Windows operating system versions.
Note about solid-state drives (SSDs): SSDs work differently than traditional mechanical hard drives . SSDs do not need to be defragmented, and doing so wears out the drive. However, Windows defragments SSDs once a month if necessary and if the user has System Restore set up. You don't need to worry about this because automatic defragmentation is meant to extend the life and performance of the drive.
So with SSDs, let Windows do its thing and you don’t need to worry about defragmentation. You can use the Optimize Drive tool (aka Disk Defragmenter) to perform drive optimization, including sending TRIM commands to optimize performance. However, it doesn’t perform traditional defragmentation on SSDs. For mechanical drives, you can check and fix its fragmentation status.
Using Disk Defragmenter in Windows
Defragmenting is a way to improve performance and make your PC faster, so you should do it regularly. The defragmentation process hasn't changed much in Windows 11 and is almost the same as in Windows 10, so everything should feel very familiar.
Use the defragmentation tool from Windows
1. Click the search icon on the Taskbar.
2. Type defrag in the search box and select Defragment Optimize Drives from the list of results.
3. When the window opens, you will see a list of all your drives and their current defragmentation status.
4. Select the drive you want to analyze and click the Analyze button. If you have an SSD installed, defragmentation will have no effect. You should only perform this procedure on HDDs.
5. Wait for the process to finish.
6. If your drive is fragmented, select it and click Optimize.
7. Wait for the process to finish. Keep in mind that this process may take a while depending on the level of fragmentation.
Windows 11 PCs have a built-in application that you can use to defragment your hard drive. It's called Defragment Optimize Drives and can be used to easily optimize your PC.
As you can see, using the Windows 11 defragmentation tool is simple, but if you want a dedicated tool, the article recommends Smart Defrag for more advanced options.
Using command line tools
1. Press Windows + X and select Windows Terminal (Admin) .
2. To analyze the drive, enter the following command, but remember to replace X with your drive letter:
defrag X: /a
3. Once the scan is complete, you'll see information about your hard drive, including the fragmentation level and a note indicating whether you need to defragment your drive.
4. Now, enter the following command to defragment that drive:
defrag X:
5. Wait for the process to finish.
There are also some hidden commands that may be useful. To defragment all available drives on your PC, use the following command:
defrag /C
To defragment all drives except the specified ones, run this command:
defrag /E X:
Refer to the article When and how to defragment hard drives on Windows 10? to learn how to do it.
To defragment a drive on Windows 8, follow these steps.
Method 1.
Step 1 . Open File Explorer and select Computer .

Step 2. Right-click on the drive you want to optimize and then select Properties .

Step 3 . Click on the Tools tab and then under Optimize and defragment drive , click Optimize .

Step 4. Select the drive you want to defragment and click Optimize .

Method 2.
Step 1. Access the Start menu.
Step 2. Right-click on the Start menu wallpaper to display “ All apps ”.

Step 3. Select All apps , scroll down to find Control Panel and click on it.

Step 4. In the upper right of Control Panel, click the View by drop-down menu (default is Category ), select Large icon or Small icon .

Step 5. Click Administrative Tools. Double-click Defragment and Optimize Drives.
Step 6. Select the drive you want to optimize and click Optimize.

Refer to the article Quickly Defragment Drives in Windows 7 to learn how to do it.
See also:
Discover how to use Windows 11 Quick Assist for seamless remote support. Learn step-by-step setup, troubleshooting, and tips to help friends or family with tech issues instantly.
Struggling with dual monitor lag on Windows 11? Discover proven troubleshooting fixes to eliminate stuttering, delays, and performance issues for seamless multi-monitor setups. Step-by-step guide inside.
Struggling with the frustrating Windows 11 "Startup Settings" blank error? Discover proven, step-by-step fixes to restore your boot options quickly and get your PC running smoothly again. No tech expertise needed!
Discover how to activate Windows 11 Enterprise using KMS effortlessly. This comprehensive guide covers everything from requirements to troubleshooting, ensuring seamless activation for your business needs.
Struggling with the dreaded KMODE EXCEPTION NOT HANDLED error on Windows 11? Discover proven, step-by-step fixes to resolve this blue screen nightmare quickly and get your PC running smoothly again. No tech expertise needed!
Struggling with Windows 11 "Motherboard" Driver Error? Discover proven troubleshooting steps to fix it fast and get your PC running smoothly again. Easy, step-by-step guide for beginners.
Struggling with ping spikes on Windows 11 over Wi-Fi? Discover proven fixes to stabilize your connection, reduce lag, and enjoy smooth gaming or streaming. Step-by-step solutions for instant results.
Accidentally deleted precious photos? Discover proven methods to recover deleted photos in Windows 11 effortlessly. Step-by-step guides, tools, and tips to restore your images safely.
Discover how to use Windows 11 Terminal instead of CMD for a modern, efficient command-line interface. Learn installation, setup, and tips to boost your productivity with tabs, themes, and more.
Discover safe, legitimate ways to activate Windows 11 Pro without a product key. Learn step-by-step methods using built-in tools and official Microsoft options to get your OS up and running smoothly. No risks, no hassle – just pure productivity.
Struggling with battery drain during hibernate in Windows 11? Discover expert fixes to preserve your laptop
Struggling with input lag in Windows 11 while playing Valorant or CS2? Discover proven, step-by-step fixes to restore smooth gameplay and boost your performance. Say goodbye to delays and hello to precision shots.
Struggling with the frustrating "Out of Memory" error in Microsoft Edge? Discover proven, step-by-step fixes to reclaim your browsing speed and stability. Updated with the latest tips for optimal performance.
Struggling with Google Drive not launching on Windows 11? Discover proven fixes to resolve the issue fast, from restarts to advanced troubleshooting. Get your cloud storage working seamlessly today!
Discover how to disable Game Bar Presence Writer on Windows to optimize gaming performance. Step-by-step guide to reduce lag, boost FPS, and enhance your setup for smoother gameplay. Essential tips for gamers in 2026.