DISM and SFC not working.


  1. Posts : 49
    Windows 10
       #1

    DISM and SFC not working.


    Hey, everybody. I can't run DISM or SFC on my computer.

    When I run Dism /Online /Cleanup-Image /RestoreHealth, it says this:

    Code:
    Deployment Image Servicing and Management tool
    Version: 10.0.16299.15
    
    Image Version: 10.0.16299.64
    
    
    Error: 216
    
    This version of %1 is not compatible with the version of Windows you're running. Check your computer's system information and then contact the software publisher.
    
    The DISM log file can be found at C:\Windows\Logs\DISM\dism.log
    When I run sfc /scannow, it says this.

    Code:
    Windows Resource Protection could not start the repair service.
    I looked online and I couldn't find any solution on how to fix this. Can you please tell me how to fix this?

    Please don't tell me to reformat my computer, buy a new computer, perform a clean boot, refresh my computer, or anything that causes me to lose any of my data.

    I also attached my dism.log file.
      My Computer


  2. Posts : 5,326
    Windows 11 Pro 64-bit
       #2

    Please open the Command Prompt by typing cmd.exe into Start Menu, right-click on Cmd.exe, and open it as an administrator. Execute following command to enable "Windows Modules Installer" service.

    Code:
    sc config trustedinstaller start=demand
    
    net start trustedinstaller
    Try SFC and Dism commands after executing above commands.
      My Computer


  3. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #3

    Please don't tell me to reformat my computer, buy a new computer, perform a clean boot,
    a. A clean boot won't cause you to lose data. Do you understand what that is? Simply disabling startups- which can be re-enabled.
    b. I take it you do have a full backup, and use disk imaging routinely as is so often urged here. These will help you avoid losing your data etc.

    c. If you research the second error message, you find e.g.
    Windows Resource Protection could not start the repair service
    e.g.
    Run services.msc to open the Services Manager. Look for Windows Modules Installer or the TrustedInstaller service. Double-click on it and ensure that the Service is Started. If not press the Start button. Its startup type has to be set to Manual, by the way.
    d. Failing this, you can try an in-place upgrade repair install whick keeps all progs, data and most settings.
      My Computers


  4. Posts : 49
    Windows 10
    Thread Starter
       #4

    FreeBooter said:
    Please open the Command Prompt by typing cmd.exe into Start Menu, right-click on Cmd.exe, and open it as an administrator. Execute following command to enable "Windows Modules Installer" service.

    Code:
    sc config trustedinstaller start=demand
    
    net start trustedinstaller
    Try SFC and Dism commands after executing above commands.
    I tried using those two commands. Still doesn't work.

    - - - Updated - - -

    dalchina said:
    a. A clean boot won't cause you to lose data. Do you understand what that is? Simply disabling startups- which can be re-enabled.
    b. I take it you do have a full backup, and use disk imaging routinely as is so often urged here. These will help you avoid losing your data etc.

    c. If you research the second error message, you find e.g.
    Windows Resource Protection could not start the repair service
    e.g.


    d. Failing this, you can try an in-place upgrade repair install whick keeps all progs, data and most settings.
    I started Windows Modules Installer and put it on Manual. It still doesn't work.
      My Computer


  5. Posts : 41,459
    windows 10 professional version 1607 build 14393.969 64 bit
       #5

    Update the specs in the "My Computer" section:

    System Specs - Fill in at Ten Forums | Tutorials
    In the left corner below in your post you find 'My System Specs'.
    After clicking it you can find a link a little below that says 'Update your System Spec', click on this link to get to the page where you can fill in your system specs.
    System Info - See Your System Specs - Windows 7 Help Forums

    Include PSU. cooler, case, peripherals and anything attached to the computer by wired or wireless (mouse, keyboard, headset, printer, xbox, USB wireless network card, etc.)


    Th computer is using 1709 and has failed automatic upgrades.

    Find two flash drives that you can format (> or = 8 GB).

    Create two Windows 10 iso:
    a) Windows 10 1709
    Windows Download - #1 Windows ISO Download Source
    Microsoft Windows and Office ISO Download Tool
    TechBench by WZT (v4.1.1)

    b) Windows 10 1809
    Download Windows 10 ISO File | Tutorials
    Download Windows 10

    Perform an in place upgrade repair with the Windows 1709 iso.

    If that is successful it should fix scannow and restorehealth problems.

    Then perform an in place upgrade repair with the Windows 1809 iso.

    Before performing the in place upgrade repairs:
    a) check the drive with HD Sentinel (free or trial version) and chkdsk /r /v
    b) place the computer in clean boot
    Perform a Clean Boot in Windows 10 to Troubleshoot Software Conflicts | Tutorials
    c) uninstall all non-Microsoft antivirus, firewall, and drive encryption software
    d) post an image of disk management
    Disk Management - How to Post a Screenshot of | Tutorials
    e) open device manager > click view > click show hidden devices manually expand all rows > look for any row displaying a yellow triangle with black exclamation mark or unknown device > post images into the thread
    f) disconnect all cables for the non-Windows drives or remove the drives from the computer

    If there is a successful in place upgrade repair with Windows 1709 but a failure with 1809 then open a thread in the Installation and Upgrade forum with the results of setupdiag:
    SetupDiag | Microsoft Docs
    Installation and Upgrade - Windows 10 Forums

    If all of the above work then you are set.
    If all of the above fail then plan a reset save files (save files, install drivers and applications) or reset save files equivalent.
    Reset Windows 10 | Tutorials
      My Computer


  6. Posts : 42,953
    Win 10 Pro (22H2) (2nd PC is 22H2)
       #6

    WareNetwork2000 said:
    I tried using those two commands. Still doesn't work.
    .
    Thank you so much for your reply.

    The second part referred to doing an in-place upgrade repair install

    zbook has given you further details of how to do that. Once again, you are now in zbook's hands.
      My Computers


  7. Posts : 49
    Windows 10
    Thread Starter
       #7

    zbook said:
    Update the specs in the "My Computer" section:

    System Specs - Fill in at Ten Forums | Tutorials
    In the left corner below in your post you find 'My System Specs'.
    After clicking it you can find a link a little below that says 'Update your System Spec', click on this link to get to the page where you can fill in your system specs.
    System Info - See Your System Specs - Windows 7 Help Forums

    Include PSU. cooler, case, peripherals and anything attached to the computer by wired or wireless (mouse, keyboard, headset, printer, xbox, USB wireless network card, etc.)


    Th computer is using 1709 and has failed automatic upgrades.

    Find two flash drives that you can format (> or = 8 GB).

    Create two Windows 10 iso:
    a) Windows 10 1709
    Windows Download - #1 Windows ISO Download Source
    Microsoft Windows and Office ISO Download Tool
    TechBench by WZT (v4.1.1)

    b) Windows 10 1809
    Download Windows 10 ISO File | Tutorials
    Download Windows 10

    Perform an in place upgrade repair with the Windows 1709 iso.

    If that is successful it should fix scannow and restorehealth problems.

    Then perform an in place upgrade repair with the Windows 1809 iso.

    Before performing the in place upgrade repairs:
    a) check the drive with HD Sentinel (free or trial version) and chkdsk /r /v
    b) place the computer in clean boot
    Perform a Clean Boot in Windows 10 to Troubleshoot Software Conflicts | Tutorials
    c) uninstall all non-Microsoft antivirus, firewall, and drive encryption software
    d) post an image of disk management
    Disk Management - How to Post a Screenshot of | Tutorials
    e) open device manager > click view > click show hidden devices manually expand all rows > look for any row displaying a yellow triangle with black exclamation mark or unknown device > post images into the thread
    f) disconnect all cables for the non-Windows drives or remove the drives from the computer

    If there is a successful in place upgrade repair with Windows 1709 but a failure with 1809 then open a thread in the Installation and Upgrade forum with the results of setupdiag:
    SetupDiag | Microsoft Docs
    Installation and Upgrade - Windows 10 Forums

    If all of the above work then you are set.
    If all of the above fail then plan a reset save files (save files, install drivers and applications) or reset save files equivalent.
    Reset Windows 10 | Tutorials
    I'm not reformatting my computer or performing a clean boot.
      My Computer


  8. Posts : 41,459
    windows 10 professional version 1607 build 14393.969 64 bit
       #8

    There are two procedures that are extremely different:

    They both have clean in the name but are extremely different.

    clean install versus clean boot

    A clean install should not be performed as it is the method to clean the drive and install a new copy of Windows.
    All files, folders, applications, drivers, partitions, etc. are deleted.
    Clean Install Windows 10 | Tutorials

    In contrast a clean boot doesn't clean the drive and does not install a new copy of Windows.
    All files, folders, applications, drivers, partitions, etc. aren't deleted.
    https://support.microsoft.com/en-us/...oot-in-windows
    How to perform a Clean Boot in Windows 10 - TechNet Articles - United States (English) - TechNet Wiki

    Perform a Clean Boot in Windows 10 to Troubleshoot Software Conflicts | Tutorials

    How to Perform a Clean Boot in Windows 10 - YouTube
    How to Perform a Clean Boot in Windows 10 - YouTube
      My Computer


  9. Posts : 49
    Windows 10
    Thread Starter
       #9

    zbook said:
    There are two procedures that are extremely different:

    They both have clean in the name but are extremely different.

    clean install versus clean boot

    A clean install should not be performed as it is the method to clean the drive and install a new copy of Windows.
    All files, folders, applications, drivers, partitions, etc. are deleted.
    Clean Install Windows 10 | Tutorials

    In contrast a clean boot doesn't clean the drive and does not install a new copy of Windows.
    All files, folders, applications, drivers, partitions, etc. aren't deleted.
    https://support.microsoft.com/en-us/...oot-in-windows
    How to perform a Clean Boot in Windows 10 - TechNet Articles - United States (English) - TechNet Wiki

    Perform a Clean Boot in Windows 10 to Troubleshoot Software Conflicts | Tutorials

    How to Perform a Clean Boot in Windows 10 - YouTube
    How to Perform a Clean Boot in Windows 10 - YouTube
    Do you mean booting in Safe Mode?
      My Computer


  10. Posts : 41,459
    windows 10 professional version 1607 build 14393.969 64 bit
       #10

    When booting there are multiple options using msconfig:

    a) normal boot
    b) selective boot
    c) clean boot

    safe mode
    safe mode with networking
    safe mode with command prompt

    Each of the above can be done by checking a box or selecting a menu item except clean boot.
    Clean boot can be performed by following the steps in the Ten Forums or Microsoft links.

    An in place upgrade repair cannot be performed in safe mode and can be performed in clean boot.

    This is an additional video on clean boot:
    How To Clean Boot In Windows 10 For Troubleshooting - YouTube
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:54.
Find Us




Windows 10 Forums