Microsoft updates fail: 80071a91, 80070BC9, 80079c59, 8007000e, or prompt for restart forever

Microsoft updates fail: 80071a91, 80070BC9, 80079c59, 8007000e, or prompt for restart forever

book

Article ID: CTX221755

calendar_today

Updated On:

Description

Microsoft Windows OS update fails with an error and requests a desktop reboot on all subsequent attempts to check for updates. The most common update failure codes are 0x80071a91, 0x80070BC9, 0x80079c59, 0x8007000e.

Resolution

  • Make sure your installation machine has sufficient memory. Create a new IM with 4GB memory and retry the update. If you are still seeing the failure, try the additional steps below.
  • Add a new version to your OS layer (if you're currently working on one, cancel it and add version to start fresh).
  • Once the Installation machine is booted,  shut it down.
  • Find a non-Unidesk Windows VM that has access to the MasterCP's datastore (your original Gold is often a good choice).
    • Power it on.
    • Edit Settings, Add, Hard Disk, Use an existing disk, and go find this:

[CP Datastore] MasterCP/UnideskLayers/OS/YourOSLayer/Pwhatever.B0.Rx.V0.vmdk

What you care about in that YourOSLayer folder is the Rx field. That's the revision number, and you want the highest one. If you're not sure which one, Edit Settings on the Install Machine and look at the Disk Path for Disk 2 to see what it's using.

  • Once you have your current OS layer version mounted on the non-Unidesk machine, run CMD as Administrator and run these commands. These commands assume the OS layer is mounted as E:; substitute for correct volume letter.
    • fsutil resource setautoreset true E:\
    • E:
    • cd E:\Windows\System32\Config\TxR
    If you do not see the TxR folder present, create it before proceeding.
    • attrib -r -s -h *
    • del *
    • cd E:\Windows\System32\SMI\Store\Machine
    • attrib -r -s -h *
    • del *.tm*
    • del *.blf
    • del *.regtrans-ms
    • Then delete "E:\Windows\Software Distribution" and "E:\Windows\temp"
    • CHKDSK /F E:
    • sfc /scannow /offbootdir=e:\ /offwindir=e:\windows
    • Shut down the non-Unidesk machine.
    • Disconnect the OS layer disk.
    • Power on your Install Machine and try the updates again.