[SOLVED] I cannot in-place upgrade windows 11

7medd

Reputable
Nov 14, 2020
118
28
5,270
Hello,

So like many people I couldn't install the update KB5015814. All other fixes did not work so I tried an in-place upgrade but I could not either and got this message

https://www.minitool.com/images/upl...etermining-if-pc-run-windows-11-thumbnail.png

I tried to boot in safe mode to make upgrade work but I found out that I could not either. I went to Boot option (msconfig) but I did not find windows 11 installation out there . Case was empty (sorry french OS )

https://zupimages.net/viewer.php?id=22/31/xjkw.jpg

I dont know what caused this. I doubt this happened when I added a new PCIE4 NVME (C) and made a new clean install , and discovered that the invisible system partitions were still on the old SSD so I used AOMEI to clone them to new SSD .


https://zupimages.net/viewer.php?id=22/31/vawx.jpg

Everything worked fine back than and I didnt have any problem until this windows update error.

So you see it looks like a complex issue. Can it be solved without me loosing my programs? I ve tried sfcscannow and windows troubleshoot
 
Solution
I'd suggest you recreate bootloader partition.
1st - prepare USB flash drive with windows installation media (if you don't have it already).
That will be necessary, if something goes wrong.

After that execute from elevated command prompt. Regular command prompt will give error on last command.
If you get any errors, then stop immediately and show screenshot with command output.
Last message should be "Boot files created successfully".

diskpart
list disk
select disk 0
list partition
select partition x
(select 930GB partition C: , x=1 or x=2)​
extend
select partition 3
(select 622MB partition...​
Can you switch language to English?

It looks like you have OS drive partitioned in MBR. Not exactly sure about it, since it's in French.
And bootloader partition is extremely small - 78MB. Recommended size is 350MB to 500MB. This can cause updates to fail.

Can you check OS drive partitioning scheme?
Right-click on Disk 0, choose Properties/Volumes and show screenshot.
 

7medd

Reputable
Nov 14, 2020
118
28
5,270
Can you switch language to English?

It looks like you have OS drive partitioned in MBR. Not exactly sure about it, since it's in French.
And bootloader partition is extremely small - 78MB. Recommended size is 350MB to 500MB. This can cause updates to fail.

Can you check OS drive partitioning scheme?
Right-click on Disk 0, choose Properties/Volumes and show screenshot.
Thank you
I did switch display language to english and here is the info you asked for

https://postimg.cc/8fLLprML

About bootloader partition I dont seem to be able to extend it since it is greyed out atm. I did free up 600 mb

https://postimg.cc/DWbdZZVf
 
I'd suggest you recreate bootloader partition.
1st - prepare USB flash drive with windows installation media (if you don't have it already).
That will be necessary, if something goes wrong.

After that execute from elevated command prompt. Regular command prompt will give error on last command.
If you get any errors, then stop immediately and show screenshot with command output.
Last message should be "Boot files created successfully".

diskpart
list disk
select disk 0
list partition
select partition x
(select 930GB partition C: , x=1 or x=2)​
extend
select partition 3
(select 622MB partition, we're going to delete it to make space for new bootloader)​
delete partition override
select partition 4
(select 78MB partition, we're going to delete it too)​
delete partition override
create partition efi size=500
format fs=fat32 quick
assign letter=H
exit
bcdboot C:\windows /s H:

Reboot and check, if you can boot normally into windows.

 
Last edited:
  • Like
Reactions: 7medd
Solution
Ah - it will not allow deleting system partition from within windows.
You'll have to boot from windows installation media into command prompt mode (press Shift+F10) and continue from there.

diskpart
list disk
select disk 0
(select 931GB disk)​
list partition
select partition x
(select 78MB partition , x=3 or x=4)​
delete partition override
create partition efi size=500
format fs=fat32 quick
assign letter=H
exit
bcdboot C:\windows /s H:
 
Last edited:
  • Like
Reactions: 7medd

7medd

Reputable
Nov 14, 2020
118
28
5,270
Ah - it will not allow deleting system partition from within windows.
You'll have to boot from windows installation media into command prompt mode and continue from there.

diskpart
list disk
select disk 0
(select 931GB disk)​
list partition
select partition x
(select 78MB partition , x=3 or x=4)​
delete partition override
create partition efi size=500
format fs=fat32 quick
assign letter=H
exit
bcdboot C:\windows /s H:
I'm gonna clone C to an external SSD real quick than start this
 

7medd

Reputable
Nov 14, 2020
118
28
5,270
C: doesn't get changed. There's no need to clone it.
Unless you're worrying, you'll accidentally delete it.
I did run cmd from usb boot
I managed to delete that partition , but last step didnt say "boot files created sucessefuly"

Instead it showed this

https://postimg.cc/gallery/HgSbTg4

It was like defining bcdboot tool.. that second try was a typo

It is in french because the usb I already prepared was in french i guess

Im still in that cmd step
 

7medd

Reputable
Nov 14, 2020
118
28
5,270
Windows OS partition doesn't have drive letter assigned.
diskpart
list disk
select disk 0
list partition
select partition 2
(select 930GB partition)​
assign letter=C
exit
bcdboot C:\windows /s H: /v
It did work thank you very much

Now I booted normally and have windows 11 in boot menu

https://postimg.cc/HrczVddT

KB5015814 and KB5015882 update worked this time through regular windows updater
 
Last edited: