Repair a Windows Image
Repair a Windows image using DISM. You can repair offline Windows image in a WIM or VHD file, or an online Windows image. An online Windows image will also attempt to repair itself if it becomes unserviceable. The repair source for this operation is the same source that is used for Features on Demand and is determined by Group Policy settings. For more information, see Configure a Windows Repair Source. When you use the DISM tool to repair an online or offline image, you can use the /Source argument with the /RestoreHealth argument to specify additional repair source locations to use to search for the required files.
For a quick check of an online image, you may be able to use the command: sfc /scannow to scan and repair files.
For a more extensive check that can repair issues with the store, use DISM /Cleanup-Image .
To check if an image is repairable
Scan the image to check for corruption. This operation will take several minutes. For example, at a command prompt, type the following command:
Check the image to see whether any corruption has been detected. For example, at a command prompt, type:
When you use the /CheckHealth sfc argument, the DISM tool will report whether the image is healthy, repairable, or non-repairable. If the image is non-repairable, you should discard the image and start again. If the image is repairable, you can use the /RestoreHealth argument to repair the image.
To repair an image
Use the /RestoreHealth argument to repair the image. For example, to repair an offline image using a mounted image as a repair source, at a command prompt, type the following command:
Or to repair an online image using some of your own sources instead of Windows Update, type:
If you do not specify a /Source for the repair files, the default location for Features on Demand is used. For more information, see Configure a Windows Repair Source. If you specify more than one /Source, the files are copied from the first location where they are found and the rest of the locations are ignored. You can use /LimitAccess to prevent the DISM tool from using Windows Update as a repair source or as a backup repair source for online images.
Repairing images during servicing
In some cases, an image can be corrupted while modifying it with DISM. Use /Cleanup-MountPoints to repair it. This command will not unmount images that are already mounted, nor will it delete images that can be recovered using the /Remount-Image command.
Prepare recovery tools for your Windows images
If you want to reset a computer that runs Windows 10, see Recovery options in Windows 10.
OEMs: When you create custom Windows 10 and Windows Server images, update the recovery tools.
Windows Recovery Environment (Windows RE)
Both Windows 10 and Windows Server include a recovery environment that can repair common causes of unbootable operating systems.
Some customizations that you add to Windows should also be added to Windows RE:
Customization | What do I need to update? |
---|---|
Boot-critical drivers or languages | If you add these to your Windows image, add those same drivers and languages (when available) to Windows RE. |
Custom recovery tools | Add a custom tool to the Windows RE boot options menu |
Dedicated hardware button | Add a dedicated hardware button to boot immediately to WinRE |
- Deploy Windows RE: If you’re deploying Windows using a .wim file, use these instrutions to deploy the recovery partition and hide the recovery drive letters.
Push-button reset
Windows 10 users can reset their device, either keeping data and apps intact or resetting it for a new user.
Some customizations that you add to Windows should also be added to the push-button reset tools:
Customization | What do I need to update? |
---|---|
Universal Windows apps | Automatically restored. |
Drivers installed using an .inf file | Automatically restored. |
Desktop apps or drivers installed using an .exe file | Capture into a provisioning package or a siloed provisioning package (SPP). |
Out of Box Experience customizations, Start Menu, and Unattend.xml settings | In Windows 10, version 1809 and later, save a copy in your Auto-apply folders. In earlier versions or as an alternative, use extensibility scripts instead. |
Settings created using Windows Configuration Designer (also known as ICD) | Copy the settings .ppkg file to C:\Recovery\Customizations. |
Bare metal recovery
If the user needs to replace their hard drive or completely wipe it, they can use bootable USB key to restore their device.
Some customizations that you add to Windows should also be added to the push-button reset tools:
Create a recovery drive
It’s a good idea to create a recovery drive. That way, if your PC ever experiences a major issue such as hardware failure, you’ll be able to use the recovery drive to reinstall Windows 10. Windows updates to improve security and PC performance periodically so it is recommended to recreate the recovery drive annually. Personal files and any applications that did not come with your PC will not be backed up. You’ll need a USB drive that’s at least 16 gigabytes.
Warning: Use an empty USB drive because this process will erase any data that’s already stored on the drive.
To create a recovery drive in Windows 10:
In the search box next to the Start button, search for Create a recovery drive and then select it. You might be asked to enter an admin password or confirm your choice.
When the tool opens, make sure Back up system files to the recovery drive is selected and then select Next.
Connect a USB drive to your PC, select it, and then select Next.
Select Create. Many files need to be copied to the recovery drive, so this might take a while.
If you ever need to use the recovery drive to reinstall Windows 10 on your PC, see Recovery options in Windows 10 for further instructions. It’s a good idea to back up your files frequently because the recovery drive isn’t a system image. It doesn’t contain your personal files, settings, or programs.
Need more options for creating a recovery drive?
To download Windows 10 installation media, see Recovery options in Windows 10.
Windows Device Recovery Tool: вопросы и ответы
Вы можете скачать средство Windows Device Recovery Tool на свой компьютер и использовать его для решения проблем с программным обеспечением на своем телефоне. Средство установит самую последнюю версию Windows, подходящую для вашего телефона, и удалит все данные, включая приложения, игры, SMS, журнал вызовов, музыку и фотографии. Перед использованием этого средства попробуйте решить проблему, перезапустив или сбросив телефон.
Нужна помощь по HoloLens? Ознакомьтесь со статьей Перезапуск, сброс или восстановление HoloLens
USB-кабель для подключения телефона к компьютеру.
Компьютер с Windows 7, Windows 8, Windows 8.1 или Windows 10.
Не менее 4 ГБ свободного места на компьютере.
Оно работает на телефонах Acer, Alcatel, BLU, HTC (One M8 и 8X), LG, Lumia, NEO, UniStrong, VAIO и Yezz с Windows Phone 8 или более поздней версией, а также на устройствах HP.
Для телефонов Nokia, не принадлежащих к серии Lumia, используйте приложение Nokia Software Recovery Tool.
Нет, необходимо использовать компьютер с Windows 7, Windows 8, Windows 8.1 или Windows 10.
Перед запуском средства попробуйте решить проблему, перезапустив телефон и сбросив его настройки.
Если это не помогло, выполните резервное копирование данных, а затем скачайте средство и воспользуйтесь им для переустановки Windows на телефоне. Обязательно создайте резервную копию своих данных, если есть такая возможность, так как в процессе установки будет удалено все содержимое телефона, включая приложения, SMS и фотографии.
Некоторые устройства позволяют использовать защиту от сброса, чтобы никто посторонний не мог сбросить параметры телефона и использовать его без вашего разрешения. Убедитесь, что защита от сброса выключена. В противном случае вам нужно будет знать имя пользователя и пароль основной учетной записи для устройства, чтобы использовать его. Перейдите в раздел Параметры > Обновления и безопасность > Поиск телефона > Защита от сброса и выберите Выключить.
Чтобы установить его, следуйте инструкциям на экране, а затем выберите пункт Запустить приложение.
Для подключения телефона к компьютеру используйте USB-кабель. Если после подключения ваш телефон не будет обнаружен автоматически, отсоедините кабель, выберите пункт Мой телефон не обнаружен и следуйте инструкциям на экране. Если телефон по-прежнему не обнаружен, попробуйте перезагрузить его, не отсоединяя USB-кабель.
Когда ваш телефон будет обнаружен, выберите пункт Установить программное обеспечение. Установка может занять некоторое время в зависимости от скорости подключения к Интернету, и вы не сможете воспользоваться своим телефоном, пока она не будет завершена.
Да. При использовании этого средства на телефоне, работающем под управлением предварительной сборки, будет установлена самая последняя версия Windows, одобренная производителем вашего телефона. Чтобы снова получать предварительные сборки, перейдите на страницу Загрузка Windows Insider Preview для телефонов и скачайте на свой телефон приложение участника программы предварительной оценки Windows, а затем выполните указания для установки Insider Preview.
Не сразу. Резервные копии Windows 10 несовместимы с телефонами под управлением Windows 8.
Не рекомендуется восстанавливать резервную копию Windows 10 на телефоне с Windows 8. Чтобы избежать перезаписи резервной копии телефона после перехода на Windows 10, переименуйте устройство. Для этого выберите элементы Параметры > Система > О системе и нажмите кнопку Изменить имя.
На телефоне можно вернуть Windows 8 с помощью Windows Device Recovery Tool. Если вы снова обновите систему телефона до Windows 10, то сможете восстановить резервную копию Windows 10 или Windows 8.
Windows Device Recovery Tool: FAQ
You can download the Windows Device Recovery Tool on your PC and use it to fix software problems on your phone. It’ll install the latest version of Windows approved for your phone and remove everything else, including your apps, games, texts, call history, music, and photos. Before you use this tool, see if restarting or resetting your phone fixes the problem.
Looking for help with HoloLens? Check out Restart, reset, or recover your HoloLens
A USB cable to connect your phone to your PC.
A PC running Windows 7, Windows 8, Windows 8.1, or Windows 10.
At least 4 GB of free storage space on your PC.
It works on Acer, Alcatel, BLU, HTC (One M8 and 8X), LG, Lumia, NEO, UniStrong, VAIO and Yezz phones running Windows Phone 8 or later. It also works on HP devices.
For non-Lumia Nokia phones, use the Nokia Software Recovery Tool instead.
No, you’ll need to use a PC running Windows 7, Windows 8, Windows 8.1, or Windows 10.
Before running the tool, try restarting and resetting your phone to see if that fixes the problem.
If that doesn’t work, back up your stuff, then download the tool and use it to reinstall Windows on your phone. The installation process will delete all the content on your phone—including your apps, texts, and photos—so it’s important to back up your stuff first if you can.
Some devices let you use reset protection to keep strangers from resetting and reusing your phone without permission. Make sure reset protection is turned off, or you’ll need to know the name and password for the primary account on the device to use it. Go to Settings > Updates & security > Find my phone > Reset Protection and select Turn off.
Follow the on-screen prompts to install it, then select Launch application.
Use a USB cable to connect your phone to your PC. If your phone isn’t automatically detected after you connect it, disconnect your phone, select My phone was not detected, then follow the on-screen prompts. If your phone still isn’t detected, try restarting it while it’s connected.
When your phone is detected, select Install software. Installation may take a while, depending on the speed of your Internet connection, and you won’t be able to use your phone until it’s done.
Yes. When you use this tool on a phone that’s running a preview build, it will reinstall the latest version of Windows approved for your phone by its manufacturer. To start getting preview builds again, you’ll need to go to Download Windows Insider Preview for phones to download the Windows Insider app on your phone, then follow the steps to install Insider Preview.
Not immediately. Windows 10 backups aren’t compatible with Windows 8 phones.
It is not recommended that you restore a Windows 10 backup to a Windows 8 phone. To avoid Phone Backup Overwrite after switching to Windows 10, you must rename the device. You can do this by going to Settings > System > About and tapping Edit name.
The phone can be reverted back to Windows 8 using the Windows Device Recovery Tool. And if you update your phone to Windows 10 again, you can restore your backup from either a Windows 10 backup or a Windows 8 backup.