Использование и восстановление проверки целостности системных файлов в windows 10

Функции Dism++

Программа Dism++ доступна с русским языком интерфейса, а потому сложностей при её использовании возникнуть не должно (кроме, возможно, некоторых непонятных для начинающего пользователя функций).

Возможности программы разбиты по разделам «Инструменты», «Панель управления» и «Развертывание». Для читателя моего сайта наибольший интерес будут представлять первые два раздела, каждый из которых делится на подразделы.

Большинство представленных действий можно выполнить и вручную (ссылки в описании ведут как раз на такие методы), но иногда сделать это с помощью утилиты, где всё собрано и работает автоматически значительно удобнее.

Инструменты

В разделе «Инструменты» присутствуют следующие возможности:

  • Очистка — позволяет выполнить очистку системных папок и файлов Windows, в том числе уменьшить папку WinSxS, удалить старые драйверы и временные файлы. Чтобы узнать, сколько места можно освободить, отметьте нужные элементы и нажмите «Анализ». 
  • Управление загрузкой — здесь можно включить или отключить элементы автозагрузки из разных системных расположений, а также настроить режим запуска служб. При этом вы можете отдельно просмотреть системные и пользовательские службы (отключение последних обычно безопасно). 
  • Управление Appx — здесь вы можете удалить приложения Windows 10, в том числе встроенные (на вкладке «Предустановленные Appx»). См. Как удалить встроенные приложения Windows 10. 
  • Дополнительно — пожалуй, один из самых интересных разделов с возможностями для создания резервных копий Windows и восстановления, позволяющий выполнить восстановление загрузчика, сбросить пароль системы, конвертировать ESD в ISO, создать флешку Windows To Go, отредактировать файл hosts и не только. 

Следует учитывать, что для  работы с последним разделом, особенно с функциями восстановления системы из бэкапа, лучше запускать программу в среде восстановления Windows (об этом в конце инструкции), при этом сама утилита не должна находиться на диске, который восстанавливается или с загрузочной флешки или диска (можно просто поместить папку с программой на загрузочную флешку с Windows, загрузиться с этой флешки, нажать клавиши Shift+F10 и ввести путь к программе на USB накопителе).

Панель управления

В этом разделе содержатся подразделы:

  • Оптимизация — настройки работы Windows 10, 8.1 и Windows 7, некоторые из которых без программ можно настроить в «Параметрах» и «Панели управления», а для некоторых — использовать редактор реестра или локальной групповой политики. Среди интересного: удаление пунктов контекстного меню, отключение автоматической установки обновлений, удаление пунктов из панели быстрого доступа проводника, отключение SmartScreen, отключение Защитника Windows, отключение брандмауэра и другие. 
  • Драйверы — список драйверов с возможностью получить информацию о месте его расположения, версии и размере, удалить драйверы.
  • Приложения и возможности — аналог такого же раздела панели управления Windows с возможностью удалить программы, посмотреть их размеры, включить или отключить компоненты Windows.
  • Возможности — список дополнительных системных возможностей Windows, которые можно удалить или установить (для установки отметьте пункт «Показать все»).
  • Обновления — список доступных обновлений (на вкладке «Windows Update», после анализа) с возможностью получить URL для обновления, и установленных пакетов на вкладке «Установленные» с возможностью удалить обновления. 

/Capture-FFU

Captures an image of a physical drive’s partitions to a new .ffu file.

You can capture the image as a full flash utility image (.ffu) file or a set of split ffu (.sfu) files;

Syntax:

Parameter Description
/CaptureDrive The physical drive to be captured. You can . Uses the format , where X is the disk number that diskpart provides.
/PlatformIds Not needed for desktop capture. Specifies one or more platform ids (separated with semicolon) to be added to the image. If not specified, platform id will be ‘*’.
/Compress Specifies the type of compression used for when capturing. If you’ll be splitting the FFU, specify , as DISM doesn’t support splitting compressed FFUs.

Examples:

Capture a desktop FFU:

Capture a desktop FFU that will be split:

Servicing a Windows Image from WinPE

You can service Windows images from WinPE. However, you must consider certain factors while planning your servicing strategy. Review the following requirements for servicing an image from WinPE.

Booting WinPE from a Hard Drive

For better performance, you can allocate additional memory when you boot WinPE from a hard disk drive. You can also create temporary folders to store update files to accommodate large updates.

Add Page-File Support to Your WinPE Image

Make sure you have sufficient memory to load and run your custom WinPE image. In addition to the image size, you should have at least 256 MB of available working memory. If you have limited memory, define a page file (Pagefile.sys) to improve memory management. For more information on implementing a page file, see Wpeutil Command-Line Options.

Create a Temporary Directory in Which to Store Update Files

You should use the /ScratchDir option with DISM to create a temporary directory on a different drive when you create or service a Windows image. A temporary directory is used for many DISM operations including capturing an image, installing language packs, installing updates, or installing or removing Windows features in a Windows image. Some files are expanded to this temporary directory before they are applied to a Windows image.

There must be sufficient space in the partition to accommodate large updates. The specific size of the free space that is required depends on the size of the updates that you intend to install. When adding a language pack, the scratch directory must have at least 1 GB of space for temporary files.

If you do not set a temporary directory path using the /ScratchDir option, WinPE creates a 32-MB temporary directory by default. You can allocate additional temporary storage to this default location using the DISM /Set-ScratchSpace option. Valid sizes include 32, 64, 128, 256, and 512 MB. This feature is available only offline and you cannot adjust this setting while a WinPE session is running. As a best practice, you should use the /ScratchDir option to instead specify a directory on another partition that has sufficient space to support any image management and servicing operations you perform.

After installation is complete, the contents of this directory are no longer needed and can be deleted. For more information, see DISM Image Management Command-Line Options.

Booting WinPE from a CD-ROM/DVD

Servicing a Windows image requires additional temporary storage space. For WinPE RAM disks, you might need additional RAM. In addition to the RAM requirements of your WinPE image, additional RAM is required to process updates. The amount of RAM that is required depends on the size of the updates that you intend to apply. Ensure that your computer has sufficient RAM.

Command-line Syntax

The base syntax for servicing a Windows image using DISM is:

DISM.exe {/Image:<path_to_image_directory> | /Online} {servicing_option}

You can use the following edition-servicing options on an offline image to list editions or to change a Windows image to a higher edition:

DISM.exe /Image:<path_to_image_directory> {/Get-CurrentEdition | /Get-TargetEditions | /Optimize-Image /WIMBoot | /Set-Edition | /Set-ProductKey:<product_key>}

The following edition-servicing options are available for a running Windows operating system:

DISM.exe /Online {/Get-CurrentEdition | /Get-TargetEditions | /Set-ProductKey:<product_key> | /Set-Edition:<target_edition> {/GetEula:< path> | /AcceptEula /ProductKey:<product_key>}}

The following table provides a description for how each edition-servicing option can be used. These options are not case-sensitive.

Option Description

/Get-Help

/?

When used immediately after an edition-servicing command-line option, information about the option and the arguments is displayed. Additional Help topics might become available when an image is specified.

Examples:

Dism /Image:C:\test\offline /Get-CurrentEdition /?

Dism /Online /Get-CurrentEdition /?

/Get-CurrentEdition

Displays the edition of the specified image.

Examples:

Dism /Image:C:\test\offline /Get-CurrentEdition

Dism /Online /Get-CurrentEdition

/Get-TargetEditions

Displays a list of Windows editions that an image can be changed to.

Examples:

Dism /Image:C:\test\offline /Get-TargetEditions

Dism /Online /Get-TargetEditions

/Set-Edition:<target_edition_ID> [{/GetEula:<path | /AcceptEula /ProductKey:<product_key>}]

Use the /Set-Edition option with no arguments to change an offline Windows image to a higher edition.

To change an online Windows Server operation system to a higher edition, you must use the /Set-Edition option with the /AcceptEula and /ProductKey arguments.

Important

You should not use the /Set-Edition option on an image that has already been changed to a higher edition. It is recommended that you use this option on the lowest edition available in the edition family.

Use /GetEula on an online image to copy the end-user license agreement to a specified path.

The /AcceptEula argument accepts the end-user license agreement and is required in order to change the Windows edition on an online image.

Example:

Dism /Image:C:\test\offline /Set-Edition:<edition name>

On a running Windows Server operating system only:

Dism /online /Set-Edition:<edition name> /GetEula:c:\eulapath

Dism /online /Set-Edition:<edition name> /AcceptEula /ProductKey:12345-67890-12345-67890-12345

Where <edition name> is the higher edition that you want to change to.

/Set-ProductKey:<productKey>

The /Set-ProductKey option can only be used to enter the product key for the current edition in an offline Windows image after you change an offline Windows image to a higher edition using the /Set-Edition option.

Example:

Dism /Image:C:\test\offline /Set-ProductKey:12345-67890-12345-67890-12345

Использование Dism с файлом Install Esd

Если вы обновляли Windows до более высокой версии, то на системном диске могут остаться пригодные компоненты для регенерации системы, можно указать путь к ним. Запускается служба следующим образом:

  1. Откройте Command Line (и снова через «Run As Administrator»).
  2. Впишите: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:$Windows.~BT\Sources\Install.esd и кликните «Интер».

Опять-таки, при настойчивых рекомендациях «Центра обновлений», можно вписать команду: DISM /Online /Cleanup-Image /RestoreHealth /Source:C:$Windows.~BT\Sources\Install.esd /LimitAccess

Таким образом, он не будет вам мешать и отвлекать на себя внимание опции RestoreHealth

Servicing an Image

The best way to service a Windows image is offline with the DISM tool. DISM can be used to install, uninstall, configure, and update drivers, features, and packages in Windows images and Windows Preinstallation Environment (WinPE) images without booting the image. For more information, see DISM — Deployment Image Servicing and Management Technical Reference for Windows.

You can use the /Commit-Image option at any point during servicing to save the changes that you have made so far. You can recover a corrupted image more easily with the /Cleanup-Image /RestoreHealth option if you have committed your changes often.

You can mount and modify multiple images on a single computer. However, performance may slow down on some functions, such as /Unmount-Image, depending on the memory available on the computer. As a best practice, you should not mount more than 20 images at the same time.

Note  
If you have split a .wim file into smaller files for spanning across multiple media, you cannot mount the image for servicing.

Get Windows Image Information

You can use image commands to list the information about a specific Windows image in a (WIM) file or virtual hard disk (VHD) file, about the images contained in a specific WIM or VHD file, and about mounted WIM or VHD files. This information can help you identify mount locations, image names, or verify the architecture of the image that you are mounting.

You can gather information about all of the images in a WIM or VHD file by using the /Get-ImageInfo servicing command in DISM. You can also gather information about a specific image in a WIM or VHD file, such as operating system, architecture, and settings, by specifying the name or index number of the image. To specify the image in a VHD file, you must use /Index:1 .

You can identify the images that are currently mounted on your computer, and you can list information about the mounted image such as read/write permissions, mount location, mounted file path, and mounted image index by using the /Get-MountedImageInfo servicing command.

For more information about image commands available in DISM, see DISM — Deployment Image Servicing and Management Technical Reference for Windows.

To list images that are contained in a WIM or VHD file

  1. Click Start, and type deployment. Right-click Deployment and Imaging Tools Environment and then select Run as administrator.

  2. To list information about all of the images in a WIM or VHD file, at the elevated command prompt, type:

    When used with the /Index or /Name options, more detailed information about the specified image is displayed. To specify the image in a VHD file, you must use .

The report that is generated includes the following information.

Field Description Example

Index

The index value of the image in the WIM or VHD file.

1

Name

The Windows edition name of the image in the WIM or VHD file.

Windows 8 Pro

Description

The description of the image in the WIM or VHD file.

Windows 8 Pro

Size

The size of the image.

8,045,951,502 bytes

To list mounted images

  1. Click Start, and type deployment. Right-click Deployment and Imaging Tools Environment and then select Run as administrator.

  2. At the elevated command prompt, type:

The report generated includes the following information:

Field Description Example

Mount Dir

The location where the image is mounted.

C:\Test\Mount

Image File

The full path to the WIM or VHD file.

C:\Test\Images\install.wim

Image Index

The index number of the mounted image that is enclosed in WIM or VHD file.

1

Mounted Read/Write

Yes if the mounted image allows for both read and write access or No if the mounted image allows for read-only access only.

Yes

Status

The mount status of the image. The possible values include the following:

OK. The image is mounted. There are no problems.

Needs Remount. The image must be remounted. This can be caused by rebooting the host system when the image is mounted.

Invalid.: the image is in an invalid state. You might have to use /Cleanup-Mountpoints on the image.

OK

/Apply-FFU

For FFU, this command applies a Full Flash Utility (FFU) or split FFU (SFU) to a specified physical drive.

Syntax:

Parameter Description
/ImageFile The path and name of the FFU image file that will be applied
/ApplyDrive The path to the phyisical drive that will be imaged
/SFUfile<pattern> Optional, for split FFUs that are captured with no compression. Use /SFUFile to reference split FFU files (SFUs). Pattern is the naming pattern and location of split files. Use a wildcard character when specifying the naming pattern. For example, «E:\image\install*.sfu» will apply all of the split files in the E:\image directory named install1.sfu, install2.sfu, and so on.

Example:

Что это за команда DISM?

Инструмент «Deployment Image Servicing and Management» (Обслуживание и управление размещениями образов) также известный как DISM появился в функционале семейства Виндовс начиная с версии Виндовс Виста (SP1).

Первоначально DISM позиционировался как инструмент для создания и управления образами Виндовс на основе файлового формата .wim (сокращённо от «Windows image» – образ Виндовс). С внедрением в функционал Виндовс 8 зашифрованного и компрессированного файлового формата .esd (акроним от «Electronic Software Download») DISM получил возможность напрямую работать и с файлами упомянутого формата.

Использования слова «обслуживание» (servicing) в функционале DISM включает широкое разнообразие функций, в частности:

  • Захват образов дисков (разделов);
  • Использование образов дисков;
  • Установка и модификация образов;
  • Создание образов 32 или 64-битной Виндовс в едином .wim файле;
  • Создание образов сепаратных данных и другие возможности.

Ныне возможности DISM позволяют проводить операции по проверке, сканированию и восстановлению файлов образа Виндовс, уменьшению размеров инсталляционных файлов Виндовс (отмечу работу с компонентом WinSXS), добавление в ручном режиме апдейтов к Виндовс 10, идентификацию образов Виндовс et cetera.

/Apply-Image

For WIM, this command applies a Windows image file (.wim) or a split Windows image (.swm) files to a specified partition. Beginning with Windows 10, version 1607, DISM can apply and capture extended attributes (EA).

For FFU, this command applies a full flash update (.ffu) image to a specified drive. It doesn’t support applying an image from a virtual hard disk (.vhdx) file, though you can use this command to apply a full image to a VHD. FFU applies to Windows 10 only. While you can use this command to apply an FFU, use instead.

This option doesn’t support applying an image from a virtual hard disk (VHD), though you can use this command to apply images to a .vhdx file that’s been attached, partitioned, and formatted.

Arguments for WIM:

Arguments for FFU

See .

Parameter Description
/CheckIntegrity Detects and tracks .wim file corruption when used with capture, unmount, export, and commit operations. /CheckIntegrity stops the operation if DISM detects that the .wim file is corrupted when used with apply and mount operations.
/Verify Checks for errors and file duplication.
/NoRpFix Disables the reparse point tag fix. A reparse point is a file that contains a link to another file on the file system. If /NoRpFix is not specified, reparse points that resolve to paths outside the value specified by /ImageFile will not be captured.
/SWMFile Enables you to reference split .wim files (SWMs). Pattern is the naming pattern and location of split files. Use a wildcard character when specifying the naming pattern. For example, «E:\image\install*.swm» will apply all of the split files in the E:\image directory named install1.swm, install2.swm, and so on.
/ConfirmTrustedFile Validates the image for Trusted Desktop on a Windows 10, Windows 8.1, or Windows 8. This option can only be run on a computer running at least WinPE 4.0. When using /Apply-Image with the /ConfirmTrustedFile option in WinPE, always specify the /ScratchDir option pointed to a physical media location. This ensures that short file names will always be available. See DISM Global Options for Command-Line Syntax for more information about the default behavior of the /ScratchDir option. Beginning with Windows 10, version 1607, you can use /EA to apply extended attributes.
/WIMBoot Use /WIMBoot to append the image with Windows image file boot (WIMBoot) configuration. This only applies to Windows 8.1 images that have been captured or exported as a WIMBoot file. This feature isn’t supported in Windows 10.
/Compact Applies an image in compact mode, saving drive space. Replaces WIMBoot. For Windows 10 for desktop editions (Home, Pro, Enterprise, and Education) only. Note: If you’re applying an image in compact mode with the /ScratchDir option, make sure your ScratchDir folder is not on a FAT32-formatted partition. Using a FAT32 partition could result in unexpected reboots during OOBE.
/EA New in Windows 10, version 1607. Applies extended attributes.
/ApplyDrive Specifies the logical drive, using the DeviceID. to get the device ID from the command line, type «wmic diskdrive list brief». Note: a VHD may appear with the name “PhysicalDrive” in the description, for example, .\PhysicalDrive2.
/SFUFile Use /SFUFile to reference split FFU files (SFUs). Pattern is the naming pattern and location of split files.

Examples:

What is DISM?

Deployment Image Servicing and Management (DISM.exe) is a command-line tool that can be used to service and prepare Windows images, including those used for Windows PE, Windows Recovery Environment (Windows RE) and Windows Setup. DISM can be used to service a Windows image (.wim) or a virtual hard disk (.vhd or .vhdx).

DISM comes built into Windows and is available through the command line or from Windows PowerShell. To learn more about using DISM with PowerShell, see Deployment Imaging Servicing Management (DISM) Cmdlets in Windows PowerShell.

Image Requirements

DISM can be used to mount and service a Windows image from a .wim file, .ffu file, .vhd file, or a .vhdx file and also to update a running operating system. It can be used with older Windows image files (.wim files). However, it cannot be used with Windows images that are more recent than the installed version of DISM.

For a complete technical description of WIM, see the Windows Imaging File Format (WIM) white paper.

DISM can be used to service Windows images starting with Windows 7, Windows Server 2008 R2, and their associated versions of WinPE and WinRE. The commands and options that are available for servicing an image depend on which Windows operating system you are servicing, and whether the image is offline or a currently running operating system.

For a list of the supported platforms and architecture types, see DISM Supported Platforms.

Common Servicing and Management Scenarios

Image servicing and management solutions fall into two main categories:

  • Managing the data or information included in the Windows image, such as enumerating or taking an inventory of the components, updates, drivers, or applications that are contained in an image, capturing or splitting an image, appending or deleting images within a .wim file, or mounting an image.
  • Servicing the image itself, including adding or removing driver packages and drivers, modifying language settings, enabling or disabling Windows features, and upgrading to a higher edition of Windows.

Limitations

Version compatibility. DISM can be used with target images of older Windows operating systems, but not with target images of operating systems that are more recent than the installed version of DISM. For example, DISM from Windows 10, version 1511 can service Windows 10, version 1511 and version 1507 but not version 1607. To learn more, see DISM Supported Platforms.

Remote installation. Installing packages to a remote computer over a network is not supported.

Answer files. When you specify an answer file (Unattend.xml) for an image, only the settings specified in the configuration pass are applied. All other settings in the answer file are ignored. You can only specify one answer file at a time. For more information, see DISM Unattended Servicing Command-Line Options

Use an answer file to ensure package dependencies. Some packages require other packages to be installed first. Because of this dependency requirement, you should use an answer file if you are installing multiple packages. By applying an answer file by using DISM, multiple packages can be installed in the correct order. This is the preferred method for installing multiple packages.

Package installation order. Packages are installed in the order that they are listed in the command line. In the following example, 1.inf, 2.inf, and 3.inf will be installed in the order in which they are listed in the command line.

Multiple servicing commands are not supported. You can specify multiple drivers (1.inf, 2.inf) or packages, but you cannot specify multiple commands (such as /Add-Driver /Remove-Driver or /Add-Driver /Add-Package) on the same command line.

Wildcards. Wildcards are not supported in DISM command lines.

Как работать с командами Dism в Windows 10

Когда возникают проблемы в работе ОС, можно устранить их с помощью опций Dism – далее вы поймёте, как ими пользоваться без приложения и с ним. Есть три основные команды, которые нам понадобятся:

  • CheckHealth – диагностика ОС;
  • ScanHealth – контрольная диагностика;
  • RestoreHealh – исправление обнаруженных проблем.

Перед тем как использовать такие опции вручную (через Command Line), стоит сделать копию ОС или обзавестись на всякий случай загрузочным диском. Если же у вас установлена Dism++ — это более безопасно, потому что приложение по вашей команде само выполняет нужные действия. Вышеописанные опции в этом случае собраны в разделы в зависимости от нужд пользователя, и их действие описано по-русски.

Mount an image

You can mount an image using the /optimize option to reduce initial mount time. However, When using the /optimize option, processes that are ordinarily performed during a mount will instead be completed the first time that you access a directory. As a result, there may be an increase in the time that is required to access a directory for the first time after mounting an image using the /optimize option.

  1. Open a command prompt with administrator privileges.

    Note

    If you are using a version of Windows other than Windows 8 or Windows 10, use the Deployment Tools Command Prompt that gets installed with the ADK.

  2. Use DISM to mount the image

    Note

    To mount a Windows image from a VHD or FFU file, you must specify .

    For more information about the options available for the /Mount-Image option in DISM, see DISM Image Management Command-Line Options.

How to Fix DISM.exe /Online /Cleanup-Image /Restorehealth Error 87

There are so many reasons why you may receive error 87 when you run the “DISM.exe /Online /Cleanup-Image /Restorehealth” command. Here are some of the causes of the error and how to fix them.

DISM.exe /Online /Cleanup-Image /Restorehealth Error 87: Solution 1

From my research, the top on the list is when you run the command without adding the required spaces in the switches. Below is the DISM command without spaces:

Solution

Run the command with spaces as shown below:

DISM.exe /Online /Cleanup-Image /Restorehealth

DISM.exe /Online /Cleanup-Image /Restorehealth Error 87: Solution 2

Another reason for error 87 could be pending updates.

SolutionThe solution is to install all and any pending updates.

To check for and install any pending update, follow the steps below:

Right-click Windows logo on the left of your task bar . Then click System .

When Settings loads, type updates in the search bar . Then select Check for updates. Check the part labelled for pending updates. If any click install.

Recommended Posts:How to Run CHKDSK on Windows 1020 Command Prompt Commands for Sys Admins

“DISM.exe /Online /Cleanup-Image /Restorehealth” is a very important and helpful Window command!

I hope you found this Itechguide helpful?

You could ask a question, leave a comment or provide feedback with the “Leave a Reply” form found towards the end of this page.

Finally, for more Itechguides like this, visit our Windows & Linux Explained page.

  • Was this post helpful?

Восстановление повреждённого хранилища компонентов Windows 10 с помощью PowerShell

Привет друзья! Совсем недавно я написал статью о том, как правильно . Производится такая проверка в случае, если ваша операционная система работает нестабильно, периодически выскакивают различные системные ошибки, не запускаются стандартные приложения Windows и так далее. В этом случае нужно запустить командную строку от имени администратора и ввести команду sfc /scannow, далее начнётся проверка системы на предмет повреждённых системных файлов и если такие будут обнаружены, то произойдёт немедленная их замена оригинальными версиями.

Оригинальные версии системных файлов находятся в хранилище компонентов Windows, а именно в папке C:\Windows\WinSxS. Если данное хранилище повреждено или в нём отсутствуют некоторые компоненты, то при проверке целостности системных файлов выйдет ошибка Программа защиты ресурсов Windows обнаружила повреждённые файлы, но не может восстановить некоторые из них.

В таком случае нужно восстанавливать само хранилище компонентов Windows другой командой: Dism /Online /Cleanup-Image /RestoreHealth», при этом средство обслуживания образов Windows (DSIM) задействует Центр обновления Windows и скачает необходимые отсутствующие компоненты с серверов Майкрософт. В особо тяжёлых случаях, на этом этапе также возможны различные ошибки, например такая«Не удалось скачать исходные файлы. Укажите расположение файлов, необходимых для восстановления компонента, с помощью параметра «Источник»

Тогда нам ничего не остаётся, как задействовать для восстановления повреждённого хранилища — расширяемое средство автоматизации PowerShell.

Данное средство более тщательно произведёт восстановление хранилища компонентов операционной системы, задействуя Центр обновления (Windows Update) и у вас должен быть включен интернет.

Для запуска PowerShell находим на рабочем столе значок Поиск в Windows

и вводим в поле вводаPowerShell», в результатах выйдет соответствие заданному поиску — Windows PowerShell, щёлкаем на нём правой мышью и выбираем Запустить от имени администратора

Вводим команду: 

Repair-WindowsImage -Online -RestoreHealth

и жмём Enter.

Если у вас отключен интернет, то процесс восстановления может остановиться на данном этапе. 

Если с интернетом проблем нет, тогда процесс дойдёт до конца и компоненты будут восстановлены. 

Об этом вы узнаете из содержания следующего окна.

ImageHealth State : Healthy (Восстановлен) 

Если в следствии системных нарушений у вас отсутствует интернет, тогда для восстановления задействуйте оригинальный ISO-образ Windows 10. Как это сделать

К примеру у вас имеется ноутбук с установленной Windows 10 Single Language (Для одного языка).

В этом случае скачиваем ISO-образ Windows 10 Single Language (Для одного языка) на официальном сайте Майкрософт.

Щёлкаем на нём два раза левой мышью и подключаем к виртуальному дисководу. В моём случае виртуальный дисковод под буквой (G:).

В PowerShell запущенном от имени администратора выполняем команду:

Dism /Get-WimInfo /WimFile:G:\sources\install.wim, где G: буква виртуального дисковода с Windows 10.

Видим, что в моём образе находится один образ Windows 10 Single Language (Для одного языка) под индексом 1,

соответственно вводим следующую команду:

Repair-WindowsImage -Online -RestoreHealth -Source G:\sources\install.wim:1

Буква «G» соответствует букве подключенного образа с Win 10, а цифра «1» — индексу издания в образе, в нашем случае 1. Начинается восстановление хранилища компонентов Windows с помощью оригинального ISO-образа Windows 10 Single Language.

Хранилище компонентов Windows восстановлено.

ImageHealth State : Healthy (Восстановлен).

Хранилище компонентов Windows мы восстановили, теперь можем запустить утилиту проверки целостности системных файлов — sfc /scannow.

В этот раз повреждённые системные файлы должны быть восстановлены.

Статьи по этой теме, которые Вам помогут:

1. Восстановление повреждённого хранилища компонентов Windows 10 в Среде предустановки Windows (Windows PE) с помощью дистрибутива Win 10, а также виртуального диска VHD

2. Восстановление повреждённого хранилища компонентов Windows 10 при помощи Dism

3. Как произвести восстановление целостности системных файлов, если Windows 10 не загружается.

4. Что делать, если при запуске sfc/scannow выдается ошибка «Защита ресурсов Windows не может выполнить запрошенную операцию»

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *