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 Command Prompt (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.

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.

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. Toggle Storage Sense to On.
  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.
  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) or Command Prompt (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 and may take a while depending on the drive size.
Do not turn off or unplug the computer while CHKDSK is running. Interrupting the scan can cause data loss or prevent Windows from starting.

Review Drive Health with S.M.A.R.T. Data

Modern drives report their health status through S.M.A.R.T. (Self-Monitoring, Analysis, and Reporting Technology). Windows Event Viewer can show whether your drive has reported any reliability issues.

  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 you see repeated disk errors, the drive may be failing and should be replaced.

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 it as an administrator, 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