Home › Knowledgebase › KB-523

How to fix a Windows 11 computer that is running slow due to a full or fragmented hard drive and disk errors

Summary

This guide helps you troubleshoot and resolve: How to fix a Windows 11 computer that is running slow due to a full or fragmented hard drive and disk errors. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

A sluggish Windows 11 computer is often the result of a hard drive that is running low on space, has become fragmented, or is developing file system errors. When the drive fills up, Windows has less room to handle temporary files and virtual memory, which can drag overall performance down. Fragmentation and disk errors compound the problem by forcing the read/write heads to work harder to locate data. The good news is that most of these issues can be diagnosed and resolved using built-in Windows tools without any third-party software.

Quick Fix Steps

  1. Open Settings > System > Storage and check how much free space is available on your main drive.
  2. Run Disk Cleanup to remove temporary files, system caches, and other unnecessary data.
  3. Open Defragment and Optimise Drives from the Start menu and run an optimisation on your hard drive.
  4. Open Terminal (Admin) and run chkdsk C: /f /r to scan for and repair file system errors.
  5. Restart your computer and confirm that performance has improved.
Before running CHKDSK with the /f or /r switches, or performing defragmentation, back up any important data to an external drive or cloud storage. While these tools are designed to repair issues, there is always a small risk of data loss during disk operations.

Detailed Instructions

Check Available Disk Space

Before making any changes, it helps to know how full your drive actually is. Windows 11 performs poorly when the system drive drops below about 10–15% free space.

  1. Press Start and select Settings.
  2. Go to System > Storage.
  3. Review the bar showing used versus free space on your C: drive.

If the drive is nearly full, the cleanup steps below will help reclaim space. If you have additional internal drives, check their free space in the same Storage view, as low space on any drive can affect overall system performance.

Run Disk Cleanup

Disk Cleanup is a long-standing Windows utility that removes temporary files, old system files, and other items you are unlikely to need.

  1. Press the Windows key + S, type Disk Cleanup, and press Enter.
  2. Select your system drive (usually C:) and click OK.
  3. Tick the boxes next to the file types you want to remove, such as Temporary Internet Files, Recycle Bin, and Temporary files.
  4. Click OK, then Delete Files to confirm.
For a deeper clean, click Clean up system files on the same window. This adds options like Windows Update Cleanup and Previous Windows installation(s), which can free several gigabytes.

Free Up Space Using Storage Sense

Storage Sense is a built-in feature that automatically clears temporary files on a schedule.

  1. Open Settings > System > Storage.
  2. Turn on the Storage Sense toggle.
  3. Click Storage Sense to configure how often it runs and whether it should empty the Recycle Bin and Downloads folder automatically.

Defragment the Hard Drive

Fragmentation occurs when files are split across different areas of a mechanical hard drive. Defragmenting rearranges the data so files sit in contiguous blocks, which speeds up read and write operations.

If your computer uses a solid-state drive (SSD), you do not need to defragment it. Windows 11 detects SSDs and performs a TRIM optimisation instead, which is already automated. Defragmenting an SSD offers no benefit and can shorten its lifespan.
Do not run defragmentation while critical work is in progress, and never defragment a drive that is showing signs of hardware failure. If CHKDSK has reported bad sectors, replace the drive instead of attempting to optimise it.
  1. Press Windows key + S, type Defragment and Optimise Drives, and press Enter.
  2. Select your hard drive (typically labelled HDD or Hard Disk Drive).
  3. Click Optimise.
  4. Wait for the process to complete. Large drives may take some time.

Check the Drive for Errors with CHKDSK

Windows includes a tool called Check Disk (CHKDSK) that scans the file system for errors and bad sectors, then attempts to repair them.

  1. Press Windows key + X and select Terminal (Admin).
  2. Type the following command and press Enter:
    chkdsk C: /f /r
  3. If prompted that the drive is in use, type Y and press Enter to schedule the scan for the next restart.
  4. Restart your computer. The scan will run before Windows loads.
Running CHKDSK /r on a large drive can take several hours. Do not turn off or unplug the computer while CHKDSK is running. Interrupting the scan can cause data loss or prevent Windows from starting. Leave the computer powered on until the scan completes and Windows boots normally.

Review Drive Health and Error Logs

Modern drives report their health status through S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology). Windows Event Viewer does not show S.M.A.R.T. drive health data directly; it logs disk and NTFS file system errors instead. To check actual S.M.A.R.T. status, use the drive manufacturer's diagnostic tool or a reputable third-party utility.

To review disk and NTFS error logs in Event Viewer:

  1. Press Windows key + X and select Event Viewer.
  2. Expand Windows Logs > System.
  3. Look for entries with the source disk or ntfs that indicate errors or warnings.

If Event Viewer shows repeated disk errors, or if a S.M.A.R.T. utility reports poor health or failing attributes, the drive is likely failing and should be replaced. If CHKDSK reports unrecoverable bad sectors, back up your data immediately and arrange for a drive replacement; continuing to use a drive with unrecoverable sectors risks permanent data loss.

Troubleshooting

Disk Cleanup Will Not Run

If Disk Cleanup freezes or refuses to open, try running it from an elevated prompt:

  1. Press Windows key + S, type cmd, right-click Command Prompt, and choose Run as administrator.
  2. Type cleanmgr and press Enter.

CHKDSK Reports "Access Denied"

This usually means the command was not run with administrator privileges. Close the window, reopen Terminal (Admin), and run the command again.

Drive Is Still Slow After Optimisation

If performance has not improved, the drive itself may be the bottleneck. Consider the following:

Related Issues

If your computer is still slow after addressing disk health, the cause may be elsewhere. These related guides may help:

If you have completed the steps above and your computer is still performing poorly, please Open a Ticket and our support team will assist you further.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket