We couldn’t complete the updates. Undoing changes. Error on Windows Server 2012 R2

I ran into this problem with 3 Virtual Machines. All of them were brand new installations, so it was not an issue with badly behaving applications.

The cause appeared to be the way Gen2 virtual machines worked with a particular recent update. Gen 1 virtual machines did not present this issue.

Thanks to Susan Bradley and GurliGebis on the technet forums here (http://social.technet.microsoft.com/Forums/windowsserver/en-US/e58c8b30-b91a-4d90-a1b5-8859ffc3b92c/kb2920189-fails-to-install-on-generation-2-vms?forum=winserverhyperv), we have a workaround.

  1. Shutdown the Virtual Machine.
  2. In the VM settings, disable Secure Boot.

  3. Start the VM and install the updates.
  4. Shutdown the VM and re-enable Secure Boot again.
  5. Start up the VM.

 

20 thoughts on “We couldn’t complete the updates. Undoing changes. Error on Windows Server 2012 R2”

  1. Almost a year later and I just ran into the same issue. Gen 2 VMs, fresh install of Windows Server 2012 R2, Windows updates, bam, all 3 are stuck.

  2. It worked also for us.
    Starting VM after the “Undoing Changes” message we have to wait a lot… but it runs!
    Thanks,

    S.

  3. I have this problem with a Gen 1 machine. Do you have any ideas how to fix that issue.
    It is a brand new install. All I have done is updates.

  4. AWESOME!!!!
    Thank you a million times.
    I have been struggling with this for some time now and couldn’t find a good solution until I came across your article.
    You saved me a lot of time.

  5. Worked for me too.

    It did take a long long time for it to come right but eventually Undoing Changes completed and the VM rebooted into Windows.

    Thank you.

  6. This is one of those problems that makes you shake your head and wonder which inmate is running the asylum at Microsoft. I waited for about an hour and a half for the nearly 1 gig of updates to download and install. Upon rebooting I got the message about updates not being applied and “undoing changes”. That’s been going on for 2 hours. When it finally reboots I’ll apply the fix so generously provided on this site. By the time it’s all said and done I’ll probably have waited 5 or 6 hours to spin up one completely clean VM…all because I chose a Gen2 machine. Incredible. Thanks for posting this fix.

  7. disabled secure boot but no change … still sitting at the “we couldnt complete the updates undoing changes dont turn off your computer”

    …. will give it a few hours and see what happens. will post back when i do.

  8. A Gen2 VM is doing that right now, even though all seems to be working fine for the users. They can connect to shared folders, DHCP and DNS is working. There are no issues for the clients but the server shows “Undoing Changes”. I will work on this later since it is not affecting any users.
    The solution states to shut it down but I can’t get into the server. Do I try from the Hyper-V console, or just power it off?

    Thanks.

Leave a Reply

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

Solve the Equation to continue * Time limit is exhausted. Please reload CAPTCHA.