cmd – Diagnose and fix common problems
Here are a few commonly used commands:
sfc /scannow: This command scans system files for any corruption and attempts to repair them.
chkdsk /f: It checks the file system and attempts to fix any errors on the hard drive.
DISM /Online /Cleanup-Image /RestoreHealth: This command checks the Windows image for corruption and repairs it using Windows Update.
ipconfig /flushdns: It clears the DNS resolver cache, which can help resolve network-related issues.
netsh winsock reset: This command resets the Winsock catalog, which can help fix network connection problems.
bootrec /fixmbr: It repairs the Master Boot Record (MBR) on the system partition, which can help resolve boot-related issues.
Please note that these commands should be used with caution, and it’s recommended to research their usage and potential effects before executing them. Additionally, some commands may require administrative privileges, so it’s advisable to run Command Prompt as an administrator. It’s always a good idea to back up your important data before attempting any repairs or modifications to your computer.
Credit to original writer