How to Optimize and Defragment Drives in Windows 10

Improving your PC’s performance is very important for proper functioning and to help with this Windows 10 performs disk defragmentation once a week for hard drives. By default, disk defragmentation runs automatically on a weekly schedule at a particular time set in automatic maintenance. But this doesn’t mean that you can’t manually optimize or defrag your drives on your PC.

Now Disk defragmentation re-arranges all the pieces of data that are spread across your hard drive and stored them together again. When the files are written to disk, it is broken into several pieces as there is not enough contiguous space to store the complete file; hence the files become fragmented. Naturally, reading all these pieces of data from different places will take some time, in short, it will make your PC slow, long boot times, random crashes and freeze-ups etc.

Defragmentation reduces file fragmentation, thus improving the speed by which data is read and written to disk, which ultimately increases the performance of your PC. Disk defragmentation also cleans the disk, thus increasing the overall storage capacity. So without wasting any time, let’s see How to Optimize and Defragment Drives in Windows 10 with the help of the below-listed tutorial.

Contents

How to Optimize and Defragment Drives in Windows 10

Make sure to create a restore point just in case something goes wrong.

Method 1: Optimize and Defragment Drives in Disk Drive Properties

1. Press Windows Key + E to open File Explorer or double-click on This PC.

2. Right-click on any hard drive partition you want to run defragmentation for, and select Properties.

3. Switch to Tool tab then click on “Optimize” under Optimize and defragment the drive.

4. Select the drive for which you want to run defragmentation and then click the Analyze button to see if it needs to be optimized.

Note: If the drive is more than 10% fragmented, then it should be optimized.

5. Now, to optimize the drive, click the Optimize button. Defragmentation can take some time depending upon your disk’s size, but you can still use your PC.

6. Close everything, then restart your PC.

This is How to Optimize and Defragment Drives in Windows 10, but if you are still stuck, then skip this method and follow the next one.

Method 2: How to Optimize and Defragment Drives in Windows 10 Using Command Prompt

1. Open Command Prompt. The user can perform this step by searching for ‘cmd’ and then press Enter.

2. Type the following command into cmd and hit Enter:

defrag drive_letter: /O

Note: Replace the drive_letter with the drive letter of the drive you want to run disk defragmentation. For example to optimize the C: drive the command would be: defrag C: /O

3. Now, to optimize and defrag all your drives at once use the following command:

defrag /C /O

4. The defrag command supports the following command-line arguments and options.

Syntax:

defrag | /C | /E [] [/H] [/M [n] | [/U] [/V]] [/I n] Where is omitted (traditional defrag), or as follows: /A | [/D] [/K] [/L] | /O | /X Or to track an operation already in progress on a volume: defrag /T

Parameters:

Value Description
/A Perform analysis on the specified volumes.
/B Perform boot optimization to defrags the boot sector of the boot volume. This will not work on an SSD.
/C Operate on all volumes.
/D Perform traditional defrag (this is the default).
/E Operate on all volumes except those specified.
/H Run the operation at normal priority (default is low).
/I n Tier optimization would run for at most n seconds on each volume.
/K Perform slab consolidation on the specified volumes.
/L Perform retrim on the specified volumes, only for an SSD.
/M [n] Run the operation on each volume in parallel in the background. At most n threads optimize the storage tiers in parallel.
/O Perform the proper optimization for each media type.
/T Track an operation already in progress on the specified volume.
/U Print the progress of the operation on the screen.
/V Print verbose output containing the fragmentation statistics.
/X Perform free space consolidation on the specified volumes.

This is How to Optimize and Defragment Drives in Windows 10 using Command Prompt, but you can also use PowerShell in place of CMD, follow the next method to see How to Optimize and Defragment Drives using PowerShell.

Method 3: Optimize and Defragment Drives in Windows 10 Using PowerShell

1. Type PowerShell in Windows Search then right-click on PowerShell from the search results and select Run as Administrator.

2. Now type the following command into PowerShell and hit Enter:

Optimize-Volume -DriveLetter drive_letter -Verbose

Note: Replace drive_letter with the drive letter of the drive you want to run disk defragmentation.

For example to optimize the F: drive the command would be: defrag Optimize-Volume -DriveLetter F -Verbose

3. If you want first to analyze the drive, then use the following command:

Optimize-Volume -DriveLetter drive_letter -Analyze -Verbose

Note: Replace drive_letter with the actual drive letter, ex: Optimize-Volume -DriveLetter F -Analyze -Verbose

4. This command should only be used on an SSD, so only proceed if you’re sure that you are running this command on an SSD drive:

Optimize-Volume -DriveLetter drive_letter -ReTrim -Verbose

Note: Replace drive_letter with the actual drive letter, ex: Optimize-Volume -DriveLetter D -ReTrim -Verbose

5. Reboot your PC to save changes.

Recommended:

That’s it you have successfully learned How to Defer Feature and Quality Updates in Windows 10 but if you still have any queries regarding this tutorial then feel free to ask them in the comment’s section.

Sign up and earn $1000 a day ⋙

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos

TOP AI tools help you add color to old black and white photos. If you want to add color to old black & white photos, use one of the AI ​​tools below.

7 rules for storing a bank card

7 rules for storing a bank card

Each bank card is marked with important information - number, owner’s name, expiration date, CVC or CVV and a chip, thanks to which payments are made at terminals (including contactless). In order for this information to be preserved, it is important to treat the means of payment with care.

IObit Malware Fighter 11 Review 2024

IObit Malware Fighter 11 Review 2024

When your computer gets attacked by a virus or malware, you’ll certainly such for a powerful antivirus to fight back. Well, IObit Malware Fighter is exactly what you need. From its name alone, you can be certain that you are getting the tough protection your computer needs.

How To Find Quality And Fast Internet In Montreal

How To Find Quality And Fast Internet In Montreal

Montreal, a city brimming with culture, history, and Poutine (a famous Canadian dish), deserves an internet connection that can keep up. Whether you’re a streamer glued to Twitch, a workaholic juggling video conferences, or a casual web surfer, a reliable and fast internet plan is essential.

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018

Google Drive for desktop will be discontinued in March 2018, Google has officially announced that it will stop supporting Google Drive for desktop and then the company will remove the application.

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error

Simple ways to fix AirDrop not working error, AirDrop not working on iPhone, iPad, Mac what to do? This article will provide you with simple ways

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024

TOP best computer screen recording software 2024, Which is the best lightweight, free, high-quality computer screen recording software? Let's find out the top with WebTech360

What is an email address? How to get an email address?

What is an email address? How to get an email address?

What is an email address? How to get an email address?, What is an email address? What is email address entry? This article will answer all your related questions

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for computer you need to know

Every WhatsApp shortcut for your computer you need to know, WhatsApp is one of the most popular free messaging apps today. The keyboard shortcuts below will help

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Unlocking Baccarats Social Thrills: Tedbets Global Gaming Hub

Discover the vibrant social scene of baccarat on Tedbet, where players worldwide connect, chat, and enjoy the excitement of live dealer games.

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok

Summary of how to find videos on TikTok, Finding videos on TikTok is not difficult. Let's learn together how to find the original video on TikTok or find the Tik Tok clip you want to watch

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks

Improved mouse sensitivity for Free Fire on BlueStacks, BlueStacks has made important improvements for Free Fire gamers. Please upgrade BlueStacks 4.230.10

Huang you: Butter Camera sparkling photo editing app

Huang you: Butter Camera sparkling photo editing app

Huang you: Sparkling photo editing application Butter Camera, Huang you (黄油 相机) is an extremely hot Chinese editing application today, here we would like to invite you

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know

Tips for using Chrome Web Store you need to know, Chrome Web Store or Chrome Web Store offers a selection of apps, extensions and stylish browser wallpapers

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?

What is CapCut? Is it safe to use CapCut?, What is CapCut? Is music on CapCut copyrighted? Let's find out with WebTech360 what you need to know about CapCut!

Why is buying TikTok coins cheaper on PC?

Why is buying TikTok coins cheaper on PC?

Why is it cheaper to buy TikTok coins on PC?, TikTok gives users the option to exchange real money for coins in the app. However, buying TikTok coins on PC is cheap

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?

How much Internet capacity does Zoom use?, Zoom is an indispensable remote online learning and working software during the epidemic, but it can be extremely bandwidth-consuming.

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past

EmuOS: Relive your childhood with legendary games of the past, EmuOS is a Web interface that simulates basic Windows 3.1, 95, 98, NT operating systems that provide a lot

TOP best ways to open and read PDF files on your computer

TOP best ways to open and read PDF files on your computer

TOP best ways to open and read PDF files on your computer. How to open PDF files on your computer is not too difficult. In fact, you have many ways to read PDF files. Join WebTech360

Iris in Free Fire: Skills, weapons, skill combos

Iris in Free Fire: Skills, weapons, skill combos

Iris in Free Fire: Skills, weapons, skill combos, Iris is the newest female character in Free Fire OB35, with the ability to break the meta. Here's everything you need to know