ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

[How-to] Failure Configuring Windows Updates Reverting Changes Windows 8, 8.1 and Windows Server 2012 issue

By Vladan SEGET | Last Updated: May 2, 2019

Shares

You might encounter this error when there is a power loss during the update process. You'll see this message “Failure configuring windows updates reverting changes” which basically tells you that Windows is undoing the changes (uninstalling patches.. perhaps).

Sometimes manual intervention is necessary as the updates fail to install (even after several reboots). The problem with Failure configuring windows updates reverting changes can happen on Windows 8, 8.1 and Windows Server 2012, 2012 R2.

We will see in a minute what to do to be able to run Windows update again. I suppose that you don't have a recent backup to revert back. The problem looks like this:

You can solve the issue via Microsoft command line utility called DISM (Deployment Image Servicing and Management ). Then you can try to install the Windows updates again.

Failure configuring windows updates reverting changes Windows 8, 8.1 and Windows Server 2012

The DISM tool isn't used only for this but does many other things. It can, for example, be used to activate or deactivate features and roles.

The process to clean the image is not difficult, just two commands:

Log in as an Admin and open a command prompt > type:

DISM.exe /Online /Cleanup-image /Scanhealth

Failure Configuring Windows Updates Reverting Changes Windows 8, 8.1 and Windows Server 2012 issue

(Depending of the size of the component store it can take up to 20-30 min to scan…)

DISM.exe /Online /Cleanup-image /Restorehealth

Failure configuring windows updates reverting changes Windows 8, 8.1 and Windows Server 2012

Now you can run the Windows update again.

If you want to see all the options you can type:

dism /?

and you get all the options with description and examples as well…

DESCRIPTION:

DISM enumerates, installs, uninstalls, configures, and updates features
and packages in Windows images. The commands that are available depend
on the image being serviced and whether the image is offline or running.

GENERIC IMAGING COMMANDS:

/Get-MountedImageInfo – Displays information about mounted WIM and VHD
images.
/Get-ImageInfo – Displays information about images in a WIM or VHD
file.
/Commit-Image – Saves changes to a mounted WIM or VHD image.
/Unmount-Image – Unmounts a mounted WIM or VHD image.
/Mount-Image – Mounts an image from a WIM or VHD file.
/Remount-Image – Recovers an orphaned image mount directory.
/Cleanup-Mountpoints – Deletes resources associated with corrupted mounted images.
WIM COMMANDS:

/Capture-CustomImage – Captures customizations into a delta WIM file on a
WIMBoot system. Captured directories include all
subfolders and data.
/Get-WIMBootEntry – Displays WIMBoot configuration entries for the specified disk volume.
/Update-WIMBootEntry – Updates WIMBoot configuration entry for the specified disk volume.
/List-Image – Displays a list of the files and folders in a specified image.
/Delete-Image – Deletes the specified volume image from a WIM file that has multiple volume images.
/Split-Image – Splits an existing .wim file into multiple  read-only split WIM (SWM) files.
/Export-Image – Exports a copy of the specified image to another file.
/Append-Image – Adds another image to a WIM file.
/Capture-Image – Captures an image of a drive into a new WIM file.
Captured directories include all subfolders and data.
/Apply-Image – Applies an image.
/Get-MountedWimInfo – Displays information about mounted WIM images.
/Get-WimInfo – Displays information about images in a WIM file.
/Commit-Wim – Saves changes to a mounted WIM image.
/Unmount-Wim – Unmounts a mounted WIM image.
/Mount-Wim – Mounts an image from a WIM file.
/Remount-Wim – Recovers an orphaned WIM mount directory.
/Cleanup-Wim – Deletes resources associated with mounted WIM images that are corrupted.

IMAGE SPECIFICATIONS:

/Online – Targets the running operating system.
/Image – Specifies the path to the root directory of an offline Windows image.

DISM OPTIONS:

/English – Displays command line output in English.
/Format – Specifies the report output format.
/WinDir – Specifies the path to the Windows directory.
/SysDriveDir – Specifies the path to the system-loader file named BootMgr.
/LogPath – Specifies the logfile path.
/LogLevel – Specifies the output level shown in the log (1-4).
/NoRestart – Suppresses automatic reboots and reboot prompts.
/Quiet – Suppresses all output except for error messages.
/ScratchDir – Specifies the path to a scratch directory.

For more information about these DISM options and their arguments, specify an option immediately before /?.

Examples:
DISM.exe /Mount-Wim /?
DISM.exe /ScratchDir /?
DISM.exe /Image:C:\test\offline /?
DISM.exe /Online /?

Shares
5/5 - (2 votes)

| Filed Under: How To, Windows Server 2012 Tagged With: Failure Configuring Windows Updates Reverting Changes

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Comments

  1. Mike says

    September 1, 2015 at 5:05 am

    My only account is me, Mike M, as admin, When I type in the command for DISM, Windows tells me I need elevated privileges , there is no other account…. Geez I have no idea what the workaround would be.

    • Vladan SEGET says

      September 1, 2015 at 4:36 pm

      Just open the command prompt with admin priviledges… (type “cmd” in the search window > right click the command prompt shortcut > Open as Administrator)…

  2. Adam says

    June 16, 2016 at 5:32 am

    I have this problem with a hyper-v vm. How can I use this method when I cant get to a cmd prompt outside of booting to a install image and choosing repair?

  3. Rob says

    September 12, 2017 at 10:42 am

    I don’t understand, how do you get into the admin to start a cmd session if its stuck in this phase the whole time?

    • Duh says

      December 8, 2017 at 6:21 pm

      Exactly! This tut does not explain how to get to cmd to run that command. I have tried to do it via one of the repair options, but it does not let me run the DISM command because of the following issue:
      “dism doesn’t support servicing windows PE with the /online option”

      So I’m currently stuck in the “Failure configuring Windows Updates, Reverting changes” loop. I’m gonna search for some other threads, but I already wasted a lot of my free time to fix it.

  4. Sal Verini says

    December 27, 2018 at 11:46 am

    go to start at lower left, right click and select search then type cmd

    • pedro says

      May 2, 2019 at 10:55 am

      @sal verini,

      He cant enter his windows, how can he click start then? read before trying to be smart

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in