Video summary

Run These 9 CMD Commands Now to Repair Windows in Minutes

Main summary

Key takeaways

Technology

Summary

The video presents nine built-in Windows command-line tools for troubleshooting common PC problems, plus a bonus memory test. The narrator recommends opening Command Prompt as administrator and generally restarting when prompted.

  1. Update installed apps — winget upgrade --all Checks for and installs available updates for apps managed by winget. Run winget upgrade first to see what can be updated.

  2. Check Windows system files — sfc /scannow Scans protected Windows files and attempts to repair corrupted ones. If it cannot fix some files, the narrator recommends using DISM, then running SFC again.

  3. Repair the Windows component store — DISM /Online /Cleanup-Image /RestoreHealth Repairs the source files SFC relies on, using an internet connection to retrieve replacement components. The video says the process may take 15–20 minutes. Afterward, restart and run SFC again.

  4. Scan the drive — chkdsk /r Checks for file-system problems and bad sectors. For the active Windows drive, the scan may need to be scheduled for the next restart.

  5. Refresh network settings — ipconfig /flushdns, ipconfig /release, ipconfig /renew Clears the DNS cache, releases the current IP address, and requests a new one from the router. The video presents these commands as an initial fix for some connectivity problems.

  6. Reset networking components — netsh winsock reset, netsh int ip reset, netsh int tcp reset Resets Winsock and TCP/IP-related settings for more persistent network issues. The narrator recommends restarting afterward for the changes to take effect.

  7. Check drive-reported health — powershell "Get-PhysicalDisk | Format-Table FriendlyName, MediaType, HealthStatus, OperationalStatus" Displays a table of detected drives and their reported status. The narrator advises backing up data if a drive reports anything other than Healthy.

  8. Find and close processes — tasklist and taskkill tasklist displays running processes and their PIDs. The video shows terminating a process by PID with taskkill /PID [number] /F, or by name with taskkill /IM [processname.exe] /F. The /F option can close an unresponsive process.

  9. Generate a power-use report — powercfg /energy Monitors the system for 60 seconds, then creates an HTML report detailing potential energy or sleep-related issues. The video gives the report location as C:\Windows\System32\energy-report.html.

Bonus: Windows Memory Diagnostic (mdsched)

Search for mdsched to schedule or immediately run a RAM test at the next boot. The narrator notes that detected memory errors may indicate a hardware problem that software cannot repair.

Main Speaker and Source

A single narrator from the PC Control Lab channel presents the Windows troubleshooting guide.

Rate this summary

Your feedback will help improve summaries.

Improve this summary

Reprocess with a stronger model when the summary feels incomplete or inaccurate.

Pro

Translate summary in another language

Pro

Ask questions to this video

Chat for follow-up questions, clarifications, and source-backed answers.

Coming soon

Share this summary

Original video