Windows 10: Dism Repair / Windows Update Issues

Discus and support Dism Repair / Windows Update Issues in Windows 10 Software and Apps to solve the problem; Trying to do updates to a Server 2019 Standard Desktop Experience VM, when doing so I keep receiving 0x800f081f. Followed a bunch of different forums... Discussion in 'Windows 10 Software and Apps' started by NateBreeden, Feb 2, 2022.

  1. Dism Repair / Windows Update Issues


    Trying to do updates to a Server 2019 Standard Desktop Experience VM, when doing so I keep receiving 0x800f081f. Followed a bunch of different forums for troubleshooting, including resetting windows update, running windows update troubleshooter, ensuring the server has network access, etc. Decided it would be easier to just do a sfc /scannow and a dism's /restorehealth. Sfc finds corrupt files it cannot repair so I did a /checkhealth and /restorehealth, the /restorehealth gave me a 0x800f081f error so I downloaded the 1809 ISO the server is 1809 currently, mounted it, checked the drive i

    :)
     
    NateBreeden, Feb 2, 2022
    #1
  2. Kursah Win User

    Repair Windows 7/8/10

    Repairing Windows 8

    Further improving on previously deployed OS repair methods, Windows 8, 8.1, Server 2012 and 2012 R2 further allowed advanced repair where an in-place upgrade or total re-install would be required on previous operating systems. In all honesty, before Windows 10 implementation, this was arguably the easiest OS to repair for a couple of years by running more basic commands.

    This has since been advanced to more closely match Windows 10/Server 2016 repairs but with the below information I hope to guide you through performing these advanced tasks more easily!

    Spoiler: Windows 8/8.1 Repair DISM

    If CHKDSK and SFC fail to repair the issues with the system, then it this is your next option and besides restoring from a previous backup might be the second-to-last option before re-installing the operating system. We will utilize DISMfor this next repair option.
    • In some instances, you won't need the OS ISO to perform the DISM image cleanup. You can attempt this on any OS from 8-10 by using the following command in elevated CLI: DISM /Online /Cleanup-Image /RestoreHealth
    • In many cases now due to some changes Microsoft made, you'll need to have a copy of the OS ISO available. The ISO will need to be a standard deployment variety that contains Install.WIM in the Sources directory, otherwise the process will fail. Once you have the correct ISO, mount it in Explorer (can do this natively on Microsoft Windows 8.0+), verify the drive letter, verify Image.WIM in the Sources directory.
      • To download a Windows 8.1 ISO from Microsoft, click here.
    • Enter the following in elevated CLI: DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:X:\Sources\Install.wim:1 /LimitAccess
      • X = drive letter of mounted ISO. Change to match the appropriate drive letter.
      • Say I had the Install.WIM located in C:\Images, I would type the following command: DISM /Online /Cleanup-Image /RestoreHealth /source:WIM:C:\Images\Install.WIM:1 /LimitAccess
    The DISM scan can take a while, often times longer than an CHKDSK or SFC scan. To speed up the process, have the Image.WIM on a faster flash media or on local storage rather than disc media. This will help greatly. In many cases one or two runs of this command will repair most issues I've found with Windows 8/8.1.

    Once the DISM repair process has been found successful, or not, I will perform a reboot. If the repair was unsuccessful, this will be when I attempt a second pass. If the second pass fails, it is time to move onto the next solution.

    However, if the DISM repair passes at any point, reboot the system and then perform an SFC to confirm no further issues are found or need resolved. This step is likely overkill for those not seeking to do optional steps.

    Operating System Refresh

    It should be noted that in the event DISM fails to repair the system, then an OS refresh would be the next suggestion if the deployed that could save the user's files and OS deployment.

    This feature has been an available feature since Windows 8 launched in 2012. The biggest benefit with this option over Windows 7's in-place-upgrade is not necessarily requiring the OS installation media to perform the repair.

    If the system is an OEM, an OS refresh from the OEM partition may mean a reinstall of the OS and loss of user data but the restoration of OEM software and bloatware. But you can still choose a manual OS-only refresh without the bloatware if you take the correct steps.

    The best choice in my opinion is to run an OS refresh procedure from the advanced boot menu or you can run the installation media while in Windows to perform and Upgrade installation, this will keep your files and settings but replace Windows files and components.

    To access the advanced boot menu for Windows 8, there are a several options.
    • When choosing restart from the OS GUI, hold down SHIFT and click restart. This method will work even if you cannot log into a profile on the system which makes it very useful in some situations.
    • If logged in, access PC Settings, and click Restart Now under Advanced Startup.
    • If logged in, open a command prompt window and type shutdown /r /o /t 0 which will initiate a reboot into the advanced menu right with no delay. Without /t 0, there will be a 60-second delay. The number value after the /t is delay seconds.
    Once you've reached the advanced boot menu, choose Troubleshoot. From there you can choose to Refresh your PC, Reset your PC and Advanced Options. For this repair, we want to choose Refresh your PC. It's description reads "If your PC isn't running well, you can refresh it without losing our files." That is exactly what we want to accomplish here!

    Follow the prompts and processes, and after the refresh installation and rebooting, you should be greeted with a login screen back to your profile in your stable OS environment. At this point you should be able to use the system as intended, if in doubt then re-run the SFC and DISM scans.

    In-Place Upgrade

    If CHKDSK, SFC and DISM fail to repair the issues with the system, yet you can still boot to the Windows desktop, then the next option is to perform an in-place upgrade. This is more in-depth than an Operating System Refresh. It re-installs most of the operating system's core image and critical files without losing your profiles, data or programs, but do expect to lose some settings. In many cases this process can fix some major issues and refresh an otherwise corrupt and issue-ridden OS installation back to something stable and usable.

    Time to close the CLI windows and get back into the GUI, unless you want to deploy Windows through CLI. You'll have to source a different guide for that process!

    Requirements to perform an in-place upgrade:
    • Must have installation media that matches the installed OS version and type. This applies to both Windows and Windows Server.
    • Must be able to get to the desktop on the affected system to correctly initiate this process, booting to the media will not allow an upgrade to be performed.
    That last rule is the frustrating part of this repair process if you cannot get that far, backup what you can and do a fresh installation. Otherwise proceed.
    • Start the process by using autorun or manually running setup.exe from the installation media.
    • Windows 8/Server 2012+ can mount ISO's in Windows Explorer, you can use that instead of physical media options to perform this task.
    • You'll come to the installation window, the options will be Upgrade or Custom. Choose Upgrade. This is critical as choosing custom will force you to overwrite, append or wipe out the current install rather than performing any kind of repair.
    • Follow the on-screen prompts, which should be very few for you to interact with. The overall process looks and is the Windows install GUI. Once it is completed, the system will automatically reboot (may need to more than once).
    • After the reboot(s) after the in-place upgrade you should have a fully functional Windows without issues or corruptions.
    Performing an in-place upgrade makes sense, and gives you a stable and clean running operating system when there's an issue or corruption you just can't fix but things aren't broken enough to warrant a fresh installation. The point of this process is to refresh the Windows OS files but retain your data, programs, and settings. That is precisely what the in-place upgrade procedure accomplishes.

    I should also add that this process can be accomplished remotely as well, from start to finish. I have done so with persistent LogMeIn, ScreenConnect and Teamviewer installations on various remote systems I have performed this task on, RDP should work as well. Being able to do this level of repair remotely is a huge benefit to any sysadmins out there looking to keep a client happy and perform that "remote magic" IT guys are known for.


    **If at this point your issues are not fixed, then there is something else occurring that is causing the issue be it Malware, hardware, drivers, etc. Please refer to the OP in this thread to run through some of those tests and diagnostics, or create a new thread seeking help and stating what you've tried.**
     
    Kursah, Feb 2, 2022
    #2
  3. Windows 10 fails to update


    Thanks,

    The Users list compared to the Profile list you posted earlier tell me there is not an issue with Users (a known issue where there is a profile in the list, but not actual User folder).

    The error code suggests corruption in the CBS manifest:
    Try these steps one at time until the issue is resolved or you run out of steps.

    Is Windows activated?
    No? Activate Windows 10

    Launch Command Prompt (Admin)
    enter the following line
    reg query HKLM\Software\Policies\Microsoft\Windows\WindowsUpdate /s
    If DisableWindowsUpdateAccess REG_DWORD 0x1

    launch regedit
    navigate to HKEY_LOCAL_MACHINE\Software\Policies\Microsoft\Windows\WindowsUpdate
    change the value of DisableWindowsUpdateAccess to 0
    exit regedit
    exit Command Prompt

    Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Restore health to the component store
    DISM - Repair Windows 10 Image
    Step 6. To Use DISM /RestoreHealth /Source:wim Command
    - OR -
    Step 7. To Use DISM /RestoreHealth /Source:esd Command
    Check System Files
    SFC Command - Run in Windows 10
    Read the front material, then
    follow >> OPTION THREE <<
    To Run SFC /SCANNOW Command in Windows 10

    If there are integrity issues reported on screen,
    Follow the instructions in >> OPTION FIVE <<
    To View Only the "SFC" Scan Results from the CBS.LOG

    If there are no integrity errors, Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Paste the following line into the address bar of File Explorer
    Control Panel\All Control Panel Items\TroubleshootingLaunch System and Security > Fix problems with Windows Update
    Press Advanced
    Select Run as administrator
    Press Next

    Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Automatically reset Windows Update components
    Download and run MS Windows Update diagnostic cab (direct download)

    Launch Windows Update

    Try the next suggestion if the issue is not resolved.

    Manually reset Windows Updates via batch file

    Windows Update - Reset in Windows 10

    Launch Windows Update
     
    Slartybart, Feb 2, 2022
    #3
  4. Dism Repair / Windows Update Issues

    About to update, but found an issue with Dism

    I was about to about to the latest update when I decided to check my system. Using the powershell and the check and scan commands here:

    Use DISM to Repair Windows 10 Image

    My system said when I did both that both were repairable. So I proceeded to the steps below and I keep getting the "restore operation failed". I tried step 5, got the failed part so went to step 6 and tried both options; where my install.wim is at (failed) and then tried the -limitaccess one and still same.

    sfc finds issues too

    What to do now?
     
    AirPower4ever, Feb 2, 2022
    #4
Thema:

Dism Repair / Windows Update Issues

Loading...
  1. Dism Repair / Windows Update Issues - Similar Threads - Dism Repair Update

  2. Unable to repair Windows using dism.

    in Windows 10 Gaming
    Unable to repair Windows using dism.: In general, the thing is, I decided one day to check the integrity of Windows, first I ran "sfc /scannow", he wrote that everything is in order, but when I run "dism /Online /Cleanup-Image /ScanHealth", he writes "The component store is repairable.", I decided to fix it by...
  3. Unable to repair Windows using dism.

    in Windows 10 Software and Apps
    Unable to repair Windows using dism.: In general, the thing is, I decided one day to check the integrity of Windows, first I ran "sfc /scannow", he wrote that everything is in order, but when I run "dism /Online /Cleanup-Image /ScanHealth", he writes "The component store is repairable.", I decided to fix it by...
  4. Dism Repair / Windows Update Issues

    in Windows 10 Gaming
    Dism Repair / Windows Update Issues: Trying to do updates to a Server 2019 Standard Desktop Experience VM, when doing so I keep receiving 0x800f081f. Followed a bunch of different forums for troubleshooting, including resetting windows update, running windows update troubleshooter, ensuring the server has...
  5. Repair Using DISM in Windows PE

    in Windows 10 BSOD Crashes and Debugging
    Repair Using DISM in Windows PE: I cannot boot my windows. Already tried automatic startup repair and resetting the PC which both failed. I have a flash drive containing windows 10. so how do I restore it? Restoring corrupt OS in windows 7 and xp was way more simpler than the newer OS. tsk!...
  6. Dism issue

    in Windows 10 Performance & Maintenance
    Dism issue: Hello,Recently noticed 'C' drive (system) got a little 'fat', uses more disk space then before.To make story short: Ran "Dism.exe /online /Cleanup-Image /AnalyzeComponentStore".Found reclaimable packages 3, recommended cleanup "yes".Ran "Dism.exe /online /Cleanup-Image...
  7. DISM fails to repair offline Windows

    in Windows 10 Performance & Maintenance
    DISM fails to repair offline Windows: I am trying to revive my Windows OS using DISM but it fails with error 0x800F081F. I am booting the machine with latest USB Boot Media (2004) and trying to repair Windows. The details are: 1. Original Disk failed due to bad sectors. 2. Cloned disk using Macrium Reflect (Free...
  8. Windows update issues - DISM reporting 0x8E5E0147

    in Windows 10 Installation and Upgrade
    Windows update issues - DISM reporting 0x8E5E0147: I've been having trouble installing updates for a while. Tonight I tried installing .NET 3.5 and it gave me 0x8E5E0147. I tried downloading a new Win ISO and running: Dism /online /enable-feature /featurename:NetFX3 /All /Source:[USB with ISO]:\sources\sxs /LimitAccess It...
  9. Using Dism repair without access to Windows Update(Microsoft)?

    in Windows 10 Ask Insider
    Using Dism repair without access to Windows Update(Microsoft)?: I work in a secured environment where patching is restricted (so no Microsoft Updates), and there are multiple policies in place to prevent even communication (so configuring local group policy to use Windows Update instead of WSUS for dism repair won't work). I expect even...
  10. DISM Repair not working

    in Windows 10 Performance & Maintenance
    DISM Repair not working: I recently installed Windows 10 Pro 64-bit from an in-place upgrade. After doing so, I've been encountering numerous issues such as long login times and the Store not opening due to an error I'm getting which states "This app can't open." I've ran a SFC scan, and there...