- Joined
- Apr 25, 2024
- Messages
- 12
- Reaction score
- 2
My computer keeps giving me 0x80070643 error when i try to update it. I have ran the troubleshooter and didn’t help. Don’t know what to do next
Hi! You are trying to shrink the Recovery Partition:No need to temporarily unhide the recovery partition. This is what works:
Download Windows 22H2 from the Microsoft website. You can create an ISO or a USB with the media creation tool. If you use an ISO you will have to mount it virtually.
Find the install.ESD file Convert it to install.WIM following these steps:
Create a directory for the install.ESD and copy the file you located above.
From that directory, enter:
Check the status of recovery
reagentc /info
Disable windows recovery
reagentc /disable
dism /Get-WimInfo /WimFile:install.esd
dism /export-image /SourceImageFile:install.esd /SourceIndex:1 /DestinationImageFile:install.wim /Compress:max /CheckIntegrity
Open the install.wim with 7zip (or peazip) and locate folder winre.wim (including reagent.xml
copy the contents of the folder into C:\Windows\System32\Recovery (while in 7zip)
You can now resize your recovery partition
diskpart
list disk
sel disk<OS disk index of your windows boot drive, usually it is zero>
diskpart
list part
(info for GPT disk)
select part<WinRE partition index>
shrink desired=250 minimum=250
create partition primary id=de94bba4-06d1-4d40-a16a-bfd50179d6ac
gpt attributes =0x8000000000000001
format quick fs=ntfs label=”Windows RE tools”
list vol
exit (from diskpart)
Finally, run:
reagentc /enable
run the problem update (took a long time on my PC)
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.