If your laptop is slow, showing low disk space on the C drive, or you want to optimize SSD performance, this complete guide will help you step by step using built-in Windows tools only. No third-party software required.
Step 1: Check Low Disk Space on C Drive
Low disk space can cause slow performance, app crashes, and Windows update errors.
wmic logicaldisk get size,freespace,caption
This command shows total size and free space of all drives.
Step 2: Clean Junk & Unusable Files from C Drive (Safe)
Clean Temporary Files
del /s /q %temp%\*
rd /s /q %temp%
Clean Windows Temporary Files
del /s /q C:\Windows\Temp\*
rd /s /q C:\Windows\Temp
Clean Windows Update Cache
net stop wuauserv
net stop bits
rd /s /q C:\Windows\SoftwareDistribution
net start wuauserv
net start bits
This step can free up 5–25 GB of space.
Step 3: Remove Old System Restore Points
vssadmin delete shadows /all /quiet
This safely deletes old restore points to free disk space.
Step 4: Clean WinSxS (Hidden System Files)
DISM /Online /Cleanup-Image /StartComponentCleanup
This command safely removes outdated Windows components.
Step 5: Full C Drive Scan (Disk Error Check)
chkdsk C: /f /r
Type Y and restart your laptop.
This scan fixes disk errors and bad sectors.
Step 6: Repair Windows System Files
System File Checker
sfc /scannow
Windows Image Repair
DISM /Online /Cleanup-Image /RestoreHealth
These commands repair corrupted Windows files.
Step 7: Laptop Speed Test (CPU, RAM & Disk)
CPU Performance Test
winsat cpu
RAM Speed Test
winsat mem
Disk Speed Test
winsat disk -drive c
| Disk Type | Expected Speed |
|---|---|
| HDD | 80–150 MB/s |
| SATA SSD | 400–550 MB/s |
| NVMe SSD | 1500+ MB/s |
Step 8: SSD Slot Scan (NVMe / SATA)
Check Installed Drives
wmic diskdrive get model,interfacetype,mediatype,size
Check SSD Slot Type
Get-PhysicalDisk | Format-Table FriendlyName,MediaType,BusType,Size
BusType meanings:
NVMe = M.2 NVMe slot
SATA = SATA SSD/HDD slot
Step 9: Enable & Run SSD TRIM
Check TRIM Status
fsutil behavior query DisableDeleteNotify
Enable TRIM
fsutil behavior set DisableDeleteNotify 0
Manual SSD TRIM
defrag C: /L
TRIM improves SSD performance and lifespan.
Step 10: Schedule Weekly SSD TRIM
schtasks /create /tn "Weekly_SSD_TRIM" /tr "defrag C: /L" /sc weekly /d SUN /st 03:00 /rl highest /f
This runs SSD optimization automatically every week.
Step 11: Final Speed Optimization Tips
Disable Startup Programs
msconfig
Uninstall Unused Software
appwiz.cpl
Avoid uninstalling system components such as Microsoft Visual C++, .NET Framework, and device drivers.
Important Folders You Must NOT Delete
C:\Windows
C:\Program Files
C:\Program Files (x86)
C:\ProgramData
C:\EFI
Final Result
- Low disk space fixed
- Faster laptop performance
- SSD optimized with TRIM
- Disk errors repaired
- System ready for upgrade
Conclusion
This complete Windows optimization guide helps you clean the C drive, improve laptop speed, scan SSD slots, and maintain SSD health safely without reinstalling Windows.