The error “There is not enough space on C drive to extract this package” appears when Windows or an installer tries to unpack files to your system drive (C:) but finds insufficient free space. The fix is to free up space on C:, change the extraction location, or move the temporary folder—and this article walks through each method in detail.
Why This Error Happens
When you extract a ZIP, RAR, or 7z archive, the extraction tool (like WinRAR, 7-Zip, or Windows’ built-in extractor) needs two things: space for the final extracted files, and space for temporary working files. Most tools use the system’s temporary folder (usually C:\Users\[YourName]\AppData\Local\Temp) during extraction, even if you’re extracting to another drive. If that temp folder is on C: and C: is nearly full, you’ll see the error even if your target drive has plenty of space.
Installers (like .exe setup files) also extract to a temporary directory on C: before running. So a large game or software installer can fail with this message even if you’re installing to D:.
How to Check Your Free Space
Before fixing, confirm how much space you actually have. Open File Explorer, right-click on C: drive, and select Properties. You’ll see a bar chart showing used and free space. For a more detailed view, open Settings > System > Storage (Windows 10/11) to see what’s taking up space—categories like Apps, Temporary files, and System files.
You need at least as much free space as the size of the extracted content, plus some headroom (typically 10–20% more for temporary files). For example, if the archive contains 5 GB of files, you need roughly 5–6 GB free on C:.
Quick Fixes to Free Up Space on C:
If you’re short on space, try these in order—they’re safe and reversible:
- Run Disk Cleanup: Search for “Disk Cleanup” in the Start menu, select C:, and check “Temporary files,” “Recycle Bin,” and “Windows Update Cleanup.” Click OK to delete.
- Clear the Temp folder manually: Press
Win+R, type%temp%, and delete everything inside (some files may be in use—skip those). Also clearC:\Windows\Temp(requires admin rights). - Uninstall unused programs: Go to Settings > Apps > Installed apps, sort by size, and remove anything you no longer need.
- Move personal files to another drive: If you have a D: drive, move large folders like Videos, Downloads, or Documents there.
- Disable Hibernation (if you don’t use it): Run Command Prompt as admin and type
powercfg /h off. This removes the hiberfil.sys file, which can be several GB.
Change the Extraction or Temp Location
If you can’t free up enough space, you can redirect where extraction happens.
For 7-Zip: In the extraction dialog, there’s a “Extract to:” field. Change it to a folder on D: or another drive with space. 7-Zip also has an option under Tools > Options > Folders to set a different “Working folder” for temporary files.
For WinRAR: In the extraction dialog, click the “Advanced” tab and look for “Temporary folder for extraction.” Set it to a path on D:.
For Windows built-in extractor: It doesn’t offer a temp folder option, but you can extract directly to a different drive by right-clicking the archive, selecting “Extract All…”, and choosing a destination on D:.
For installers: Many installers (like those from Steam, Origin, or some .exe setups) let you choose the installation directory—but the temp extraction still goes to C:. You can change the system TEMP variable: In System Properties > Environment Variables, edit TEMP and TMP for your user to point to a folder on D: (e.g., D:\Temp). Create that folder first. This affects all programs that use temp, so it’s a broad fix.
Common Mistakes and Misconceptions
One common mistake is thinking the error refers to the target drive. If you’re extracting from C: to D:, the error still mentions C: because the temp files go there. Always check both the target drive and C:.
Another misconception: compressing files doesn’t reduce the space needed for extraction. A 10 GB archive that compresses to 4 GB still needs 10 GB free to extract.
People also forget that the Recycle Bin holds deleted files. Empty it—right-click the Recycle Bin and select “Empty Recycle Bin.”
Finally, don’t disable System Restore or delete System Volume Information unless you’re absolutely sure—it can prevent recovery points and may not free much space anyway.
Alternatives: Use a Different Tool or Format
If you’re stuck, consider these alternatives:
- Use a portable extraction tool: Some tools like PeaZip can be run from a USB drive, but they still use the system temp folder unless configured otherwise.
- Extract in parts: If the archive is split (like .part1.rar), extract only part1 first, then the rest. This reduces peak temp usage.
- Move the archive to a drive with more space and extract there: If you have an external drive with 50 GB free, copy the archive there and extract it—then move the extracted files back if needed.
- Use a cloud service: Upload the archive to Google Drive or OneDrive, then extract online (some services offer this) and download the extracted files. This is slow but works if you have no local space.
Frequently Asked Questions
Q: Why does the error say “C drive” when I’m extracting to D:?
A: Because the extraction tool uses a temporary folder on C: for working files, even if the final destination is D:. The temp folder is usually in your user profile’s AppData folder.
Q: How much free space do I need on C:?
A: At least the size of the extracted content, plus a bit more for temporary files. If the archive is 5 GB, aim for 6–7 GB free on C:.
Q: Can I move the temp folder to another drive permanently?
A: Yes. In System Properties > Environment Variables, change TEMP and TMP to a folder on another drive. Create the folder first, then restart any programs that use temp.
Q: Will deleting temp files break anything?
A: Generally no. Temp files are meant to be temporary. Some programs may recreate them. If a file is in use, Windows will skip it. You can safely delete most contents of %temp%.
Q: The error appears during a game installer—what’s the best fix?
A: Free up space on C: first. If that’s not possible, change the TEMP variable to another drive. Some installers also have a command-line option to specify a temp directory (check the installer’s documentation).
Q: Does compressing files help reduce the space needed?
A: No. The extracted size is what matters. Compression only reduces the archive size, not the space needed to unpack it.
Related
Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.
More cards in this drawer
- Secure Boot Battlefield 6 ASUS: Fix & Enable Guide
- Best Tech Websites to Follow for Pros & Beginners
- Second Wind Quest Walkthrough: Where Winds Meet6.00 min/km
- Enshrouded Weapon Upgrade Guide: How to Improve Gear5.00 min/km
- Connect Phone to Controller for Cloud Gaming
- Python Search Highlighting: Snippets & Matches