Hello,
I 'm stuck with this error, please take the time to review what I did...
I would like to add to this tread, I have to put in context to start, brand new VM 2016 std, from ISO "SW_DVD9_WIN_SERVER_STD_CORE_2016_64BIT_ENGLISH_-4_DC_STD_MLF_X21-70526" I created an base VM image that included all updates. than I always do that to keep my base image : defrag c: /u /v, sfc /scannow, dism /online /cleanup-image /startcomponentcleanup, dism /online /cleanup-image /startcomponentcleanup /resetbase, defrag c: /u /v, chkdsk /r /f/ /b reboot let the check disk finish, log back in, empty all events log, then I do the sysprep /oobe /generalize /mode:vm /shutdown than I keep my .vhdx for further usage. (Host are Hyper-V 2019) Note on this attemp all the previous command completed sucessfully.
So I did this exact steps monday this week, feb. 1st 2021. at the time of all command above, Windows Server 2016 STD is already fully patched from the online store (no WSUS in in the loop).
Then I took one vhdx out to create a true VM for my needs. The VM is becoming a DC + DNS + DHCP + NPS and all is fine. until I ran the lookup for update then instant 0x80070006. reboot, retry, nope. Then I reverse eng. a bit. uninstall AV, no change, reinstall windows defender, no change, do all kind of known workaround like in this forum os the well know stop wuauserv dele the SoftwareDistribution start the service etc. Nothing change, always stuck there. So I have plenty of other VM 2016 STD running on different host. I logged on two of them lookup for updates and all is fine and they are also fully u to date as well...
So a DC is somehow a very easy role to reinstall,I took me base vhdx again (the same) and I try simply to run after the first boot the lookup for updates... Same error. I said to myselft, ahh my reference image is bad... So Thursday night (feb 4th 2021) I took the Same ISO, install a new VM, and this time I joined it to the domain first things, loaded AV as we run in the company, placed the vm in the right OU like any other server VM, make it like a real machine to rule out my network policy etc. all is fine so I let the VM sit online for the night, Friday morning the 5th, I run windows update, all if fine. from that ISO only 4 updates are somehow needed they are : KB4598243, KB4535680, KB4576750, KB4049065. Then I reboot, Look up again, all is fine reports system fully up to date. I ran defrag c: /u /v and a chkdsk c: /r /f /b and reboot, lookup again, and bang error 0x80070006 instant.
So last steps of my base VM sysprep was a chkdsk /r /f /b and now on a new vm installed after first update ran another chkdsk c: /r /f /b and boom the problem arises again. I'm pretty confidant now that I can reproduce this error again and again....
Why do I run that... at first it is just to keep a fully ok anc clean base sysprep image and I do that since Windows Virtual Server 2005 !!!
Now why I do that on the vm installed, i wanted to test what operation could be triggering that.... it was intentional and not triggered by a dirty chutdown or anything else... Could it be a root cause with one of the latest windows update ??? I'm willing to retry another time from scratch becasue I'm now at a point that I have no more ideas...
Thanks