Cmd fix windows 10

Содержание
  1. How to use DISM command tool to repair Windows 10 image
  2. How to use DISM to repair image of Windows 10
  3. DISM command with CheckHealth option
  4. DISM command with ScanHealth option
  5. DISM command with RestoreHealth option
  6. Fix problems with DISM using install.wim image
  7. Download Windows 10 ISO file
  8. Fix Windows 10 recovery image
  9. Fix problems with DISM using ESD image
  10. How to run SFC to repair problems on Windows 10
  11. More Windows 10 resources
  12. Age of Empires 4 devs talk about their vision of a true Age 2 successor
  13. Expect new content for Age of Empires 2 and 3 Definitive Editions soon
  14. Review: HP ENVY 14 brings premium features to a fantastic creator’s laptop
  15. These are the best PC sticks when you’re on the move
  16. How to Repair Windows 10 using Command Prompt?
  17. This post all talks about how to repair Windows 10 using the command prompt.
  18. Part 1. How to Repair Windows 10 using Command Prompt
  19. Step 1. Enter Windows Recovery mode
  20. Step 2. Using Command Prompt to repair Windows 10
  21. Part 2. How to Repair and Recover Windows 10 with Bootable Media
  22. Как восстановить загрузчик Windows
  23. Содержание:
  24. Причины неполадок загрузчика
  25. Восстановление при загрузке
  26. Восстановление работоспособности загрузчика Windows в командной строке
  27. Восстановление удаленных данных
  28. Часто задаваемые вопросы
  29. How to Repair Windows 10 Using Command Prompt (5 Ways)?
  30. How do I repair Windows 10 with command prompt?
  31. Method 1. How to repair Windows 10 using SFC?
  32. Method 2. How to repair Windows 10 using DISM?
  33. Method 3. How to reset Windows 10 with command line?
  34. Method 4. How to run system restore with command prompt?
  35. Method 5. How to repair Windows 10 with AOMEI.exe?

How to use DISM command tool to repair Windows 10 image

Source: Windows Central

On Windows 10, the Deployment Image Servicing and Management is a command-line tool designed for administrators to prepare, modify, and repair system images, including Windows Recovery Environment, Windows Setup, and Windows PE (WinPE). However, anyone can also use the tool with the local recovery image to resolve common system problems.

Usually, when you need to troubleshoot a specific error, determine why the device stops booting correctly, or resolve performance issues, you can use the System File Checker command-tool to scan and replace missing or corrupted system files using the recovery image. The caveat using this approach is that if one or more Windows 10 files in the image are damaged, the SFC command won’t work. If you are in this scenario, you can use the «install.wim» image with DISM to repair the image and then use the SFC tool to fix the setup without having to reisntall Windows from scractch.

In this Windows 10 guide, we will walk you through the steps to use the DISM and SFC tools with Command Prompt to bring a computer back to a healthy working state without the need for reinstallation.

Warning: The commands outlined in this guide are non-destructive, but since you will be making system changes is still recommended to create a temporary full backup before proceeding.

How to use DISM to repair image of Windows 10

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.

DISM command with CheckHealth option

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.

To check the Windows 10 image for issues with DISM, use these steps:

Type the following command to perform a quick check and press Enter:

DISM /Online /Cleanup-Image /CheckHealth

Source: Windows Central

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

DISM command with ScanHealth option

The ScanHealth option performs a more advanced scan to determine if the OS image has any problems.

To check problems with the ScanHealth option, use these steps:

Type the following command to perform an advanced DISM scan and press Enter:

DISM /Online /Cleanup-Image /ScanHealth

Source: Windows Central

After you complete the steps, the advanced scan may take several minutes to check and determine whether the Windows 10 image needs repairing.

DISM command with RestoreHealth option

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

To repair Windows 10 image problems with the DISM command tool, use these steps:

Type the following command to repair the Windows 10 image and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth

Source: Windows Central

Quick note: If the command appears stuck at any point, this is normal behavior. After a few minutes, the process will complete successfully.

Once you complete the steps, the Deployment Image Servicing and Management tool will connect to Windows Update online to download and replace damaged files (if applicable).

Fix problems with DISM using install.wim image

The DISM command typically completes without issues, but if there are problems replacing the damaged files or you are not connected to the internet, you will need to provide another image using the Source option to complete the task. Usually, you can use an «install.wim» or «install.esd» file from another computer, bootable install media, or Windows 10 ISO file. However, you have to make sure that the files match the version, edition, and language of the version of Windows 10 you are trying to fix.

Download Windows 10 ISO file

If you need to use a different source for the files, it is recommended to use the Media Creation Tool to download a fresh copy of Windows 10.

Читайте также:  Switch off для windows 10

To download the ISO file of Windows 10, use these steps:

Select the Create installation media (USB flash drive, DVD, or ISO file) for another PC option.

Source: Windows Central

Click the Next button again.

Source: Windows Central

Select the ISO file option.

Source: Windows Central

Click the link to open the file location with File Explorer.

Source: Windows Central

Under the «This PC» section, confirm the drive letter for the mount in the left pane.

Source: Windows Central

After you complete the steps, you can continue with the DISM tool using the «Source» option to repair the local image of Windows 10.

Fix Windows 10 recovery image

To run Deployment Image Servicing and Management tool with an alternate source (install.wim) image, use these steps:

Type the following command to repair the Windows 10 image and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.wim

Source: Windows Central

In the command, replace «F» with the drive letter corresponding to the ISO mount point in File Explorer.

(Optional) Type the following command to limit the use of Windows Update and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:E\Sources\install.wim /LimitAccess

(Optional) Type the following variant of the previous command to accomplish the same task and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\Sources\install.wim:1 /LimitAccess

Once you complete the steps, the command will scan and repair the most common problems using the «install.wim» file you specified as the alternative source.

Fix problems with DISM using ESD image

If you have an encrypted «install.esd» image, you can also use it to repair the damaged files on Windows 10.

To use DISM with an «install.esd» image file as the source to repair Windows 10, use these steps:

Type the following command to repair the image with an «install.esd» file and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esd

Source: Windows Central

In the command, change C:\ESD\Windows\sources with the path that corresponds to the location of the «.esd» file (if applicable).

(Optional) Type the following command to limit the use of Windows Update and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:C:\ESD\Windows\sources\install.esd /LimitAccess

(Optional) Type the following variant of the previous command to accomplish the same task and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:esd:C:\ESD\Windows\sources\install.esd:1 /LimitAccess

(Optional) Type the following command to use an install.esd file located in another drive and press Enter:

DISM /Online /Cleanup-Image /RestoreHealth /Source:E:\Sources\install.esd

In the command, replace F:\Sources with the path to the location of the «install.esd» file.

After you complete the steps, DISM will repair the damaged files using the files included in the «install.esd» image.

How to run SFC to repair problems on Windows 10

The instructions outlined above are meant to fix issues with the system image, not the problems with the actual installation of Windows 10. After the image has been restored to a healthy state, you have to use the System File Checker (SFC) command tool to repair the current setup.

To use the SFC command tool to repair the Windows 10 installation, use these steps:

Type the following command to repair the installation and press Enter:

Source: Windows Central

Quick tip: If errors are found, you may want to run the command around three times to ensure that everything was fixed correctly.

You can use this guide to learn more ways to use the SFC tool to fix problems on Windows 10.

More Windows 10 resources

For more helpful articles, coverage, and answers to common questions about Windows 10, visit the following resources:

We may earn a commission for purchases using our links. Learn more.

Age of Empires 4 devs talk about their vision of a true Age 2 successor

We now have a whole lot more information about Age of Empires 4, and we sat down with three developers to further discuss some of the details about the next big RTS game.

Expect new content for Age of Empires 2 and 3 Definitive Editions soon

Microsoft and its studio partners aren’t letting Age of Empires fade away. New content for Age of Empires 2 and 3 DE is planned, some sooner than later.

Review: HP ENVY 14 brings premium features to a fantastic creator’s laptop

These are the best PC sticks when you’re on the move

Instant computer — just add a screen. That’s the general idea behind the ultra-portable PC, but it can be hard to know which one you want. Relax, we have you covered!

Источник

How to Repair Windows 10 using Command Prompt?

This post all talks about how to repair Windows 10 using the command prompt.

David Darlington

Dec 21, 2020 • Filed to: Windows Computer Solutions • Proven solutions

With the rising popularity of Windows 10, most computers are installed Windows 10 OS. Windows 10 possesses excellent stability, but in some cases, you may still encounter various Windows errors like failure to boot, blue screen issues, even crashing. For this kind of instance, we have to repair it. Fortunately, Windows provides a command-line tool to help you to solve all kinds of system issues. By following the below steps, you can learn how to repair Windows 10 using Command Prompt.

Part 1. How to Repair Windows 10 using Command Prompt

Windows 10 provides a very useful command-line tool to help you repair your system.В We just need to enter the recovery mode of the system. In most cases, we can enter the recovery mode with just simple steps when you are not able to boot your computer in the usual manner.В You can follow the steps below to enter the recovery mode of 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. Then click Restart now button. The computer will boot into Windows Recovery mode automatically.

Читайте также:  Microsoft office 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. Next, repeat this operation 3-4 times until seeing the Recovery mode screen. Then select Troubleshoot > Advanced options > Command Prompt.

Step 2. Using Command Prompt to repair Windows 10

Once you launch the Command Prompt tool, enter the following command:

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.

By following these steps, you would be able to learn how to repair Windows 10 using Command Prompt. Though, if you can’t access your important data files due to a malfunctioning system, then you can follow the next tutorial.

Part 2. How to Repair and Recover Windows 10 with Bootable Media

We are sure that by following the above-mentioned solution, you would be able to learn how to repair Windows 10 using Command Prompt. If your system is working flawlessly, then you don’t have to worry a bit. 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.

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

Источник

Как восстановить загрузчик Windows

Windows выдает ошибку во время загрузки и не запускается? Устранить неполадки с запуском операционной системы и восстановить функционал загрузчика можно при помощи командной строки.

Содержание:

Причины неполадок загрузчика

Проблемы с загрузкой Windows являются явным признаком повреждения файлов, отвечающих за загрузку ОС. Некорректный запуск системы может быть вызван многими причинами.

Самые частые из них :

Восстановление при загрузке

«Битые» или отсутствующие файлы загрузчика ОС приводят к невозможности запуска и корректной работы компьютера. В таком случае необходимо прибегнуть к восстановлению загрузчика Windows следующим способом:

Шаг 1. Чтобы начать восстановление загрузки, понадобится диск восстановления Windows или загрузочная флешка. Важно: для корректной работы системы восстановления необходимо произвести загрузку в той же разрядности (32 или 64-bit), что и текущая ОС. В случае загрузки с установочного диска, на экране установки необходимо выбрать «Восстановление системы».

Шаг 2. На экране восстановления необходимо выбрать пункт «Диагностика».

Шаг 3. В открывшемся окне следует выбрать «Восстановление при загрузке».

После этого будет активировано автоматическое восстановление и исправление неполадок, не позволяющих провести нормальную загрузку ОС.

К сожалению, автоматические методы восстановления не всегда помогают возобновить работоспособность ОС, поэтому иногда следует прибегнуть к ручному восстановлению при помощи командной строки.

Восстановление работоспособности загрузчика Windows в командной строке

Чтобы приступить к восстановлению загрузчика при помощи командной строки, прежде всего ее необходимо открыть. Это можно сделать, воспользовавшись загрузочной флешкой или меню восстановления и диагностики.

В случае использования загрузочного накопителя, необходимо нажать Sfit+F10 на экране выбора языка.

Зайти в командную строку через меню диагностики можно, нажав по соответствующей иконке.

После открытия командной строки необходимо ввести следующие команды:

Введение каждой из команд необходимо подтверждать клавишей Enter.

Такой порядок позволит узнать, какой диск является системным (по умолчанию это диск С), и на основе этих знаний попытаться выполнить программное восстановление файлов загрузчика.

После этого необходимо ввести команду bcdboot c:\windows, исправляющую большинство проблем с загрузчиком.

Стоит отметить, что при наличии нескольких ОС, установленных на компьютере, данные действия следует проделать поочередно для каждой системы.

Если такой способ не сработал, можно полностью очистить загрузчик и создать его файлы по новой.

Для этого: открываем командную строку любым удобным способом. Вводим diskpart. Затем volume list. После чего находим скрытый диск с загрузчиком (как правило, это диск размером 100-500 мб, создаваемый системой по умолчанию в формате FAT32) и запоминаем букву данного раздела.

Теперь необходимо ввести ряд команд, удаляющих и создающих заново загрузчик.

На этом восстановление загрузчика можно считать законченным.

Теперь необходимо удалить присвоенную букву тома. Это можно сделать в командной строке следующим образом:

Теперь для нормальной загрузки ПК достаточно перезагрузить систему.

Восстановление удаленных данных

Некорректная работа операционной системы и проблемы с загрузчиком могут говорить о наличии вирусов, которые буквально уничтожают все файлы. Если вы обнаружили, что ваши важные данные исчезли, рекомендуем воспользоваться программой RS Partition Recovery, которая сможет быстро восстановить все удаленные данные, поврежденные вирусами или утерянные в случае случайного форматирования.

Также программа RS Partition Recovery позволяет восстанавливать фотографии, видеофайлы, текстовые документы и т.д. после удаления вплоть до нескольких месяцев назад. На сайте recovery-software.ru вы сможете ознакомится со всеми преимуществами и особенностями RS Partition Recovery, а также других продуктов от Recovery Software.

Часто задаваемые вопросы

Это сильно зависит от емкости вашего жесткого диска и производительности вашего компьютера. В основном, большинство операций восстановления жесткого диска можно выполнить примерно за 3-12 часов для жесткого диска объемом 1 ТБ в обычных условиях.

Если файл не открывается, это означает, что файл был поврежден или испорчен до восстановления.

Используйте функцию «Предварительного просмотра» для оценки качества восстанавливаемого файла.

Когда вы пытаетесь получить доступ к диску, то получаете сообщение диск «X: \ не доступен». или «Вам нужно отформатировать раздел на диске X:», структура каталога вашего диска может быть повреждена. В большинстве случаев данные, вероятно, все еще остаются доступными. Просто запустите программу для восстановления данных и отсканируйте нужный раздел, чтобы вернуть их.

Пожалуйста, используйте бесплатные версии программ, с которыми вы можете проанализировать носитель и просмотреть файлы, доступные для восстановления.

Сохранить их можно после регистрации программы – повторное сканирование для этого не потребуется.

Читайте также:  Behringer uca202 windows 10

Источник

How to Repair Windows 10 Using Command Prompt (5 Ways)?

When your computer won’t work properly, you can learn how to repair Windows 10 using command prompt from this article.

By AOMEI / Last Updated March 9, 2021

How do I repair Windows 10 with command prompt?

When there is some problem happens to Windows, you can repair your windows with some basic repair like Windows directory repair, boot directory repair. When the error is too serious, you can run advanced repair like system restore. For Windows 10, you can also use DISM command line utility to repair Windows 10 image. Next, this article will introduce you how to repair Windows 10 using command prompt with five methods.

Method 1. How to repair Windows 10 using SFC?

SFC (System File Checker) is a command-line utility that can scan for corruption in Windows system files and replace any corrupted or missing protected system files with a known good version. When you feel buggy with your computer or notice problems during boot, you can use SFC to diagnose problems and repair it.В

To repair Windows 10 using SFC with detailed steps:

1. 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. In this situation, you can use DISM to repair the Windows image.

Method 2. How to repair Windows 10 using DISM?

Windows 10 includes a command-line utility known as DISM (Deployment Image Servicing and Management). DISM command Windows 10 can be used to repair and prepare Windows images, including, Windows Setup, Windows Recovery Environment, and Windows PE. Also, DISM can be used to fix the recovery image within an installation of the operating system.

To repair Windows 10 using DISM commands:

To check whether there is any corruption, Run command line as administrator, then type the following syntaxВ and press «Enter».

DISM /Online /Cleanup-Image /CheckHealth

To scan the Windows image for any corruption, type below command and hit «Enter».

DISM /Online /Cleanup-Image /ScanHealth

To fix Windows image, type the following command and hit «Enter».

DISM /Online /Cleanup-Image /RestoreHealth /Source:repairSource\install.wim

Method 3. How to reset Windows 10 with command line?

To reset Windows 10 with «Reset this PC», follow the instructions below:

Method 4. How to run system restore with command prompt?

If the problem is too severe, you can try to restore your Windows 10 to the previous state as long as you have enabled system restore. But, it willВ notВ restoreВ documents, music, emails, or personal files of any kind. If this is what you need, see below.

To run system restore in safe mode, follow the steps below:

1. Start your computer and press «F8» repeatedly until the Windows advanced options menu appears.

2. Click «Safe Mode with command prompt» and press «Enter». If your computer can boot normally, type «cmd» in the search box and click «Command Prompt» to continue.

3. Sign in using an administrator account if needed. Once the command prompt is showing, enterВ «rstrui.exe» at first in the Command Prompt Window andВ press «Enter» to continue.

4. This command will bring you to the interface of System Restore. You can either use the recommended restore point or click «Next» to choose an available restore point. Then, follow the instruction to complete system restore.

Method 5. How to repair Windows 10 with AOMEI.exe?

Besides system restore, you can also repair Windows 10 with AOMEI.exe. AOMEI Backupper is a reliable backup and restore software which is designed for Windows 10/8/7/XP/Visa. You can either backup and restore from graphic users interface or command line. It has some features that Windows built-in tool does not have. For example, you can use AOMEI Backupper to create incremental backup, and you can restore to a dissimilar hardware.

Suppose you have created system image backup with AOMEI Backupper. Before restoring system, you can use a utility named Check Image to check if system image backup is intact and without error.В

Then, use the following steps to restore windows 10 with AOMEI.exe:

1. Navigate to AOMEI Backupper installation directory by typing the following command in command line and press «Enter». For example: cd C:\Program Files (x86)\AOMEI Backupper.

Note: If you run this command under Windows PE environment, the drive letters might change.

2. Run the following command to start restore: AMBackup /r /t [backup type] /s «[backup location path]» /d [destination location]. For example: To restore the system backup saved in J:\systembackup1 to disk 1. You should type the command: AMBackup /r /t system /s “J:\system backup\systembackup1.adi” /d 1

Tip: If you need to restore to another computer, AOMEI Backupper «Universal Restore» feature can make this very easy. For example: Run system restore in the image named «systembackup1.adi» to the partition 0 on disk 0 and perform a universal restore. AMBackup /r /t system /s «D:\system backup\systembackup1.adi» /d 0:0 /x

Now you have learned how to repair Windows 10 using command line with five methods. You can choose one based on your preference. It is also suggested to keep backup software AOMEI Backupper installed on your computer to provide continuous protection (try 30-day free trial).В

Also, you can find «Recovery Environment» utility in «Tools» toВ enable the boot option of AOMEI Backupper recovery environment. When system crashes, it enables you to perform backup/restore from boot easily.

If you want to protect unlimited computers within your company, you can pick AOMEI Backupper Technician. With the inbuilt AOMEI Image Deploy tool, you are also allowed to deploy/restore system image file on server-side computer to multiple client-side computers over network.

Источник

Поделиться с друзьями
Советы экспертов и специалистов
Adblock
detector