How to Clean Up Local Disk D: Step-by-Step
In this article
Cleaning up your local disk D frees space, speeds up your PC, and helps avoid errors when the drive fills up. This guide walks you through safe, effective methods to remove junk files, uninstall unused programs, and manage large files on your D drive. You don't need any special tools—just a few minutes and the built-in Windows utilities.
What You'll Need
- Administrator access to your Windows PC (to delete system files or change drive settings)
- An idea of what's on the D drive (check before deleting anything important)
- Optional: an external backup drive if you plan to move large files
Step-by-Step
- Open File Explorer and see what's taking space. Press Win + E, then click "This PC" in the left sidebar. Right-click your D drive and select "Properties." The pie chart shows how much space is used vs. free. Click "OK" to close.
- Run Disk Cleanup to remove temporary files. In the same Properties window, click "Disk Cleanup" (or search "Disk Cleanup" in the Start menu and select the D drive). Wait for it to scan. Check the boxes for categories you want to delete—like "Temporary files," "Thumbnails," and "Recycle Bin." Be careful: uncheck "Downloads" if you have files there you need. Click "OK" and confirm deletion.
- Clean up system files (optional but powerful). In Disk Cleanup, click "Clean up system files." It will rescan. Check "Windows Update Cleanup" and "Previous Windows installation(s)" if present—these can be several gigabytes. Confirm deletion. This step requires administrator rights.
- Uninstall programs you don't use that are installed on D. Go to Settings > Apps > Installed apps (or Control Panel > Programs and Features). Sort by "Location" to see which apps are on D. Click an app and select "Uninstall." Follow the prompts. Only remove programs you recognize and no longer need.
- Delete large files manually. Open the D drive in File Explorer. Look for folders like "Downloads," "Documents," or "Backups." Sort by size (right-click in the folder, select "Sort by," then "Size"). Delete files you no longer need, or move them to an external drive. Empty the Recycle Bin afterward.
- Use Storage Sense (Windows 10/11) to automate cleanup. Go to Settings > System > Storage. Turn on Storage Sense, then click "Configure Storage Sense or run it now." Choose to delete temporary files, and set a schedule. You can also click "Clean now" to run it immediately—it will clean the drive you select.
- Move personal folders to another drive if D is full. If you store Documents, Music, or Pictures on D and want to free space, move them to another drive. Right-click the folder (e.g., Documents) in File Explorer, select "Properties," go to the "Location" tab, and click "Move." Choose a new location on C or an external drive, then click "Apply." Windows will move the files.
- Check for duplicate files. Duplicates can eat up space. Use a free tool like "Duplicate Cleaner" or "CCleaner" (from official sites) to find and remove them. Be careful to review before deleting.
Common Mistakes
- Deleting files without checking. Always look inside folders before deleting. A file named "backup.zip" might be your only copy of something important.
- Running Disk Cleanup as a non-admin. Without admin rights, you won't see system file options like Windows Update Cleanup. Right-click and choose "Run as administrator" if needed.
- Uninstalling programs that are actually needed. If you're unsure what a program does, search online before removing it. Some apps have dependencies.
- Emptying Recycle Bin without checking. Once emptied, files are gone forever. Double-check that you don't need anything in there.
- Moving folders to a drive that's also full. Make sure the destination has enough space before moving large folders.
Tips
- Use the built-in "Storage" page first. Windows shows a breakdown of what's using space (Apps, Temporary files, etc.)—it's faster than digging manually.
- Set Storage Sense to run monthly. This keeps D clean automatically without your intervention.
- Keep at least 15% of the drive free. This prevents slowdowns and allows Windows to write temporary files smoothly.
- Compress old files. Right-click a folder, select "Properties," then "Advanced," and check "Compress contents to save disk space." This works well for rarely accessed files.
- Move games to another drive if you play on PC. Steam, Epic, and other launchers allow you to move install folders—use their built-in move feature to avoid breaking the game.
Troubleshooting
If cleaning doesn't go as planned, try these in order:
- Disk Cleanup won't finish or free space? Restart your PC and try again. If it still fails, run "sfc /scannow" in Command Prompt (run as admin) to repair system files.
- Can't delete a file because it's in use? Close the program that's using it. If unknown, restart the PC and try again. If it persists, the file may be corrupted—try renaming it first.
- Drive still shows full after cleanup? Check if the Recycle Bin is on D (right-click Recycle Bin > Properties). Empty it. Also, run Disk Cleanup again—some files are only removed on a second pass.
- Storage Sense says "Clean now" but nothing happens? Make sure you have admin rights. If it's stuck, restart the Windows Explorer process via Task Manager (right-click Windows Explorer > Restart).
- Moved a folder and now apps can't find it? If you moved a folder that an app references, you may need to update the app's settings or reinstall. For system folders like Documents, Windows usually updates the path automatically.
Frequently Asked Questions
Is it safe to delete everything Disk Cleanup suggests?
Mostly yes, but uncheck "Downloads" and "Recycle Bin" if you have files you need. The other categories (temporary files, thumbnails) are safe.
What if my D drive is a recovery partition?
Don't delete files from a recovery partition—it's used to restore your system. Check the drive label; if it says "Recovery" or "System Reserved," leave it alone.
Can I move installed programs from D to C?
You can't move installed programs directly. You'd need to uninstall and reinstall them to the new location. Some launchers (like Steam) allow moving games via their settings.
Why does my D drive fill up by itself?
It might be a default location for downloads, backups, or temporary files. Check your browser's download folder and any backup software settings. Also, Windows may use D for page files if configured.
How do I know which files are safe to delete?
Look for file extensions like .tmp, .log, or folders named "Temp" or "Cache." If you're unsure, search the filename online or move it to an external drive instead of deleting.
Will cleaning D affect my operating system on C?
No, as long as you only delete files on D. Windows system files are on C. Just don't delete hidden system files on D if it's a secondary drive.