As we use the hard disk in its different ways (installing programs and applications, such as backup copies, etc.), within the disk in its logical part objects are created which are integrated of small fragments managed in this case by Windows 11 operating system. This basically allows these files to be accessed and opened as such when reading and writing the disk.
This is a task that generally does not have a consistent order, resulting in these files being scattered on the disk, this is the famous fragmentation that being high will make reading and writing tasks slow. With the Windows 11 defragmentation tool, it is intended that these files can be organized and thereby improve the functionality of the hard disk.
There are several ways to open Defragmenter in Windows 11
1. Using the Built-in Defragment App
- It is one of the simple ways to open this utility, in the Start search engine we enter the word “defrag”
- Now we select the “Defragment and optimize drives” utility.
- There we can select the desired drive and click on Analyze or Optimize to defragment it.
2. Using Control Panel
- The Control Panel is another of the alternatives that we have to access this tool, in this case, open the Control Panel.
- Click on “Windows Tools”
- Select the “Defragment and optimize drives” utility.
3. Using CMD
- From the CMD console, we can directly execute the defragmentation of the desired unit, to execute this task open CMD as administrator.
- In the console, we execute “defrag” to see the available options.
- To defragment a drive, we are going to do the following:
defrag drive: / U / V
4. Using PowerShell
- PowerShell is another option to perform the defragmentation task in Windows 11, we open PowerShell as administrator.
- Defragment of the desired drive:
defrag drive: / U / V
5. Using Windows Terminal
- Additionally, we can make use of the terminal integrated with Windows 11 called Windows Terminal, in this case, open Windows Terminal as administrator.
- Defragment of the desired drive with the syntax:
defrag drive: / U / V
Options offered by the defrag command
The options offered by the defrag command are:
- / A | / Analyze: is in charge of executing the analysis
- / B | / BootOptimize – Tasks to run a boot optimization in order to improve boot performance
- / D | / Defrag: performs basic defragmentation
- / G | / TierOptimize: is used for layered volumes, this parameter allows optimizing the files so that they can be housed in the correct storage level
- / O | / Optimize: your task is the optimization of each type of media to use
- / T | / TrackProgress: allows you to track the progress of the running operation
- / U | / PrintProgress: allows you to print the progress of the operation on the screen
- / V | / Verbose: prints the detailed output of the operation
- / X | / FreespaceConsolidate: this parameter carries out the consolidation of available space, this is achieved by moving the available space towards the end of the selected volume
- / H | / NormalPriority: allows to execute the operation with a normal priority
- / M | / MultiThread [n]: allows the operation to be executed on each volume in parallel in the background so as not to affect other system tasks
So we can open and run a defrag on a volume in Windows 11 to improve hard drive performance.
Leave a Reply