

If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. To perform this procedure, you must be a member of the Administrators group on the local computer, or you must have been delegated the appropriate authority. You can determine if a volume is dirty by using the fsutil dirty command.įile system volumes that aren't NTFS, ReFS, Fat or Fat32. You must run chkdsk before you can defragment this volume or drive. Volumes the file system marked as dirty, indicating possible corruption. You can't defragment specific file system volumes or drives, including:
#HOW CAN I DEFRAG MY COMPUTER FREE#
Perform free space consolidation on the specified volumes. Print verbose output containing the fragmentation statistics. Print the progress of the operation on the screen. Track an operation already in progress on the specified volume. Perform the proper optimization for each media type. At most n threads optimize the storage tiers in parallel. Run the operation on each volume in parallel in the background. Perform slab consolidation on the specified volumes. Tier optimization would run for at most n seconds on each volume. Run the operation at normal priority (default is low). Optimize the storage tiers on the specified volumes. Perform the operation on all volumes except those specified. On a tiered volume though, traditional defrag is performed only on the Capacity tier. Perform traditional defrag (this is the default). Perform analysis on the specified volumes. Specifies the drive letter or mount point path of the volume to be defragmented or analyzed.

Syntax defrag | /c | /e | ]ĭefrag | /c | /e /a | ]ĭefrag | /c | /e /x | ] Membership in the local Administrators group, or equivalent, is the minimum required to run this command. Locates and consolidates fragmented files on local volumes to improve system performance. Applies to: Windows Server 2022, Windows Server 2019, Windows 10, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012
