Productivity
Coding
Video and graphics
System and file repair
sfc /scannowDISM.exe /Online /Cleanup-image /Restorehealthchkdsk C: /f /rtaskkill /f /im program.exe
Network and connectivity
ipconfig /flushdnsipconfig /releaseandipconfig /renewping google.com
System information
systeminfowmic csproduct get name, identifyingnumber
Advanced tools
cleanmgrshutdown /r /o /t 0
Application administration
Clear terminal history
Clear-Historydel "%APPDATA%\Microsoft\Windows\PowerShell\PSReadLine\ConsoleHost_history.txt"Remove-Item (Get-PSReadLineOption).HistorySavePath -ErrorAction Ignore
Clear Microsoft Store and Windows Update caches
wsreset.exenet stop wuauservdel /q /s "%WINDIR%\SoftwareDistribution\Download\*"net start wuauservwinget source updatewinget upgrade --all
Firewall
Manage the firewall through the Windows Security app.
- Open Windows Security → Firewall & network protection
- Toggle the firewall on or off separately for domain, private, and public networks
- Allow a specific app through the firewall: Firewall & network protection → Allow an app through firewall → Change settings
Copying files via terminal
copy file.txt D:\Backup\xcopy C:\Source D:\Destination /E /H /C /Irobocopy C:\Source D:\Destination /E
Disk usage and storage
- Settings → System → Storage for an overview per category
- Right-click a drive in File Explorer → Properties for total and free space
cleanmgrfor the built-in Disk Cleanup tool
Scheduled tasks
- Open Task Scheduler (
taskschd.msc) to create, edit, or view scheduled tasks - Tasks can be triggered by time, login, or system events
Compression and archiving
- Right-click a file or folder → Compress to ZIP file
- Right-click a ZIP file → Extract All
