TechBuzzPro

How to Delete Windows Temp CAB Files Safely

· 5 min read · Windows & PC

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

You can safely delete Windows temp CAB files by opening Disk Cleanup, checking the Temporary files and Windows Update Cleanup boxes, and clicking OK. CAB files in your temp folders are leftover installer packages and update payloads that Windows no longer needs, so removing them frees disk space without breaking anything. The one rule: only delete CAB files inside the Temp folders or through the built-in cleanup tools, never CAB files sitting in C:\Windows\System32 or other system directories.

What You'll Need

  • A Windows PC running Windows 10 or Windows 11 (the steps are nearly identical; labels can differ slightly by version and region).
  • Administrator rights on the account you are using, because some temp folders are protected.
  • About 10–15 minutes and enough free disk space to let Windows finish any pending update before you clean.

Step-by-Step

  1. Restart your PC first. A restart clears files that are still locked by a running installer or update. If Windows is mid-update, let it finish before you delete anything.
  2. Open Disk Cleanup. Press the Windows key, type Disk Cleanup, and open the app. If you have more than one drive, choose the system drive (usually C:).
  3. Click “Clean up system files.” This relaunches Disk Cleanup with administrator rights and adds the update-related categories. Without this, the Windows Update Cleanup option will not appear.
  4. Check the boxes for “Temporary files” and “Windows Update Cleanup.” The second one is where most leftover CAB packages live. You can also check “Delivery Optimization Files” and “Previous Windows installation(s)” if they are listed, but read the description before ticking the last one.
  5. Click OK, then “Delete Files.” Disk Cleanup removes the selected items. This can take a few minutes if the update cache is large.
  6. Clear the user temp folder manually. Press Windows key + R, type %temp%, and press Enter. This opens your personal Temp folder. Select everything with Ctrl + A, press Delete, and click “Skip” for any file Windows says is in use. Files in use are safe to leave; they will clear on the next restart.
  7. Clear the system temp folder. Press Windows key + R, type C:\Windows\Temp, and press Enter. You will need administrator rights here. Delete the contents the same way, skipping anything locked. Do not delete the Temp folder itself, only its contents.
  8. Empty the Recycle Bin. Deleted temp files often go there first, so right-click the Recycle Bin and choose “Empty Recycle Bin” to actually reclaim the space.
  9. Check the result. Open File Explorer, right-click your C: drive, and choose Properties to see the free space. If you want to confirm the CAB files are gone, search the Temp folders for *.cab; anything still listed is likely in use and can be left alone.

Common Mistakes

  • Deleting CAB files from system folders. CAB files in C:\Windows\System32 or driver store folders are part of Windows or your hardware drivers. Removing them can break updates or devices. Stick to Temp folders and Disk Cleanup.
  • Skipping “Clean up system files.” Running Disk Cleanup without administrator mode hides the Windows Update Cleanup category, so the biggest CAB files are never offered for deletion.
  • Forcing locked files. If a file is in use, Windows will refuse to delete it. Do not use third-party “force delete” tools on system temp files; restart and try again instead.
  • Cleaning during an update. Deleting update cache while Windows is downloading or installing can make the update fail and restart from scratch. Wait until updates show as complete.
  • Assuming every large CAB is junk. Some applications keep CAB installers in their own program folders. Only remove those through the app’s own uninstaller or disk cleanup options.

Tips

  • Run Disk Cleanup once a month, or use Settings > System > Storage > Temporary files on Windows 11 for a quicker version of the same cleanup.
  • If you are short on space before a big update, clear the temp folders first; Windows needs room to unpack update CAB files.
  • Use the search box in File Explorer with *.cab inside a Temp folder to see exactly what is left before deleting.
  • Keep at least 10–15 GB free on the system drive so Windows can stage updates and create restore points.
  • Do not use registry cleaners or “PC booster” apps for this job; the built-in tools are enough and safer.

Troubleshooting

  • Disk Cleanup does not show Windows Update Cleanup. Make sure you clicked “Clean up system files” and that you are signed in as an administrator. If it still does not appear, run Windows Update once and restart, then reopen Disk Cleanup.
  • Files will not delete because they are in use. Close open installers, pause any active update, and restart. Then repeat the manual temp folder cleanup. Locked files are usually released after a restart.
  • Access denied in C:\Windows\Temp. You are not running File Explorer as administrator. Right-click File Explorer, choose “Run as administrator,” or use Disk Cleanup, which already has the needed rights.
  • Space did not increase much. Check the Recycle Bin and empty it. Also check whether the files were moved rather than deleted, and look at Settings > System > Storage to see what else is using space.
  • An update fails after cleaning. Restart and let Windows Update run again; it will re-download what it needs. If it keeps failing, use the Windows Update Troubleshooter in Settings > System > Troubleshoot.

Frequently Asked Questions

Is it safe to delete CAB files in the Temp folder?

Yes. CAB files in %temp% and C:\Windows\Temp are leftover installers and update packages. Windows recreates anything it still needs. Do not delete CAB files outside those folders.

Will deleting temp CAB files break Windows Update?

No. If an update is pending, wait until it finishes. Once updates are installed, the cached CAB files are no longer required, and Windows will download them again if a future update needs them.

Do I need a third-party cleaner?

No. Disk Cleanup and the Storage settings in Windows 10 and Windows 11 handle temp files, update cache, and delivery optimization files without extra software.

Why can I not find any .cab files after cleaning?

Disk Cleanup may have removed them, or they may be in a subfolder you did not open. Search the Temp folder for *.cab to confirm. If none appear, there is nothing left to delete.

Does this remove my personal files?

No. The steps only target temporary and update cache files. Your documents, photos, and installed programs are not affected.

How often should I do this?

Once a month is enough for most PCs. You can also do it before a large Windows feature update to free up space.