Best Run Commands to Speed Up Windows PC

Best Windows Run Commands to Speed Up Your PC in 2026
A slow computer can reduce productivity and make everyday tasks frustrating. Fortunately, Windows includes several built-in Run commands and system utilities that can help improve performance without installing third-party software.
In this guide, you will learn the best Windows Run commands to clean temporary files, optimize startup programs, remove junk data, and improve overall system speed on Windows 10 and Windows 11 PCs.
Why Your Windows PC Becomes Slow
Over time, your computer stores:
- Temporary files
- Cache data
- Background startup applications
- Junk system files
- Unused software
These files consume storage, RAM, and CPU resources, which eventually slows down system performance.
Using Windows optimization commands regularly can help keep your PC fast and responsive.
Best Run Commands to Speed Up Windows PC
1. %temp% — Delete User Temporary Files
genui{“math_block_widget_always_prefetch_v2”:{“content”:”f(x)=x”}}
The %temp% folder stores temporary files created by applications and Windows processes. Deleting these files can free up storage and improve performance.
Steps:
- Press
Windows + R - Type
%temp% - Press Enter
- Select all files using
Ctrl + A - Delete all files
Benefits:
- Frees storage space
- Removes junk cache
- Improves system responsiveness
2. temp — Remove System Temporary Files
The temp command opens another temporary folder used by Windows.
Steps:
- Press
Windows + R - Type
temp - Press Enter
- Delete all files
Some files may be in use and cannot be deleted. Simply skip those files.
3. prefetch — Clean Prefetch Cache
Windows uses Prefetch files to speed up app loading. Over time, these files can become bloated.
Steps:
- Press
Windows + R - Type
prefetch - Press Enter
- Click Continue if prompted
- Delete all files
Benefits:
- Cleans outdated cache
- Reduces unnecessary storage usage
4. cleanmgr — Use Disk Cleanup
Disk Cleanup is a built-in Windows utility that removes:
- Temporary files
- Recycle Bin data
- Windows update cache
- System junk files
Steps:
- Press
Windows + R - Type
cleanmgr - Press Enter
- Select Drive
C: - Click OK and remove unwanted files
Benefits:
- Recovers several GB of storage
- Improves disk performance
5. msconfig — Disable Startup Programs
Too many startup applications can slow down boot time.
Steps:
- Press
Windows + R - Type
msconfig - Press Enter
- Open the Startup tab
- Disable unnecessary applications
Benefits:
- Faster boot speed
- Reduced RAM usage
Advanced Windows Commands for Better Performance
services.msc
Manage Windows background services.
taskmgr
Open Task Manager to monitor CPU, RAM, and disk usage.
resmon
Launch Resource Monitor for detailed system analysis.
perfmon
Check advanced system performance statistics.
appwiz.cpl
Uninstall unnecessary applications.
diskmgmt.msc
Manage hard drives and partitions.
devmgmt.msc
Open Device Manager to update drivers.
Important CMD Commands for Windows Repair
sfc /scannow
Scans and repairs corrupted Windows system files.
How to Use:
- Open Command Prompt as Administrator
- Run:
sfc /scannow
chkdsk
Checks hard drive errors and bad sectors.
Command:
chkdsk
ipconfig /flushdns
Clears DNS cache and can improve internet connectivity issues.
Command:
ipconfig /flushdns
Complete Windows Speed Optimization Commands Table
| Command | Purpose |
|---|---|
%temp% | Delete user temporary files |
temp | Remove system temp files |
prefetch | Clear prefetch cache |
cleanmgr | Run Disk Cleanup |
msconfig | Disable startup apps |
services.msc | Manage background services |
taskmgr | Open Task Manager |
appwiz.cpl | Uninstall software |
diskmgmt.msc | Open Disk Management |
devmgmt.msc | Open Device Manager |
resmon | Resource Monitor |
perfmon | Performance Monitor |
cmd | Open Command Prompt |
powershell | Open PowerShell |
dxdiag | Check hardware information |
sfc /scannow | Repair system files |
chkdsk | Check disk errors |
ipconfig /flushdns | Clear DNS cache |
Additional Tips to Make Your PC Faster
- Upgrade from HDD to SSD
- Increase RAM capacity
- Keep Windows updated
- Use a lightweight antivirus
- Avoid unnecessary browser extensions
- Restart your PC regularly
Conclusion
Using these Windows Run commands and CMD utilities regularly can significantly improve your PC’s speed and overall performance. These methods are free, safe, and effective for Windows 10 and Windows 11 users.
By cleaning temporary files, disabling startup apps, and repairing system files, you can keep your computer running smoothly without installing third-party optimization software.
Best Windows Run Commands to Speed Up Your PC | Complete Windows Optimization Guide 2026
Learn the best Windows Run commands to speed up your PC. Use %temp%, temp, prefetch, cleanmgr, msconfig, CMD repair tools, and optimization tips for Windows 10 & 11.
इन कमांड्स का उपयोग करके आप बिना किसी सॉफ्टवेयर के अपने Windows कंप्यूटर की स्पीड बेहतर कर सकते हैं।










Leave a Reply