Error 2 unable to access the image

Fix Unable to access the image, Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder error.

When you run the DISM scan on your Windows 11 or Windows 10 system, you may get the Unable to access the Image Error 2, which consequently stops the Windows system image and component store repair operation on your device. This post provides the most applicable solutions to the error.

DISM Unable to access the Image Error 2

Error: 2, Unable to access the image, Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.

When the DISM Error 2 occurs on your system, the known accompanying error description could be any of the following;

  • Unable to access the image. Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.
  • An error occurred while attempting to start the servicing process for the image located at C:. For more information, review the log file.
  • The system cannot find the file specified.

In all cases, you can review the logfile located at C:WindowsLogsDISMdism.log.

If the DISM Unable to access the Image Error 2 has occurred on your Windows 11/10 computer, to resolve the issue, you can try our recommended fixes below in no particular order (after you must have gone through the initial checklist) and see what works for you!

  1. Initial checklist
  2. Refresh DISM Tool
  3. Run the DISM scan and specify another source
  4. Restore Windows Registry
  5. Reset PC or Cloud Reinstall or perform In-place Upgrade Repair

Let’s see the listed solutions in detail.

1] Initial checklist

Before you roll up your sleeves and dive into the solutions below, you can carry out the following pre-tasks, and after each task see if the DISM tool runs without issues and throwing error codes:

  • Check for file/folder permissions. As is the case in an instance of this Error 2, and as indicated in the output, make sure you have Read permissions on the Windows directory/folder.
  • Optimize and defragment drive. When data or files are fragmented all across the hard drive, this disorganization of data sometimes can interfere with Windows ability to access specified files, which could potentially trigger the DISM error 2. So, you can run Disk Defragmenter to rearrange fragmented data, and afterwards see if the DISM scan runs successfully.
  • Temporarily disable or uninstall antivirus. As far as Windows PC goes, there are known cases where the security software (especially from third-party vendors) could interfere with some processes on your computer. This is a likely culprit – so, to fix the problem, you can try disabling or uninstalling your antivirus application temporarily.
  • Make sure Windows is up to date. It is important to make sure Windows is updated, so that you know you’re running the latest version of the DISM tool. If however, your system is up to date or the error started to occur after a recent Windows update, you can perform System Restore or uninstall the update then run the DISM scan again. If the error in focus reappears, you can then proceed with the solutions proper below.

2] Refresh DISM Tool

If the initial checklist didn’t pan out, your next line of action to resolve the DISM Unable to access the Image Error 2 on your Windows 11/10 computer is to refresh the DISM Tool – by refreshing the DISM tools on your PC, the /Restorehealth switch will be automatically enabled to run scans and repair the corrupted files automatically from the operating network.

To refresh DISM Tool, you can use the revertpendingactions parameter for DISM. Run Command Prompt, and execute the following command:

dism.exe /image:C: /cleanup-image /revertpendingactions

Afterward, restart your PC, and on boot, run the command below in elevated Command prompt to clean up the component store:

dism.exe /online/Cleanup-Image /StartComponentCleanup

Restart your computer once the cleanup completes, and run System File Checker in Safe Mode. Then finally, you can run the command below

dism.exe /online /Cleanup-Image /RestoreHealth

If the error in hand reoccurs, try the next solution.

Read: There is a system repair pending which requires reboot to complete

3] Run the DISM scan and specify another source

Run the DISM scan and specify another source

It’s likely the error you’re currently getting is due to the Windows image on the PC is damaged or corrupted. In this case, you can run the DISM scan and specify another source. You can clean up the system components, and specify an alternative Windows image repair source, which will then be used to repair a corrupted Windows image by following the instructions described in this post.

4] Restore Windows Registry

This solution worked for an affected user that had a brief power outage and the PC in sleep mode rebooted, but Windows froze and was manually rebooted and got to the Windows logo with spinning dots screen and then crashed with a BSOD. On running DISM scan, the error was triggered. However, the user later reported it wasn’t a DISM problem, rather it appeared that after the power outage the Registry got super corrupted. In this case, what worked was to Restore Windows Registry, and afterwards, running the DISM tool completed without throwing any error code.

5] Reset PC or Cloud Reinstall or perform In-place Upgrade Repair

Perform In-place Upgrade Repair

At this point, if the error in highlight is still not fixed after you have exhausted the options above, it’s most likely due to some kind of severe system corruption. In this case, your next line of action is to reset Windows 11/10 or Cloud Reinstall to reset every Windows component. If both procedures fails to resolve the issue, you can try In-place Upgrade Repair.

Hope this helps!

How do I fix DISM Error 5 Access Denied?

This typically occurs due to insufficient permissions on the system. Therefore, many people can fix DISM Error 5 Access Denied by simply making sure the current logged in user has administrator privilege on the system. Also, running the DISM command in Safe mode with Networking may solve the issue.  If this does not help, activate and use the built-in super-admin account in Windows.

Why is DISM not working?

If DISM failed on your system and throws error code(s) like 87, 112, 11, 50, 3, 87,1726, 1392, 1393, 1910 you might be able to fix the problem simply by disabling certain antivirus features or by disabling or uninstalling your antivirus altogether. Once you disable your antivirus, repeat the DISM scan again.

Когда вы запускаете сканирование DISM в своей системе Windows 11 или Windows 10, вы можете получить сообщение об ошибке Unable to access the Image 2, которая, следовательно, останавливает операцию восстановления образа системы Windows и хранилища компонентов на вашем устройстве. В этом посте представлены наиболее применимые решения ошибки.

DISM Не удается получить доступ к изображению Ошибка 2

Когда в вашей системе возникает ошибка DISM 2, известное сопровождающее описание ошибки может быть любым из следующих;

  • Не удается получить доступ к изображению. Убедитесь, что путь к изображению и каталог Windows для изображения существуют, и у вас есть разрешения на чтение для папки.
  • Произошла ошибка при попытке запустить процесс обслуживания образа, расположенного в C:. Дополнительные сведения см. в файле журнала.
  • Система не может найти указанный файл.

Во всех случаях вы можете просмотреть файл журнала, расположенный по адресу C:WindowsLogsDISMdism.log.

Если DISM Не удается получить доступ к изображению Ошибка 2 произошло на вашем компьютере с Windows 11/10, чтобы решить эту проблему, вы можете попробовать наши рекомендуемые ниже исправления в произвольном порядке (после того, как вы прошли начальный контрольный список) и посмотреть, что работает для вас!

  1. Начальный контрольный список
  2. Обновить инструмент DISM
  3. Запустите сканирование DISM и укажите другой источник
  4. Восстановить реестр Windows
  5. Сбросьте настройки ПК или облака, переустановите или выполните восстановление обновления на месте

Давайте подробно рассмотрим перечисленные решения.

1]Начальный контрольный список

Прежде чем засучить рукава и погрузиться в приведенные ниже решения, вы можете выполнить следующие предварительные задачи и после каждой задачи проверить, работает ли инструмент DISM без проблем и выдает коды ошибок:

  • Проверьте права доступа к файлам/папкам. Как и в случае с этой ошибкой 2, и как указано в выводе, убедитесь, что у вас есть разрешения на чтение в каталоге/папке Windows.
  • Оптимизация и дефрагментация диска. Когда данные или файлы фрагментированы по всему жесткому диску, эта дезорганизация данных иногда может помешать возможности Windows получить доступ к указанным файлам, что потенциально может вызвать ошибку DISM 2. Таким образом, вы можете запустить дефрагментацию диска, чтобы переупорядочить фрагментированные данные, а затем посмотрите, успешно ли выполняется сканирование DISM.
  • Временно отключите или удалите антивирус. Что касается ПК с Windows, известны случаи, когда программное обеспечение безопасности (особенно от сторонних поставщиков) могло мешать некоторым процессам на вашем компьютере. Это вероятный виновник — поэтому, чтобы решить проблему, вы можете попробовать временно отключить или удалить антивирусное приложение.
  • Убедитесь, что Windows обновлена. Важно убедиться, что Windows обновлена, чтобы вы знали, что используете последнюю версию инструмента DISM. Однако, если ваша система обновлена ​​или ошибка начала возникать после недавнего обновления Windows, вы можете выполнить восстановление системы или удалить обновление, а затем снова запустить сканирование DISM. Если ошибка в фокусе снова появляется, вы можете перейти к решениям, приведенным ниже.

2]Обновить инструмент DISM

Если первоначальный контрольный список не сработал, ваша следующая линия действий для решения проблемы DISM Не удается получить доступ к изображению Ошибка 2 на вашем компьютере с Windows 11/10 — это обновить инструмент DISM — обновив инструменты DISM на вашем ПК, /Восстановление здоровья коммутатор будет автоматически включен для запуска сканирования и автоматического восстановления поврежденных файлов из операционной сети.

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

dism.exe /image:C: /cleanup-image /revertpendingactions

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

dism.exe /онлайн/Cleanup-Image/StartComponentCleanup

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

dism.exe/онлайн/Cleanup-Image/RestoreHealth

Если ошибка повторяется, попробуйте следующее решение.

4]Восстановить реестр Windows

Это решение сработало для пострадавшего пользователя, у которого было кратковременное отключение питания, и компьютер в спящем режиме перезагрузился, но Windows зависла, была перезагружена вручную и дошла до логотипа Windows с вращающимися точками на экране, а затем вылетела с BSOD. При запуске сканирования DISM возникла ошибка. Однако позже пользователь сообщил, что это не проблема DISM, а оказалось, что после отключения питания реестр сильно поврежден. В этом случае сработало восстановление реестра Windows, а затем запуск инструмента DISM завершился без выдачи какого-либо кода ошибки.

5]Сбросьте настройки ПК или облака, переустановите или выполните восстановление обновления на месте.

Выполнение ремонта обновления на месте

На данный момент, если ошибка в выделении по-прежнему не исправлена ​​после того, как вы исчерпали указанные выше параметры, это, скорее всего, связано с серьезным повреждением системы. В этом случае вашим следующим действием будет сброс Windows 11/10 или облачная переустановка для сброса всех компонентов Windows. Если обе процедуры не помогли решить проблему, вы можете попробовать восстановить обновление на месте.

Надеюсь это поможет!

Как исправить ошибку DISM 5 «Отказано в доступе»?

Обычно это происходит из-за недостаточных разрешений в системе. Поэтому многие люди могут исправить DISM Error 5 Access Denied, просто убедившись, что текущий вошедший в систему пользователь имеет права администратора в системе. Кроме того, запуск команды DISM в безопасном режиме с поддержкой сети может решить проблему. Если это не поможет, активируйте и используйте встроенную учетную запись суперадминистратора в Windows.

Почему DISM не работает?

Если DISM не работает в вашей системе и выдает коды ошибок, такие как 87, 112, 11, 50, 3, 87,1726, 1392, 1393, 1910, вы можете решить проблему, просто отключив определенные антивирусные функции или отключив или вообще удалить антивирус. После отключения антивируса повторите сканирование DISM еще раз.

Содержание

  1. Fix DISM Unable to access the Image Error 2 on Windows 11/10
  2. DISM Unable to access the Image Error 2
  3. 1] Initial checklist
  4. 2] Refresh DISM Tool
  5. 3] Run the DISM scan and specify another source
  6. 4] Restore Windows Registry
  7. 5] Reset PC or Cloud Reinstall or perform In-place Upgrade Repair
  8. How do I fix DISM Error 5 Access Denied?
  9. Why is DISM not working?
  10. Исправить DISM Не удается получить доступ к ошибке изображения 2 в Windows 11/10
  11. DISM Не удается получить доступ к изображению Ошибка 2
  12. Как исправить ошибку DISM 5 «Отказано в доступе»?
  13. Почему DISM не работает?
  14. Top 5 Solutions to DISM Error 2 on Windows 10 [Partition Magic]
  15. Solution 1: Disable or Uninstall Your Antivirus
  16. Solution 2: Refresh DISM
  17. Solution 3: Run Disk Defragmenter
  18. Solution 4: Perform a System Restore
  19. About The Author

Fix DISM Unable to access the Image Error 2 on Windows 11/10

When you run the DISM scan on your Windows 11 or Windows 10 system, you may get the Unable to access the Image Error 2, which consequently stops the Windows system image and component store repair operation on your device. This post provides the most applicable solutions to the error.

Error: 2, Unable to access the image, Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.

When the DISM Error 2 occurs on your system, the known accompanying error description could be any of the following;

  • Unable to access the image. Make sure that the image path and the Windows directory for the image exist and you have Read permissions on the folder.
  • An error occurred while attempting to start the servicing process for the image located at C:. For more information, review the log file.
  • The system cannot find the file specified.

In all cases, you can review the logfile located at C:WindowsLogsDISMdism.log.

DISM Unable to access the Image Error 2

If the DISM Unable to access the Image Error 2 has occurred on your Windows 11/10 computer, to resolve the issue, you can try our recommended fixes below in no particular order (after you must have gone through the initial checklist) and see what works for you!

  1. Initial checklist
  2. Refresh DISM Tool
  3. Run the DISM scan and specify another source
  4. Restore Windows Registry
  5. Reset PC or Cloud Reinstall or perform In-place Upgrade Repair

Let’s see the listed solutions in detail.

1] Initial checklist

Before you roll up your sleeves and dive into the solutions below, you can carry out the following pre-tasks, and after each task see if the DISM tool runs without issues and throwing error codes:

  • Check for file/folder permissions. As is the case in an instance of this Error 2, and as indicated in the output, make sure you have Read permissions on the Windows directory/folder.
  • Optimize and defragment drive. When data or files are fragmented all across the hard drive, this disorganization of data sometimes can interfere with Windows ability to access specified files, which could potentially trigger the DISM error 2. So, you can run Disk Defragmenter to rearrange fragmented data, and afterwards see if the DISM scan runs successfully.
  • Temporarily disable or uninstall antivirus. As far as Windows PC goes, there are known cases where the security software (especially from third-party vendors) could interfere with some processes on your computer. This is a likely culprit – so, to fix the problem, you can try disabling or uninstalling your antivirus application temporarily.
  • Make sure Windows is up to date. It is important to make sure Windows is updated, so that you know you’re running the latest version of the DISM tool. If however, your system is up to date or the error started to occur after a recent Windows update, you can perform System Restore or uninstall the update then run the DISM scan again. If the error in focus reappears, you can then proceed with the solutions proper below.

2] Refresh DISM Tool

If the initial checklist didn’t pan out, your next line of action to resolve the DISM Unable to access the Image Error 2 on your Windows 11/10 computer is to refresh the DISM Tool – by refreshing the DISM tools on your PC, the /Restorehealth switch will be automatically enabled to run scans and repair the corrupted files automatically from the operating network.

To refresh DISM Tool, you can use the revertpendingactions parameter for DISM. Run Command Prompt, and execute the following command:

Afterward, restart your PC, and on boot, run the command below in elevated Command prompt to clean up the component store:

Restart your computer once the cleanup completes, and run System File Checker in Safe Mode. Then finally, you can run the command below

If the error in hand reoccurs, try the next solution.

3] Run the DISM scan and specify another source

It’s likely the error you’re currently getting is due to the Windows image on the PC is damaged or corrupted. In this case, you can run the DISM scan and specify another source. You can clean up the system components, and specify an alternative Windows image repair source, which will then be used to repair a corrupted Windows image by following the instructions described in this post.

4] Restore Windows Registry

This solution worked for an affected user that had a brief power outage and the PC in sleep mode rebooted, but Windows froze and was manually rebooted and got to the Windows logo with spinning dots screen and then crashed with a BSOD. On running DISM scan, the error was triggered. However, the user later reported it wasn’t a DISM problem, rather it appeared that after the power outage the Registry got super corrupted. In this case, what worked was to Restore Windows Registry, and afterwards, running the DISM tool completed without throwing any error code.

5] Reset PC or Cloud Reinstall or perform In-place Upgrade Repair

At this point, if the error in highlight is still not fixed after you have exhausted the options above, it’s most likely due to some kind of severe system corruption. In this case, your next line of action is to reset Windows 11/10 or Cloud Reinstall to reset every Windows component. If both procedures fails to resolve the issue, you can try In-place Upgrade Repair.

Hope this helps!

How do I fix DISM Error 5 Access Denied?

This typically occurs due to insufficient permissions on the system. Therefore, many people can fix DISM Error 5 Access Denied by simply making sure the current logged in user has administrator privilege on the system. Also, running the DISM command in Safe mode with Networking may solve the issue. If this does not help, activate and use the built-in super-admin account in Windows.

Why is DISM not working?

If DISM failed on your system and throws error code(s) like 87, 112, 11, 50, 3, 87,1726, 1392, 1393, 1910 you might be able to fix the problem simply by disabling certain antivirus features or by disabling or uninstalling your antivirus altogether. Once you disable your antivirus, repeat the DISM scan again.

Источник

Исправить DISM Не удается получить доступ к ошибке изображения 2 в Windows 11/10

Когда вы запускаете сканирование DISM в своей системе Windows 11 или Windows 10, вы можете получить сообщение об ошибке Unable to access the Image 2, которая, следовательно, останавливает операцию восстановления образа системы Windows и хранилища компонентов на вашем устройстве. В этом посте представлены наиболее применимые решения ошибки.

Когда в вашей системе возникает ошибка DISM 2, известное сопровождающее описание ошибки может быть любым из следующих;

  • Не удается получить доступ к изображению. Убедитесь, что путь к изображению и каталог Windows для изображения существуют, и у вас есть разрешения на чтение для папки.
  • Произошла ошибка при попытке запустить процесс обслуживания образа, расположенного в C:. Дополнительные сведения см. в файле журнала.
  • Система не может найти указанный файл.

Во всех случаях вы можете просмотреть файл журнала, расположенный по адресу C:WindowsLogsDISMdism.log.

Программы для Windows, мобильные приложения, игры — ВСЁ БЕСПЛАТНО, в нашем закрытом телеграмм канале — Подписывайтесь:)

DISM Не удается получить доступ к изображению Ошибка 2

Если DISM Не удается получить доступ к изображению Ошибка 2 произошло на вашем компьютере с Windows 11/10, чтобы решить эту проблему, вы можете попробовать наши рекомендуемые ниже исправления в произвольном порядке (после того, как вы прошли начальный контрольный список) и посмотреть, что работает для вас!

  1. Начальный контрольный список
  2. Обновить инструмент DISM
  3. Запустите сканирование DISM и укажите другой источник
  4. Восстановить реестр Windows
  5. Сбросьте настройки ПК или облака, переустановите или выполните восстановление обновления на месте

Давайте подробно рассмотрим перечисленные решения.

1]Начальный контрольный список

Прежде чем засучить рукава и погрузиться в приведенные ниже решения, вы можете выполнить следующие предварительные задачи и после каждой задачи проверить, работает ли инструмент DISM без проблем и выдает коды ошибок:

  • Проверьте права доступа к файлам/папкам. Как и в случае с этой ошибкой 2, и как указано в выводе, убедитесь, что у вас есть разрешения на чтение в каталоге/папке Windows.
  • Оптимизация и дефрагментация диска. Когда данные или файлы фрагментированы по всему жесткому диску, эта дезорганизация данных иногда может помешать возможности Windows получить доступ к указанным файлам, что потенциально может вызвать ошибку DISM 2. Таким образом, вы можете запустить дефрагментацию диска, чтобы переупорядочить фрагментированные данные, а затем посмотрите, успешно ли выполняется сканирование DISM.
  • Временно отключите или удалите антивирус. Что касается ПК с Windows, известны случаи, когда программное обеспечение безопасности (особенно от сторонних поставщиков) могло мешать некоторым процессам на вашем компьютере. Это вероятный виновник — поэтому, чтобы решить проблему, вы можете попробовать временно отключить или удалить антивирусное приложение.
  • Убедитесь, что Windows обновлена. Важно убедиться, что Windows обновлена, чтобы вы знали, что используете последнюю версию инструмента DISM. Однако, если ваша система обновлена ​​или ошибка начала возникать после недавнего обновления Windows, вы можете выполнить восстановление системы или удалить обновление, а затем снова запустить сканирование DISM. Если ошибка в фокусе снова появляется, вы можете перейти к решениям, приведенным ниже.

2]Обновить инструмент DISM

Если первоначальный контрольный список не сработал, ваша следующая линия действий для решения проблемы DISM Не удается получить доступ к изображению Ошибка 2 на вашем компьютере с Windows 11/10 — это обновить инструмент DISM — обновив инструменты DISM на вашем ПК, /Восстановление здоровья коммутатор будет автоматически включен для запуска сканирования и автоматического восстановления поврежденных файлов из операционной сети.

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

dism.exe /image:C: /cleanup-image /revertpendingactions

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

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

Если ошибка повторяется, попробуйте следующее решение.

4]Восстановить реестр Windows

Это решение сработало для пострадавшего пользователя, у которого было кратковременное отключение питания, и компьютер в спящем режиме перезагрузился, но Windows зависла, была перезагружена вручную и дошла до логотипа Windows с вращающимися точками на экране, а затем вылетела с BSOD. При запуске сканирования DISM возникла ошибка. Однако позже пользователь сообщил, что это не проблема DISM, а оказалось, что после отключения питания реестр сильно поврежден. В этом случае сработало восстановление реестра Windows, а затем запуск инструмента DISM завершился без выдачи какого-либо кода ошибки.

5]Сбросьте настройки ПК или облака, переустановите или выполните восстановление обновления на месте.

На данный момент, если ошибка в выделении по-прежнему не исправлена ​​после того, как вы исчерпали указанные выше параметры, это, скорее всего, связано с серьезным повреждением системы. В этом случае вашим следующим действием будет сброс Windows 11/10 или облачная переустановка для сброса всех компонентов Windows. Если обе процедуры не помогли решить проблему, вы можете попробовать восстановить обновление на месте.

Надеюсь это поможет!

Как исправить ошибку DISM 5 «Отказано в доступе»?

Обычно это происходит из-за недостаточных разрешений в системе. Поэтому многие люди могут исправить DISM Error 5 Access Denied, просто убедившись, что текущий вошедший в систему пользователь имеет права администратора в системе. Кроме того, запуск команды DISM в безопасном режиме с поддержкой сети может решить проблему. Если это не поможет, активируйте и используйте встроенную учетную запись суперадминистратора в Windows.

Почему DISM не работает?

Если DISM не работает в вашей системе и выдает коды ошибок, такие как 87, 112, 11, 50, 3, 87,1726, 1392, 1393, 1910, вы можете решить проблему, просто отключив определенные антивирусные функции или отключив или вообще удалить антивирус. После отключения антивируса повторите сканирование DISM еще раз.

Программы для Windows, мобильные приложения, игры — ВСЁ БЕСПЛАТНО, в нашем закрытом телеграмм канале — Подписывайтесь:)

Источник

Top 5 Solutions to DISM Error 2 on Windows 10 [Partition Magic]

Have you ever encountered DISM error 2 on Windows 10? How to solve the problem? There are some solutions provided by MiniTool Partition Wizard and you can feel free to have a try to fix this error.

DISM refers to Deployment Image Servicing and Management. It’s a Windows built-in tool, which mounts and services the Windows Images. It’s commonly used to solve problems on PC.

However, some users have reported that they encountered errors while using this tool. Our previous post has already introduced DISM error 50. Here, I will talk about DISM error 2. DISM error 2 usually comes with a message “unable to access the image” while running some commands related to “dism.exe /image:C: /cleanup-image”.

If you’re facing the same problem, you can follow the solutions listed in the following contents to solve it.

Solution 1: Disable or Uninstall Your Antivirus

In some cases, the security software could get in the way of some processes on your computer, which might be the reason for “DISM error 2 unable to access the image”. To fix the problem, you can try disable or uninstall your antivirus application temporarily. Then check if the DISM works properly. If the error still exists, you should move on to the next solution.

Solution 2: Refresh DISM

Another way to fix the DISM error 2 is to refresh the DISM tool. Here are the detailed steps.

Step 1: Press Win + S to open Search and type cmd in the search box. Then right-click Command Prompt from the search results and select Run as administrator.

Step 2: Input the command: dism.exe/image:C /cleanup-image /revertpendingactions. Then press Enter to execute it. This will revert pending tasks, including any Windows updates.

Step 3: Restart your PC and access Windows Recovery Environment. Then go to Command Prompt.

Step 4: Input dism.exe /online/Cleanup-Image /StartComponentCleanup and press Enter to clean up the component store and help everything to run properly again.

Step 5: Restart your computer and start Windows in Safe Mode. Then run Command Prompt as administrator.

Step 6: Execute the sfc/scannow command and wait until the process is completed.

Then you can run the command dism.exe /online /Cleanup-Image /RestoreHealth and check if it works properly. If you still encounter DISM error 2 during the process, try the next solution.

Solution 3: Run Disk Defragmenter

When your DISM tool doesn’t work and Disk Cleanup can’t free up much space, you can try using Disk Defragmenter to rearrange fragmented data. Log in as administrator and follow the steps below.

Step 1: Press Win + E to open File Explorer.

Step 2: Select This PC and right-click Local Disk (C:). Then choose Properties.

Step 3: In the pop-up window, select Tools tab. Then click Optimize under Optimize and defragment drive.

Then follow the onscreen instructions to finish the process. Once it’s done, click Apply and OK.

Solution 4: Perform a System Restore

You can also try performing a system restore to fix DISM error 2 unable to access the image if you have created a System Restore point. In this way, you can revert some changes of your computer to an earlier state, which is helpful to fix various problems.

Here is how to fix DISM error 2 via System Restore.

Step 1: Open Search utility and then input restore in the search box. Then click Create a restore point.

Step 2: In the pop-up window, click System Restore button. Click Next to skip the wizard.

Step 3: Select a system restore point according to the description and the creating time and data. Then click Next.

After the operation, you can try running DISM commands and check if the error has been fixed. If the problem still appear, you might need to reset your PC with Keep my files option.

  • Facebook
  • Twitter
  • Linkedin
  • Reddit

Sherry has been a staff editor of MiniTool for a year. She has received rigorous training about computer and digital data in company. Her articles focus on solutions to various problems that many Windows users might encounter and she is excellent at disk partitioning.

She has a wide range of hobbies, including listening to music, playing video games, roller skating, reading, and so on. By the way, she is patient and serious.

Источник

  • Partition Wizard

  • Partition Magic

  • Top 5 Solutions to DISM Error 2 on Windows 10

By Sherry | Follow |
Last Updated December 01, 2020

Have you ever encountered DISM error 2 on Windows 10? How to solve the problem? There are some solutions provided by MiniTool Partition Wizard and you can feel free to have a try to fix this error.

DISM refers to Deployment Image Servicing and Management. It’s a Windows built-in tool, which mounts and services the Windows Images. It’s commonly used to solve problems on PC.

However, some users have reported that they encountered errors while using this tool. Our previous post has already introduced DISM error 50. Here, I will talk about DISM error 2. DISM error 2 usually comes with a message “unable to access the image” while running some commands related to “dism.exe /image:C: /cleanup-image”.

If you’re facing the same problem, you can follow the solutions listed in the following contents to solve it.

Solution 1: Disable or Uninstall Your Antivirus

In some cases, the security software could get in the way of some processes on your computer, which might be the reason for “DISM error 2 unable to access the image”. To fix the problem, you can try disable or uninstall your antivirus application temporarily. Then check if the DISM works properly. If the error still exists, you should move on to the next solution.

Solution 2: Refresh DISM

Another way to fix the DISM error 2 is to refresh the DISM tool. Here are the detailed steps.

Step 1: Press Win + S to open Search and type cmd in the search box. Then right-click Command Prompt from the search results and select Run as administrator.

Step 2: Input the command: dism.exe/image:C /cleanup-image /revertpendingactions. Then press Enter to execute it. This will revert pending tasks, including any Windows updates.

refresh DISM

Step 3: Restart your PC and access Windows Recovery Environment. Then go to Command Prompt.

Step 4: Input dism.exe /online/Cleanup-Image /StartComponentCleanup and press Enter to clean up the component store and help everything to run properly again.

Step 5: Restart your computer and start Windows in Safe Mode. Then run Command Prompt as administrator.

Step 6: Execute the sfc/scannow command and wait until the process is completed.

Then you can run the command dism.exe /online /Cleanup-Image /RestoreHealth and check if it works properly. If you still encounter DISM error 2 during the process, try the next solution.

Solution 3: Run Disk Defragmenter

When your DISM tool doesn’t work and Disk Cleanup can’t free up much space, you can try using Disk Defragmenter to rearrange fragmented data. Log in as administrator and follow the steps below.

Step 1: Press Win + E to open File Explorer.

Step 2: Select This PC and right-click Local Disk (C:). Then choose Properties.

Step 3: In the pop-up window, select Tools tab. Then click Optimize under Optimize and defragment drive.

click Optimize

Then follow the onscreen instructions to finish the process. Once it’s done, click Apply and OK.

Solution 4: Perform a System Restore

You can also try performing a system restore to fix DISM error 2 unable to access the image if you have created a System Restore point. In this way, you can revert some changes of your computer to an earlier state, which is helpful to fix various problems.

Here is how to fix DISM error 2 via System Restore.

Tip: This won’t affect your personal files such as documents, music, photos, and videos.

Step 1: Open Search utility and then input restore in the search box. Then click Create a restore point.

Step 2: In the pop-up window, click System Restore button. Click Next to skip the wizard.

click System Restore

Step 3: Select a system restore point according to the description and the creating time and data. Then click Next.

select a point and click Next

After the operation, you can try running DISM commands and check if the error has been fixed. If the problem still appear, you might need to reset your PC with Keep my files option.

About The Author

Sherry

Position: Columnist

Sherry has been a staff editor of MiniTool for a year. She has received rigorous training about computer and digital data in company. Her articles focus on solutions to various problems that many Windows users might encounter and she is excellent at disk partitioning.

She has a wide range of hobbies, including listening to music, playing video games, roller skating, reading, and so on. By the way, she is patient and serious.

DISM is a command-line tool that is used to fix corrupt Windows files on a computer, but sometimes DISM can itself run into the DISM Error 2 especially on Windows 10 and Windows 7.  The full error message usually states “DISM error 2 File not Found or DISM Error 2 Unable to access the image”. In this article, we have concluded the reasons due to which the error occurs and have also listed the solutions for them.

dism error 2

DISM Error 2

Make sure to read through all of the solutions and also to analyze the reasons due to which they are triggered in order to ensure complete eradication of the error message from your computer.

What Causes the DISM Error 2 on Windows 10?

After going through the solutions that are commonly adopted to fix this error message, we concluded that the following must be some of the most crucial reasons due to which it is triggered in the first place.

  • Command Line: In certain cases, the command line that the user is adopting might be incorrectly configured or the command used might not have been implemented properly. Therefore, we recommend that you try using a slightly different command that might sometimes do the trick and fix the DISM error 2 on your computer.
  • Stuck Tool: The DISM Tool can sometimes get stuck while executing certain commands and that can end up triggering this error message. Therefore, we recommend that you run some commands on your computer that get rid of this.
  • Antivirus: The Antivirus being used by the computer can sometimes block the DISM tool from accessing the drive by hogging its resources or falsely flagging it as a virus. Therefore, we recommend that you try and disable the Antivirus at least temporarily to ensure that the DISM error 2 isn’t being triggered because of it.
  • Bad Sectors: The Hardrive often acquires bad sectors due to prolonged usage and this can really end up harming the tool’s ability to be able to repair the drive if it has been damaged beyond repair. Therefore, we recommend that you check for any wear, tear or bad sectors on the hard disk.
  • Damaged OS: The operating system that you are using might be in a faulty state or it might not be working properly due to which the DISM error 2 is being triggered. Therefore, we recommend that you try and repair the operating system and then check to see if doing so fixes the issue.

Now that you have gone through the reasons behind its occurrence, it is about time that we move on towards implementing the solutions.

Before You Start:

Before you begin with any of the fixes make sure you are using the correct DISM version. If you are experiencing DISM error 2 it is recommended that you run the commands using WinPE. WinPE is Windows Pre-Installation Environment, it is often used to perform a recovery operation in Windows. Once done now continue on with implementing some of the advanced solutions listed below.

Fixing the DISM Error 2 Unable to Access the Image:

Solution 1: Try Using A Different Command

Some users were able to work around the error with a different command, try using the following commands in the command window and see which one works best for you:

dism.exe /image:C: /cleanup-image /revertpendingactions

OR,

dism.exe /online /cleanup-image /reverpendingactions

Solution 2: Refresh DISM Tool

By refreshing the DISM tool in Windows you might also be able to fix the error. To refresh the DISM tool follow these steps:

  1. Hold down the “Window + R” keys together on your keyboard to open up a “Run” dialog box.
  2. In the “Run” prompt type in “cmd” and then hold down on the “Shift + CTRL + Enter” keys to open an “Elevated Command Prompt”. If the system asks you for permission click to choose “YES”.
    Run Command Prompt as administrator
    Run Command Prompt
  3. In the new elevated command prompt window type the following command:
exe/image:C /Cleanup-image /revertpendingactions

4. Press “Enter” now and after the process is completed “Restart” your PC.

5. After the restart, now repeat steps one, two, and three and run the following command:

exe /online/Cleanup-Image /StartComponentCleanup

6. Once the process is completed again restart your computer.

7. Now, once again repeat steps 1,2,3 to run an elevated command prompt.

8. Type in the following command and hit “Enter”.

sfc/scannow

9. Then restart your computer once again.

10. Now, once again repeat steps one, two, and three to run an elevated command prompt.

11. Type in the following command and again hit “Enter”.

dism.exe /online /Cleanup-image /RestoreHealth

12. This will hopefully solve the DISM error on your pc, if not follow down for other solutions.

Solution 3: Disable Your Anti-Virus

Sometimes your anti-virus software can interfere with certain apps or tasks being carried out on your computer so try to disable it and then perform the task again. If you use a third-party anti-virus on your system you can simply navigate into it from the icon-tray on the taskbar, for others using Windows Defender can follow this procedure:

  1. On the search bar near the Start menu search for “Windows Security” and click to select it.
    Choose Windows Security
    Choose Windows Security Option
  2. In the left pane click on “Virus & Threat Protection” and scroll down to “Virus & threat protection Settings”.
    Virus and threat protection
    Virus and threat protection
  3. Below the Virus & Threat protection settings click to select “Manage Settings”. Here you are presented with three different security settings.
  4. Then turn off “Real-time Protection” by clicking on the slide button.
  5. Windows will ask for your permission at this stage click to select “YES”.
    Disable real-time protection
    Disable real-Time Protection
  6. Now proceed to check if the dism error 2 windows pe got resolved.

Solution 4: Check Hard Drive For Bad Sectors

Sometimes the error is caused by a dying or malfunctioning hard-drive so it’s better to check your hard-drive for bad sectors and low health. You can download Hard-disk Sentinel and monitor the health and temperature of your hard disk.

Try hard disk sentinel

Try Hard Disk Sentinel

Solution 5: Using the Disk-Cleanup Tool

Windows come with a disk-cleanup tool, it helps reset the defragmented data and can help resolve errors caused by corrupted files. To use the Disk-Clean-up tool follow the steps below:

  1. Open the “File Explorer” or “This PC” on your computer.
    Click on this pc to fix dism error 2
    Click on This PC
  2. In here locate the option of “Local Disk C (OS Drive)” and right-click on it.
  3. From the drop-down menu click to select “Properties” at the bottom.
  4. From the new window click on the “Tools” tab located beside the “General” tab.
  5. In the Tools, tab click on “Optimize” in the “Optimize and Defragment Drive” section.
    choose optimize option
    Choose Optimize Option
  6. Now just simply follow the on-screen instructions to successfully optimize the drive.

Solution 6: Perform A System Restore

System Restore is a program that creates restore points in your PC at a specific location and time. These points help restore the system to an earlier error-free version or before the installation of a new program. To perform a system restore follow the below-listed steps:

  1. On the search bar near the Start menu type in “Create A Restore Point” and open it from the search results.
  2. A new window will pop up on your screen from here click on “System Restore”.
    Choose system restore option
    Choose System Restore Option
  3. If you cannot click on System Restore, the reason is the drives on your pc are not protected. In this scenario, click to select “Local Disk C”.
  4. Next, click on the “Configure” button.
  5. In the new window select “Turn On System Protection” instead of “Disable System Protection”.
  6. Then click “OK” and “Apply” afterward.
  7. Now, click on the “System Restore” option.
  8. Create a restore point to a date when your PC was perfectly fine and then click “Next”.
    Selecting the Restore Point to fix dism error 2
    Selecting the Restore Point
  9. Once the procedure is complete, run DISM and see if the error has been eradicated.

Solution 7: Use Source Options

DSIM Errors can be caused by Windows Updates, thus here we will make use of the source option to store the non-corrupted files. To activate the source options follow the steps below:

Note: To accomplish this task you need to “install.wim” file or “install.esd” file from a Windows installation media, make sure they are from the same windows version. You can download Window installation media from Microsoft’s official website.

  1. Plug in the Windows installation media into the computer and notice the “Drive Letter”. (e.g. “E:” )
  2. Then “Open” the media explorer and explore its contents.
  3. Look for the “Source” directory and see if it contains a file named “win” or “install.esd”.
    Select install.esd file
    Select install.esd file
  4. Next, type in “Command Prompt” in the search bar and press the Enter button. The system will ask you for permission here click on “YES”.
    Run Command Prompt as administrator
    Run Command Prompt
  5. Now, enter the following command in the elevated command prompt and press “Enter”.
DISM /Online /Cleanup-Image /RestoreHealth /Source:repairSourceinstall.wim

7. Once the process is completed, restart your computer finally and see if the error is gone.
Note: This will repair the file without Windows update, this way DISM can work without meeting the broken update file.

Solution 8: Repairing Windows

Newly installed drivers or updates on the system can cause errors and finding the faulty driver can be very hard, so use Windows repair to repair such bugs.

  1. On the search bar near the Start menu type “Reset This PC” and click to select it.
  2. On the new window in the left “Recovery” pane click on “Get Started”.
    Select Recovery
    Choose Recovery
  3. A new popup menu will appear displaying you two options:
Keep My Files (It will keep your all files even on C drives, but only remove apps that you installed and settings setup).

Remove Everything (It will remove all files on your PC).

4. From here choose to select “Keep My Files”.

5. Lastly, just go through the Windows procedure and let it do its work; only make sure you do not power OFF your computer when the process is going on.

6. Once completed now see if you have been able to overcome the error.

Hopefully, the aforementioned solutions will help you resolve the error smoothly but if the issue still exists feel free to Contact Us here.

  • Remove From My Forums
  • Question

  • Hello,

    I ran the following command and always get this error:

    Microsoft Windows [Version 10.0.17763.1]
    (c) 2018 Microsoft Corporation. Alle Rechte vorbehalten.
    
    C:Windowssystem32>DISM /Online /Cleanup-Image /RestoreHealth /source:E:sourcesinstall.wim /LimitAccess
    
    Tool zur Imageverwaltung für die Bereitstellung
    Version: 10.0.17763.1
    
    Imageversion: 10.0.17763.1
    
    [======================     39.0%                          ]
    Error: 2
    
    Das System kann die angegebene Datei nicht finden. (Translation: The system cannot find the file)
    
    Die DISM-Protokolldatei befindet sich unter "C:WindowsLogsDISMdism.log". (Translation: The DISM log is:...)

    It always abort around 39%. Theres no anti virus which is running at the moment and the install.wim is provided via a virtual mounted ISO (using the build-in Windows feature for this)

    Besides that, many other operations using DISM (e.g. «>DISM /Online /Cleanup-Image /ScanHealth») also aborts with error 2

    • Edited by

      Tuesday, January 22, 2019 2:23 PM

Windows has many inbuilt tools made for recovery and restoration. One such tool is DISM, which allows Windows to fix issues or replace corrupted files. However, DISM isn’t free of problems itself, and many people run into issues with it.

Today, we will analyze one of the leading issues: DISM Error 2. So, what is it, and how does it happen? We’ll answer all these questions and explore a few ways to fix them. So, let’s dive right into it.

DISM Error 2 Overview

DISM Error 2 occurs when you try to use it to fix your Windows. But first, let’s talk about DISM itself. It’s Deployment Image Servicing and Management. As the name indicates, it uses online and offline means to repair your Windows. It does it by:

  • Downloading and replacing files that might be causing the issue;
  • Repairing bad or corrupted files;
  • Replacing missing or corrupted files;
  • Repair the overall health of your Windows.

The tool is a command line for CMD.exe, which then initiates repairs through various means. In other words, it repairs your Windows by the means mentioned before. But that’s when a lot of people face the issue, which is DISM Error 2:

open command line for cmd

Many things can cause this annoying issue. For instance:

  • The system is unable to find the files required to conduct repair or replacement
  • Error caused by a bad internet connection
  • Antivirus tools or software getting in the way of DISM
  • Corrupted DISM service—hence needing a complete reinstall
  • Lousy sector on your hard drive or general hardware issue

These are some of the common reasons behind DISM Error 2. While hardware is rarely the issue, it cannot be ruled out. That’s why it’s essential to ensure the integrity and health of your hardware before you try any fixes.

It’s also important to understand that DISM Error 2 could be caused by lousy internet. There are times when Windows doesn’t have the files required to use DISM properly, and hence, it downloads pertaining files from Microsoft.

So, when there’s bad internet, it’s unable to download the files required for it. On the other hand, an antivirus tool (not Windows Defender) might prevent Windows from downloading the files needed, which might be causing this issue as well.

Recover Lost Files Before Windows Repairment

Before trying to fix DISM Error 2, recovering and restoring the files lost in the process is essential, yes, there are times when DISM goes awry and causes you to lose crucial data—particularly on C drive.

easeus data recovery wizard

Therefore, you need a powerful and reliable recovery tool like EaseUS Data Recovery Wizard. It’s a comprehensive tool that allows you to recover and restore any lost files during multiple instances, such as:

  • Restore files lost during DISM has gone bad
  • Recovery of deleted files
  • Recover in case of a damaged or broken hard drive
  • Restore files lost in formatting or partitioning

These are some of the reasons that make this remarkable tool an obvious choice to help you restore any DISM-related files. Therefore, you need to use this tool, and here’s how you can do that:

Note: To guarantee a high data recovery chance, install EaseUS data recovery software on another disk instead of the original disk where you lost files. 

Step 1. Launch EaseUS Data Recovery Wizard on your Windows 11, Windows 10, Windows 8, or Windows 7 computer. Select the disk partition or storage location where you lost data and click «Scan».

select the disk on Windows  to scan

Step 2. This recovery software will start scanning the disk to find all lost and deleted files. When the scan process completes, click «Filter» > «Type» to specify lost file types.

choose the recovered data type

Step 3. Preview and restore lost Windows files. You can double-click to preview the scanned files. Then, select the target data and click the «Recover» button to save them to another safe spot in the PC or an external storage device.

recover windows 10 lost data

It is so easy to use, right? So download it and utilize it!

How to Fix DISM Error 2 Option Is Unknown

This section will find five different methods to help you fix DISM Error 2. The «Option is unknown» error is caused by a few reasons, as we mentioned before. So, we’ll try to fix those issues and get DISM up and running again.

Besides the steps mentioned in this section, we’ll help you with a video about fixing DISM error 2. And the highlights are below here:

  • 00:20 How to run CMD on Windows
  • 00:30 Type in the command in CMD
  • 01:24 Go to Windows settings
  • 02:08 Reset your PC

So, let’s explore the five fixes.

  1. Method 1. Refresh DISM Tool
  2. Method 2. Run CHKDSK Tool
  3. Method 3. Uninstall or Disable Antivirus
  4. Method 4. Restore Windows System
  5. Method 5. Reset the PC or Laptop

Method 1. Refresh DISM Tool

The first method is to refresh the DISM tool. There are times when DISM has pending commands, so it doesn’t take anything new. So, you get the DISM Error 2. In this case, we will use CMD to refresh the DISM tool. Here’s how:

Step 1. Press the Windows button on your keyboard.

Step 2. Open CMD as administrator on Windows.

Refresh DISM Tool

Step 3. Type «dism.exe /image:C: /cleanup-image /revertpendingactions» and press enter

Step 4. Wait for it to finish

This will refresh your DISM tool and allow it to restore to its neutral state. From there, you can try to apply DISM commands again to try and replace or fix corrupted files.

Method 2. Run CHKDSK Tool

There are times when your PC has a lot of junk built up. That’s why removing those junk files is essential as allowing DISM to download or use additional files. So, it’s important to use the Check Disk method to fix errors and clean up other junk data. Here’s how:

Step 1. Open my computer and right-click on C Drive.

Step 2. Navigate to the bottom and click on the properties.

Run CHKDSK Tool

Step 3. Head into the Tools tab.

Step 4. Press Check under the «Error Checking» section.

press check under error checking

Step 5. Click on «Scan drive» when Error checking prompt shows up.

Step 6. Wait for it to finish.

Step 7. Allow the scan to finish.

Once the scan is through, you can use the DISM commands again. Since this scan will fix any errors or remove any files that might be getting in the way of DISM, chances are you won’t be getting Error 2 anymore.

Method 3. Uninstall or Disable Antivirus

One of the main things that might be getting in the way of your DISM fixes could be your antivirus program. Now, it’s essential to understand that Windows Defender rarely stops your PC from using an in-built method like the DISM.

So, if you have a third-party tool, you will have to disable it by checking how to disable it. But for Microsoft Defender users, here’s how they can do it:

Step 1. Open Microsoft Defender from the system tray.

Step 2. Head into Virus & Threat protection.

Head into Virus & Threat protection

Step 3. Find the Manage Settings option and click on it.

manage setting option

Step 4. Inside the settings, turn Real-Time Protection off.

Step 5. And turn Cloud-delivered protection off as well.

 Cloud-delivered protection off as well

After you do this, make sure you run DISM to fix any errors or issues with your Windows. But, as soon as it’s done, we recommend you turn these settings back on immediately.

Method 4. Restore Windows System

Sometimes you simply need to revert to a system restore point to get DISM to work again. Sometimes, a driver update or a Windows Update, in general, may get in the way of DISM. To fix that, you can restore Windows System by doing this:

Step 1. In the start menu, search for Control Panel and open it.

Step 2. In the Control Panel search, look for Recovery.

search for recovery

Step 3. Click on «Open System Restore».

open system restore

Step 4. Next up, find the System Restore option and click on it.

Step 5. Click «Next» when the System Restore wizard opens.

system restore wizard

Step 6. Pick the restore point and click on «Next».

pick the restore point

Step 7. Allow it to restore to that point.

Step 8. Finish and restart your PC.

This will restore your PC, and its file will allow you to use DISM again.

Method 5. Reset the PC or Laptop

In this section, you will reset your PC to its former settings. Remember that your Windows might delete or remove your configurations or any extra installed software. So, it’s crucial to ensure that you restore backup file before proceeding with these steps:

Step 1. Open Settings and go into System options

Step 2. Find Recovery options and click on «Reset PC».

click on reset PC

Step 3. In the next option, select «Keep my files«.

select keep my files

Step 4. Follow the on-screen instructions until your PC restarts.

This will ensure that your PC is reset to the basic settings. Once done, you can try using DISM commands, which will indeed work. However, you will also have to install drivers and other software. So, only use this option in dire cases.

Summary

These are some of the most reliable ways to fix DISM Error 2 in Windows 10 or 11. It’s important to understand that all these methods require one to try one after the other. In other words, if the first fix works for you, you don’t have to try the next one.

However, what’s important is that you recover and restore the lost files using a capable tool like EaseUS Data Recovery Wizard. Therefore, ensure you’re using the proper methods to restore your files and implement fixes for DISM Error 2.

DISM Error 2 FAQs

This section will help you find answers to any further queries.

1. How do I fix Windows update DISM?

Microsoft suggests using the System Update Readiness tool to fix any issues with your Windows.

2. Can DISM repair Windows?

Yes, it can repair Windows as long as the problem is related to missing or corrupted files. There are times when issues are beyond DISM repairs, so a total reinstall might be required.

3. Should you run SFC or DISM first?

SFC will scan your system for issues related to operating system files. So, it should be run before the DISM commands.

4. How long should DISM RestoreHealth take?

It depends on the level of corruption of your Windows or the number of missing files. But, on average, fixing issues takes around 10 minutes to an hour.

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

Этот инструмент можно использовать для обслуживания образа Windows или для подготовки образа WinRE (среда восстановления Windows) и / или WinPE (среда предустановки Windows), но его также можно использовать для обслуживания .wim (образ Windows) или .vhd /. VHDX (виртуальный жесткий диск).

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


Эпический гид оповещения! Все, что вам нужно знать о DISM, прямо здесь!


Как исправить ошибку DISM 2

  1. Временно отключите или удалите антивирус
  2. Проверьте версию DISM
  3. Обновить инструмент DISM
  4. Перезагрузите компьютер с помощью опции «Сохранить мои файлы»
  5. Используйте инструмент очистки диска

Решение 1. Временно отключите или удалите антивирус

Иногда ваше программное обеспечение безопасности может помешать некоторым процессам на вашем компьютере, поэтому в случае возникновения ошибки DISM 2 вы можете временно отключить антивирус или удалить его, а если проблема не исчезнет, ​​вы можете смонтировать образ и проверить результат еще раз.

Не забудьте переустановить или включить антивирус, как только вы закончите.

Решение 2. Проверьте версию DISM

Убедитесь, что вы используете правильную версию DISM, установленную с Windows ADK. Кроме того, не монтируйте образы в защищенные папки, такие как папка UserDocuments.

Если процессы DISM прерваны, временно отключитесь от сети и рассмотрите возможность запуска команд из WinPE.

Решение 3. Обновите инструмент DISM

  • Щелкните правой кнопкой мыши «Пуск» и выберите « Командная строка» («Администратор»).

ошибка 2

  • Введите эту команду: exe / image: C / cleanup-image / revertpendingactions . Это вернет отложенные задачи, и это включает любые обновления Windows, которые ожидают.
  • Загрузите компьютер и запустите в командной строке восстановления
  • Выполните эту команду: exe / online / Cleanup-Image / StartComponentCleanup . Это очищает хранилище компонентов и помогает всему снова работать правильно

Работа в командной строке будет походить на прогулку по парку после прочтения этого руководства!


Перезапустите, а затем запустите сканирование SFC в безопасном режиме, выполнив следующие действия:

  • Нажмите Пуск, затем перейдите в поле поиска и введите CMD.
  • Перейти к командной строке в результатах поиска
  • Щелкните правой кнопкой мыши и выберите « Запуск от имени администратора».

ошибка 2

  • Введите SFC / SCANNOW

ошибка 2

  • Нажмите Enter
  • Перезагрузите компьютер, а затем выполните следующую команду: dism.exe / online / Cleanup-Image / RestoreHealth

Если это не поможет, попробуйте следующее решение.

Решение 4. Перезагрузите компьютер с помощью опции «Сохранить мои файлы»

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

Выполнение сброса позволяет вам выбрать, какие файлы вы хотите сохранить или удалить, а затем переустановить Windows, поэтому выполните следующие действия:

  • Нажмите Пуск
  • Нажмите Настройки

ошибка 2

  • Нажмите Обновить и безопасность

ошибка 2

  • Нажмите Recovery на левой панели

ошибка 2

  • Нажмите Сбросить этот ПК

ошибка 2

  • Нажмите Начать

ошибка 2

  • Выберите опцию Сохранить мои файлы

Примечание: все ваши личные файлы будут удалены и настройки сброшены. Любые установленные вами приложения будут удалены, и только предустановленные приложения, поставляемые с вашим ПК, будут переустановлены.


Сброс ПК не будет работать? Не паникуйте! Решите проблему в кратчайшие сроки с помощью нашего подробного руководства!


Решение 5. Используйте инструмент очистки диска

Поскольку средство DISM не работает или выдает ошибку DISM 2, а очистка диска не может освободить много места, используйте средство дефрагментации диска для перегруппировки фрагментированных данных в системе, выполнив следующие действия:

  • Войти как Администратор
  • Нажмите Пуск и выберите Проводник
  • Развернуть этот компьютер
  • Щелкните правой кнопкой мыши на локальном диске (C 🙂 и выберите Свойства
  • Перейти на вкладку Инструменты

ошибка 2

  • В разделе « Оптимизация и дефрагментация диска» выберите « Оптимизировать».

ошибка 2

  • Нажмите « Применить», затем нажмите «Ввод» или «ОК».

Вам удалось исправить ошибку DISM 2 на вашем компьютере, используя любое из этих решений? Дайте нам знать, оставив комментарий в разделе ниже.

СВЯЗАННЫЕ ИСТОРИИ, ЧТОБЫ ПРОВЕРИТЬ:

  • Как быстро исправить ошибку DISM 50 в Windows 10
  • Исправлено: сбой DISM в Windows 10
  • Исправлено: зависание в цикле автоматического восстановления в Windows 10

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Error 2 reading file pubring txk please make sure the file is available try again
  • Error 2 reading file keys pubring txk
  • Error 2 no such file or directory opening credential file etc cifs credentials
  • Error 2 in system call createfile
  • Error 1f xx 2700 6f0b мегафон

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии