LIMEHAWK - Managed IT
Disk Space Analysis — automation
dateOct 30, 2024
statusRESOLVED
space identified98 GB recoverable
Incident

Ticket came in as "my computer is really slow." Remote user, 256GB laptop. Task Manager normal. Performance diagnostics normal. Then we noticed C: drive: 2.1GB free of 256GB. User had no idea disk was full. Needed to find what was eating 250GB without scheduling a remote session and making user wait while WinDirStat scanned for 20 minutes.

Why Full Disks Cause "Slowness"
no room for swapcan't expand page file
no room for tempapps crash on write
no browser cacheChrome constantly writes/deletes
update stuckdownloads, constantly retries

Users almost never connect "disk full" with "computer slow." They see slowness and think virus, bad hardware, or "needs more RAM." The actual problem is their 47GB of vacation videos in Downloads.

Why Traditional Analysis Doesn't Scale
RDP + WinDirStat — user coordination, 15-20 min scan
Get-ChildItem — single-threaded, 30+ minutes
Storage Settings — only shows categories, not actionable
ask the user — "I don't know, that's why I called"

Needed something that scans fast, runs silently via RMM, returns actionable output to logs without any user interaction.

Solution

Script that downloads gdu (fast Go-based disk analyzer) on-demand, runs parallel scan, outputs largest directories to RMM logs. No pre-installation, no user interaction, results in 30-60 seconds.

Why GDU Works
parallel scanninguses all CPU cores, 30-60 sec
hash verificationSHA256 checked before execution
non-interactive-n flag outputs clean text
self-cleaningdownloads on-demand, no footprint

What we found: Downloads folder 67GB - five years of installers, zip files, video recordings. AppData\Local\Microsoft\Teams had another 23GB.

Outcome
scan time43 seconds
space identified98 GB recoverable
user interruption0 minutes (fully background)

Sent user summary email with specific folders to clean. They deleted 85GB themselves, we ran automated cleanup script for the rest.

"slow computer" tickets often disk space issues
gdu parallel scanning 10-20x faster than traditional
Downloads and app caches are #1 and #2 space hogs
self-deploying tools beat pre-installed for RMM
Get Help

Need remote diagnostics for your fleet? We build automation that gives visibility into endpoint issues without disrupting users.