How to regain computer hard drive space

Most of us run out of storage space at some point. When you do, knowing how to clean up your computer properly is good. The following sections show how to regain computer hard drive space. To proceed, select your operating system from the following list.
Windows Vista, 7, 8, 10, and 11
There are a few options for clearing space in Windows:
Run the Disk Cleanup option
- Press the Windows key, type Disk Cleanup, and press Enter.
- Select the drive that you need extra space on, and click OK.
- In the Disk Cleanup window, check the box next to the items using up disk space, and click OK.
- When prompted, click the Delete Files button.
Uninstall old programs
You can regain a lot of disk space by uninstalling programs, including games you no longer use.
Turn off System Restore
Windows users can also reduce the default space utilized by Windows System Restore and can gain several gigabytes of hard drive space. See the steps below for your version of Windows to turn off system restore.
Windows 11
- Press the Windows key, type restore point, and press Enter.
- In the System Properties window, click the Configure button on the System Protection tab.
- In the System Protection window that opens, select the Disable system protection option (A).
- Click the Apply button (B) and click OK (C) to disable system restore.
Windows 8 and 10
- Press the Windows key, type restore point, and press Enter.
- In the System Properties window, click the Configure button on the System Protection tab.
- In the System Protection window that opens, select the Turn off system protection option.
- Click the Apply button, and click OK to disable system restore.
Windows XP, Vista, and 7
- Click Start, Programs, Accessories, System Tools, and select System Restore.
- In the System Restore window, click System Restore Settings.
- On the System Restore tab, you can check Turn off System Restore on all drives to disable this feature completely, or click the Settings button and decrease the disk space usage. We recommend the second option.
Move the swap file
If you have more than one hard drive in the computer and the C: drive is the drive running out of space, consider moving the swap file to another drive.
Disable hibernation
If you turn your computer off instead of using hibernation mode, you can disable this feature to free up space.
Windows 2000 and XP
There are a few options for clearing space in Windows:
Run the Disk Cleanup option
- Open Windows Explorer.
- Right-click the hard drive you want to regain hard drive space. For example, right-click the C: drive.
- Click Properties.
- In the General tab, click the Disk Cleanup button next to the pie chart.
- In the Disk Cleanup window, check the box next to the items (except "compress old files") that are using up disk space, click OK, and click Yes if you want to proceed.
Compress?
When performing a Disk Cleanup, you can compress your hard drive. We strongly recommend users do not compress their hard drives or old files.
Uninstall old programs
You can regain a lot of disk space by uninstalling programs, including games you no longer use.
Disable System Restore
Windows XP, Vista, and 7 users can also reduce the default space utilized by Windows System Restore, gaining several gigabytes of hard drive space. See the steps below for customizing this feature.
- Click Start, Programs, Accessories, System Tools, and open System Restore.
- In the System Restore window, click System Restore Settings.
- In the System Restore tab, you can check Turn off System Restore on all drives to disable this feature completely or click the Settings button to decrease space usage. We recommend the second option.
Additional suggestion for Windows 2000 and Windows XP users
Windows 2000 and Windows XP keeps all the necessary files to uninstall any updates installed on your computer. These files can take up several hundred megabytes and sometimes over a gigabyte of space on your hard drive.
Move the swap file
If you have more than one hard drive in the computer and the C: drive is the drive running out of space, consider moving the swap file to another drive.
Disable hibernation
If you turn your computer off instead of using hibernation mode, you can disable this feature to free up space.
Microsoft Windows 95, 98, and ME
There are a few options for clearing space in Windows:
Clean up temporary files
- Click Start and then Search or Find.
- In the File type text field, type *.tmp and verify the computer is looking at the C: drive or the drive containing your operating system.
- Search for files and delete each of the temporary files.
Delete chk files
Perform the same steps above, except search for *.chk and delete all the found files.
Uninstall old programs
You can regain a lot of disk space by uninstalling programs, including games you no longer use.
MS-DOS and Windows 3.x
- From the MS-DOS prompt, type del *.tmp /s and del *.chk /s to delete any temporary files on the hard drive.
- Delete any programs or games you are no longer using.
macOS
There are a few options for clearing space on your iMac or Macbook:
Manage hard drive storage
- In the menu bar at the top of the screen, click the Apple icon to open the Apple menu.
- In the Apple menu, select About This Mac.
- In the System Information window that opens, click the Storage tab at the top.
- Click the
button on the right side.
- The following menu shows management options for your hard drive. You can follow Apple's recommended steps for clearing space, or choose one of the tabs on the left side and select items on your own.
Uninstall old programs
You can regain a lot of disk space by uninstalling programs, including games you no longer use.