Repairing Guides

how to repair windows using command prompt

by Miss Anita Johns Published 3 years ago Updated 2 years ago
image

Open "Start", search for the Command Prompt, select it and run as administrator. 2. Then type the command: "sfc /scannow" and press "Enter". If SFC is unable to fix the problem, probably the utility cannot get the necessary files from the Windows image, which might have become broken.Jan 12, 2022

Full Answer

How to repair windows 11 with SFC and DISM?

Repair Windows 11 with DISM using Install.wim

  • Double-click your Windows 11 ISO file, or connect your bootable USB stick.
  • Make note the letter of its drive, e.g. ...
  • Open a new Windows Terminal as Administrator, and run the dism /get-wiminfo /wimfile: G :\sources\install .wim command. ...
  • In the output, find and note the index of the Windows 11 edition that matches your currently installed OS.

More items...

How do you open command prompt?

Open the Command Prompt Tab in Windows Terminal. Right-click the Windows icon and choose Windows Terminal (Admin). Click the down arrow icon and choose Command Prompt. Alternatively, press the CTRL + SHIFT + 2 keys on the keyboard to launch Command Prompt. The CMD window will open in a new tab.

How to run DISM tool Windows 10?

To run the DISM tool by specifying a different source (install.esd) image, follow these steps:

  • Click Start.
  • Search for Command Prompt using the search bar beside the Start button.
  • Right-click on the top result, then select Run as administrator.
  • Type in the following command into the command prompt window to repair the image using an external source: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\$Windows.~BT\Sources\install.esd

More items...

How to repair and restore Windows 10?

To repair and restore Windows 10 PC with System Restore, you still need to enter into Windows 10 Recovery Environment to access Windows 10 Advanced Startup Options menu. Step 1. You can follow the same 3 ways in Fix 1 to access Windows 10 Advanced options window. Step 2.

image

How do I fix my computer using Command Prompt?

Method 2: Fix Boot and Rebuild BCD via Command PromptOpen Command Prompt according to the steps in Method 1.Type exe /rebuildbcd and press Enter.Type exe /fixmbr and press Enter.Typeexe /fixboot and press Enter.Type exit and press Enter after completing each command successfully.Restart your PC.

How do I run Windows repair?

Use a fix-it tool with Windows 10Select Start > Settings > Update & Security > Troubleshoot, or select the Find troubleshooters shortcut at the end of this topic.Select the type of troubleshooting you want to do, then select Run the troubleshooter.More items...

How do I fix a corrupted window?

How can I fix corrupted files in Windows 10 & 11?Use the SFC tool. 1.1 Run System File Checker. ... Use the DISM tool. ... Run a SFC scan from Safe Mode. ... Perform a SFC scan before Windows 10 starts. ... Replace the files manually. ... Use the System Restore feature. ... Reset corrupted Windows 10.

How do I force Startup Repair?

Open the Settings app. ... Go to Update & Security.Select the Recovery tab.Under Advanced Startup, click Restart Now.After the computer reboots, go to Troubleshoot > Advanced Options > Startup Repair.After the startup repair process is complete, reboot the computer.More items...•

What is DISM command?

Deployment Image Servicing and Management (DISM) is a command-line tool that is used to service Windows images. You can use DISM image management commands to mount and get information about Windows image (. wim) files, Full-flash utility (FFU) files, or virtual hard disks (VHD).

How do I repair Windows without a disk?

How to Repair Windows Without CD FAQLaunch Startup Repair.Scan Windows for errors.Run BootRec commands.Run System Restore.Reset This PC.Run System Image Recovery.Reinstall Windows 10.

What is sfc Scannow command?

sfc /scannow. The sfc /scannow command will scan all protected system files, and replace corrupted files with a cached copy that is located in a compressed folder at %WinDir%\System32\dllcache. The %WinDir% placeholder represents the Windows operating system folder.

How do you run a DISM scan?

Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to perform an advanced DISM scan and press Enter: DISM /Online /Cleanup-Image /ScanHealth.

How do I run repair mode in Windows 10?

Here's how:Navigate to the Windows 10 Advanced Startup Options menu. ... Once your computer has booted, select Troubleshoot.And then you'll need to click Advanced options.Click Startup Repair.Complete step 1 from the previous method to get to Windows 10's Advanced Startup Options menu.Click System Restore.More items...•

How do I do a system repair on Windows 10?

On the desktop:Open the Start menu.Click the power button.Hold down the Shift key and click Restart.You will restart and see the Troubleshoot boot menu.Go to Advanced Options>Startup Repair.

Is there a Windows 10 repair tool?

Answer: Yes, Windows 10 does have a built-in repair tool that helps you troubleshoot typical PC issues.

How do I get Windows 10 to repair itself?

Once you're inside the search menu, type “Change Advanced Startup Options.” This will locate the Advanced Startup Options menu, where you can select to restart or refresh your computer. Click “Restart now,” and you'll be guided through a series of startup options — including Startup Repair.

What to do if you can't restart your computer?

Nevertheless, if you can’t restart your system or access your important content, then you might need to take some added measures for operating system crash recovery . By using Recoverit Data Recovery Software, you can easily recover your lost or inaccessible content pretty easily. Here are some of its major features.

How long does it take to fix Windows 10?

The program will automatically fix errors in Windows 10. However, it will taker a few minutes to repair it. Just wait for it completes. After completing the operation, you can restart your system in the normal mode. If everything goes well, it will fix any issue with Windows 10.

How to enter recovery mode in Windows 10?

Step 1. Enter Windows Recovery mode. If you can still access Windows 10, open the Settings app and select Update & Security > Recovery > Advanced startup.

How to force shutdown Windows 10?

However, you can't enter Windows as normal. Follow the below steps: Shut down your computer first and then power it on. Then press the F11 key shortly. If it might not work, hold and press on the power switch to force shutdown when it starts loading Windows 10.

What to do when you can't access Windows 10?

When you cannot access the Windows 10/11 PC, you can free download Recoverit Data Recovery Software to create bootable media and recover data from hard disk.

Why is my Windows 10 startup repair not working?

As you can see, the problem of Windows 10 startup repair not working can be caused by damaged, invalid or deleted system files. This software can help you create a system image backup so that you can restore system to a normal state when problems occur. What’s more, you can use AOMEI Backupper to create a bootable device for recovery before accidents happen.

How to boot into safe mode in Windows 10?

When you are in Windows Recovery, select Troubleshoot -> Advanced options -> Startup Settings. From there, press the 6) key to boot into Windows 10 safe mode with command prompt on next restart.

What is bootrec.exe?

Bootrec.exe is a standard free utility designed to troubleshoot boot problems in the Windows Recovery Environment. If the Windows 10 Startup Repair not working, you can try to fix Windows 10 with BootRec commands.

Can you restore a system with dissimilar hardware?

Tip✍: If you want to restore system with dissimilar hardware, you can enjoy “Universal Restore” feature in AOMEI Backupper Professional or other advanced versions.

What are the commands to repair Windows 11?

Four different commands are offered in this part to help you repair Windows 11. They are SFC, DISM, bootrec.exe, and rstrui.exe. Pick up one method according to your situation.

How to open command prompt in Windows 10?

Way 1: Press the Shift + F10 keys to open the Command Prompt window.

How to backup Windows 11?

To create Windows 11 system image backup, only a few clicks are needed. Click Backup > System Backup, select a destination path to store the system image, and click Start Backup to begin .

How to open settings in Windows 10?

1. Press the Win + I keys to open Settings.

Can you repair Windows 11 with command prompt?

If your problems are concerning system files or Windows boot, you can resort to Command Prompt to repair it. Keep reading to learn how to repair Windows 11 using Command Prompt in detail.

How to restore a computer using command prompt?

While in Command Prompt, Use System Restore by typing: “ rstrui.exe” (without quotes) and press ENTER. (this assumes System Restore is activated on your computer.

What to do if all attempts at repairing your system files fails?

if all attempts at repairing your system files fails and you decide to start afresh with system files as at factory settings you can use command prompt in Windows 10 to RESET your computer. You’re STRONGLY advised to BACKUP your data files before doing this.

What does Dism do when you run Windows Update?

When you run this command, DISM uses Windows Update to provide the files that are required to fix corruptions.

What to do if Windows crashes after checking for malware?

If Windows still crashes even after checking for viruses and malware and nothing was found then, use the System File Checker (SFC) to scan Windows system files for any corruption of files and then restore the files . Follow the steps described below.

Can I repair Windows 10 with command prompt?

Yes you can repair Windows 10 with command prompt. Before you start repairing Windows 10 through the command prompt, make sure you have scanned your system with your antivirus package such as Windows Defender. Also if you have an anti-malware program such as Malwarebytes, it’s a good idea to scan your system also, ...

How to run a command prompt as administrator?

Run Search and type Command Prompt. Find Command Prompt from the results, right-click it, then select Run as Administrator.

What to do if SFC fails to replace a broken file?

If SFC fails to replace the broken Windows file, you can try doing so manually. This is possible as long as you know where the corrupt file is located. You will also need a good copy of that file so it can be replaced. Open an elevated Command Prompt and type the following command: TAKEOWN /F <FILE LOCATION>.

Does Windows Resource Protection find integrity violations?

Windows Resource Protection did not find any integrity violations – Windows was unable to find corrupt files in your hard disk. Windows Resource Protection could not perform the requested operation – This means you have to run System File Checker using Safe Mode.

Does Windows Resource Protection fix corrupted files?

Windows Resource Protection found corrupt files and successfully repaired them – Windows found the broken files and fixed them. Windows Resource Protection found corrupt files but was unable to fix some of them — Windows found corrupt files but was unable to do anything about it.

How to repair a Windows 10 image?

The DISM command tool for Windows 10 comes with three options to repair an image, including "CheckHealth," "ScanHealth," and "RestoreHealth," which you want to run in order. Depending on the severity of the issue, you can also use the "RestoreHealth" option to fix the locally available image using different source files.

How to check if a Windows 10 image is a Dism?

To check the Windows 10 image for issues with DISM, use these steps: Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to perform a quick check and press Enter: DISM /Online /Cleanup-Image /CheckHealth . Source: Windows Central.

What is DISM with RestoreHealth?

If there are problems with the system image, you can use DISM with the RestoreHealth option to scan and repair common issues automatically.

What does Dism do after you complete the steps?

Once you complete the steps, DISM will run and verify any data corruption that may require fixing.

Why is my Windows 10 installation not working?

If Windows 10 is having problems, it could result from missing or corrupted files. This guide will show you the steps to repair the installation using the Deployment Image Servicing and Management (DISM) and System File Checker (SFC) command tools.

How to run deployment image?

To run Deployment Image Servicing and Management tool with an alternate source (install.wim) image, use these steps: Open Start. Search for Command Prompt, right-click the top result, and select the Run as administrator option. Type the following command to repair the Windows 10 image and press Enter:

What is checkhealth in Windows 10?

The CheckHealth option with the Deployment Image Servicing and Management command tool allows you quickly determine if there are any corruptions inside the local Windows 10 image . However, the option does not perform any repairs.

How to access system restore command prompt?

To access the System Restore with Command Prompt, run Command Prompt from Windows recovery mode first. Then type rstrui.exeand hit Enter.

How to open command prompt without desktop?

There is one way to open Command Prompt without entering the Windows desktop. Here are steps to do that when the computer fails to boot. Step 1: Reboot your computer. When the computer shows the Windows icon, press F8 constantly to show the "Windows Setup".

What is bootrec.exe?

Bootrec.exe tool is used to troubleshoot and fix boot problems in the Windows Recovery Environment. Problems in a master boot record, a boot sector, and a boot configuration data store can be fixed by this tool.

What is the command line for Windows 10?

The command line we'll execute first is the system file check (SFC). SFC can automatically scan for corrupted and missing system files, and repair or replace them in Windows 10.

Can Bootrec fix boot problems?

Please note that even if the Bootrec.exe tool can fix most boot problems, it still could not solve every possible error in a computer startup. Therefore, when it couldn’t work, proceed to the next one.

How to repair a corrupted file?

To repair the corrupted files manually , view details of the System File Checker process to find the corrupted file, and then manually replace the corrupted file with a known good copy of the file.

What to do if Windows Update client is broken?

However, if your Windows Update client is already broken, use a running Windows installation as the repair source, or use a Windows side-by-side folder from a network share or from a removable media, such as the Windows DVD, as the source of the files . To do this, run the following command instead:

How to make sure a system file is a good copy?

You may perform a System File Checker process on that computer to make sure the system file that you intend to copy is a good copy. Take administrative ownership of the corrupted system file. To do this, at an elevated command prompt, copy and then paste (or type) the following command, and then press ENTER:

Can Windows Resource Protection perform the requested operation?

Windows Resource Protection could not perform the requested operation.

image
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9