1.7 KiB
Network Reset
Run the following command in an elevated Command Prompt:
ipconfig /flushdns && ipconfig /release && ipconfig /renew && ipconfig /registerdns && netsh winsock reset && shutdown /r
This will, in order:
- Flush the DNS Records
- Release the IP Address
- Renew the IP Address
- Re-registers the DNS Records
- Resets the Winsock Catalog (requires a reboot after)
- Restarts the PC
Be cautious if running these commands while remotely connecting to another computer. The "&&" operator tells CMD to run the commands one after the other. If you run them one at a time instead, you will lose connection to the computer before you can complete the rest. It might be best to have someone on the other end in case you lose connection, or the computer does not regain connection after the restart.
SFC & DISM Commands
The following commands will repair/replace corrupted/missing system files, as well as clear up disk space. They must all be ran in an elevated Command Prompt:
sfc /scannow
If it reports no issues found or all issues fixed, you are done. or, optionally skip to Step 6. Otherwise, continue to Step 2.
DISM /Online /Cleanup-Image /CheckHealth
DISM /Online /Cleanup-Image /ScanHealth
DISM /Online /Cleanup-Image /RestoreHealth
- Repeat Step 1
Note: the following optional steps will free up disk space, but also remove files allowing uninstallation of Windows Updates
DISM /Online /Cleanup-Image /AnalyzeComponentStore
If prompted to reboot, do so
DISM /Online /Cleanup-Image /StartComponentCleanup
DISM /Online /Cleanup-Image /StartComponentCleanup /ResetBase