Windows Cleanup
Free Up Disk Space Without Deleting Personal Files
Free disk space safely by reviewing large files, using Disk Cleanup, and avoiding dangerous delete commands.
Low disk space can slow Windows down and cause update problems. The safest approach is to identify large files and use built-in cleanup tools instead of deleting unknown folders.
Check drive free space
Get-PSDrive -PSProvider FileSystem
Find large files in Downloads
Get-ChildItem "$env:USERPROFILE\Downloads" -Recurse -File -ErrorAction SilentlyContinue | Sort-Object Length -Descending | Select-Object FullName, @{Name="SizeMB";Expression={[math]::Round($_.Length/1MB,2)}} -First 20
Use Disk Cleanup
cleanmgr
What not to delete
- Do not delete unknown files from
C:\Windows. - Do not delete driver folders randomly.
- Do not delete restore points just to gain a small amount of space.