Microsoft’s Command Prompt, also called CMD, acts as a command line interface. This is a platform-independent command-line interpreter and shell for Windows.
The Command Prompt can only display text output, but it supports various esoteric keyboard commands.
- Using this method, you can fix your PC’s boot issues in a matter of minutes.
Boot into Safe Mode
- Press Windows + I to open the Settings app, and select Update & Security from the tabs on the left.
- Click the Recovery tab on the right.
- Now, select Get started under the Advanced startup section.
- Now, select Troubleshoot, and click the Advanced options link.
- Select the Startup Settings option, and click the Restart button.
- After your PC restarts, you’ll be asked to choose the startup options. Choose Safe Mode with Networking and press F8.
- Once in Safe Mode, open Command prompt with Administrator privileges.
- In the command line, type the following command and press Enter to confirm it: DISM /Online /Cleanup-image /Restorehealth
- Wait for the scanning process to finish, and restart your PC.
Run an SFC scan
- Start Command prompt as administrator.
- Enter sfc/scannow in the Command prompt.
- Press Return to run the SFC scan.
- Then press the Y key if the SFC scan detects any issues.
- Then, press the Enter key to start the SFC scan.
- If the SFC scan resolves the error, press the Enter key.
- Then, press the Enter key again to start the SFC scan.
- If the SFC scan resolves the error, press the Enter key.
- Then, press the Enter key again to start the SFC scan.
- If the SFC scan resolves the error, press the Enter key.
- Then, press the Enter key again to restart Windows.
Fix Windows Update with a Deployment Image File System (DISM) scan
- Fix Windows Update with System File Checker (SFC)
Fix Windows Update with Command prompt - Fix Windows Update with Command Prompt (Version 2)
- Fix Windows Update with Command Prompt (Version 3)
- Fix Windows Update with Command Prompt (Version 4)
- Fix Windows Update with Command Prompt (Version 5)
Run the DISM command
- Press the Windows key + X hotkey.
- Select Command prompt (Admin) to open an elevated prompt window.
- Enter your administrator password in the Command prompt window.
- Paste the below command and press Enter: dism.exe /online /get-windowsfeatures
- Now, paste the below command and press Enter: dism.exe /online /get-windowsfeature /featurename:WindowsFeatureInstaller
- Press the Enter key.
Fix Windows Update with an Automatic Repair tool
- Disable Automatic Repair
- Fix Windows Update with an Automatic Repair tool
- Reinstall Windows Update
- Restart the Windows Update Service
- Use the sfc /scannow Command prompt
- Use the dism command
Run a System File Checker scan
- Press Windows key + X and select Command prompt (Admin) or PowerShell (Admin).
- In the Command prompt window, type the following command and press Enter: sfc /scannow
- Wait until the System File Checker scan is complete.
Use System Restore
- Hold down the Windows key and X key at the same time.
- Click on System Restore
- Follow the onscreen instructions
- Select the desired restore point
