How to Resolve the DISM Restore Health Incorrect Function Error?

How to Resolve the DISM Restore Health Incorrect Function Error?

The DISM Restore Health Incorrect Function error typically arises from problems within the Windows operating system or system image files. This issue may occur if the DISM tool is unable to access and repair essential files required for restoring the system image’s integrity, often due to permission issues or file corruption.

To address this error, the first step is to open Command Prompt with administrative privileges. Make sure to verify the syntax of the command you intend to use to avoid any typing errors. Additionally, it is advisable to run a malware scan.

How can I fix the DISM Restore Health Incorrect Function error?

1. Check the Windows Update service

  1. Press Windows + R to open the Run dialog.Services Run command - dism restore health incorrect function
  2. Type services.msc and click OK to access the Services window.
  3. Find the Windows Update service, right-click it, and check if the Start option is greyed out, indicating that the service is operational. If not, click Start to activate it.Windows Update service -
  4. Next, look for Background Intelligent Transfer Service (BITS) and Cryptographic Services, and follow the same procedure for these services.

2. Update Windows

  1. Press Windows + I to open the Settings app.
  2. Navigate to Windows Update and click the Check for updates button.Download updates - dism restore health incorrect function
  3. If any updates are available, click Download and install to update to the latest version of Windows.

3. Run DISM in the Windows Recovery Environment

  1. Press the Power button to turn on your computer.
  2. When the Windows logo appears during boot, press the Power button again to shut down your PC. Repeat this power cycle three times.
  3. On the third restart, you will encounter a blue screen, indicating you’ve entered the Windows Recovery Environment (WinRE).
  4. Click Troubleshoot in the Choose an option screen.Troubleshoot - dism restore health incorrect function
  5. Select Advanced options.Advanced options- CMD SFC
  6. On the Advanced Options screen, select Command Prompt.Command Prompt - dism restore health incorrect function
  7. In the command prompt window, enter the following command to initiate the DISM scan and press Enter: dism /online /cleanup-image /restorehealth
  8. Wait for the process to complete, and then restart your computer to apply the changes.

4. Run DISM scan with the Source option

4.1 Create installation media

  1. Visit the Microsoft Windows 11 download webpage.Download now
  2. Click Download Now to download the Media Creation Tool executable.
  3. After the download finishes, insert the USB drive, double-click on the Media Creation Tool, and select Yes on the User Account Control (UAC) prompt.
  4. Accept the license terms and agreement.
  5. Select your desired language, edition, and architecture (32-bit or 64-bit) for Windows 11, then click Next.
  6. Choose USB flash drive and click Next.USB Setup Windows 11 step 3 - dism restore health incorrect function
  7. After confirming the drive letter for the USB device, click Next.
  8. Follow the on-screen instructions to create a bootable USB drive. Once complete, click Finish when you see the message indicating that your USB flash drive is ready.Finish

4.2 Run the DISM scan

  1. Connect the USB drive to your computer and press Windows + E to open Windows File Explorer.
  2. In the left pane, click on This PC, locate the USB drive, and note its drive letter.
  3. Press the Windows key, type cmd in the search box, and select Run as administrator.
  4. Type the following command, replacing the drive letter E with your USB drive’s letter, and hit Enter. This specifies an alternative source for the files needed to repair the Windows image: DISM /Online /Cleanup-Image /RestoreHealth /Source:wim:E:\sources\install.wim:1 /LimitAccess
  5. Wait for the command to complete and check if the error persists.

Using an alternative source for the DISM scan is an effective way to carry out DISM commands to repair a Windows 10 PC.

5. Clean up system image components

  1. Press the Windows key, type cmd in the search bar, and select Run as administrator to open Command Prompt with administrative privileges.
  2. Enter the following command and press Enter : Dism.exe /online /Cleanup-Image /StartComponentCleanupdism restore health incorrect function
  3. Allow the process to finish.
  4. Attempt to run the DISM scan again after executing these commands.
  5. If DISM continues to experience issues, you can also run the following commands:
    • DISM /Online /Cleanup-Image /StartComponentCleanup DISM /Online /Cleanup-Image /AnalyzeComponentStore Dism.exe /online /Cleanup-Image /StartComponentCleanup Dism.exe /online /Cleanup-Image /StartComponentCleanup /ResetBase

Cleaning up system image components can effectively resolve the DISM failure on your Windows PC, which may be influenced by interference from antivirus software.

6. Run the CHKDSK scan

  1. Open Command Prompt with elevated rights by pressing the Windows key, typing cmd, and selecting Run as administrator.CMD elevated - dism restore health incorrect function
  2. Enter the following command and press Enter: chkdsk /f
  3. Click Y if prompted to schedule the scan for the next restart.cmd_chkdsk
  4. Restart your computer to initiate the scan.

7. Run an SFC scan

  1. Open Command Prompt with administrative privileges by pressing the Windows key, typing cmd, and selecting Run as administrator.CMD elevated -dism restore health incorrect function
  2. Copy & paste the following command to repair the Windows system files and press Enter : sfc /scannowCMD SFC
  3. Wait for the process to finish, and then restart your computer to apply the changes.

8. Perform a clean installation

8.1 Install Windows 11

  1. Insert the USB drive into the target computer, and press Windows + I to access Settings.
  2. Go to System, then click Recovery.System - recovery - dism restore health incorrect function
  3. Find Advanced startup, and click on the Restart now button.Recovery Advanced Startup
  4. Your computer will restart and display a blue screen. Select Use a device. If it is not visible, you may need to boot your computer in BIOS mode and select the USB device to boot from.Choose-an-option usb SELECTED - dism restore health incorrect function
  5. Choose your language and other appropriate settings on the initial screen, then click Next.
  6. Select Install now, check the box agreeing to the terms, and press Next.
  7. Select Custom: Install Windows only (advanced).
  8. On the next screen, you will see a list of drives and partitions. Choose the ones you wish to delete, then click Delete. Click OK if a Windows Setup notification appears.
  9. Click Next and follow the on-screen instructions to complete the installation process.

Your computer will restart several times during installation. Do not turn off your device while the installation is in progress.

8.2 Configure Windows settings

  1. Once installation is complete, choose your region and keyboard layout from the setup screen.
  2. When prompted, connect to your Wi-Fi network.
  3. Sign in to your Microsoft account or create a new one if necessary.
  4. Adjust the privacy settings according to your preference, and follow other prompts to set up remaining features.
  5. After setup is final, press Windows + I to open Settings and navigate to Windows Update.Check for updates - dism restore health incorrect function
  6. Click Check for updates, then select Download and install to acquire the latest updates.

If the command dism /online /cleanup-image /restore health becomes unresponsive, ensure you have administrative access, restart your computer, and try again.

For further questions or additional suggestions on how to resolve the DISM Restore Health Incorrect Function error, please feel free to share your thoughts in the comments section below.

Source

Leave a Reply

Your email address will not be published. Required fields are marked *