Atlas-OS / Atlas

🚀 An open and lightweight modification to Windows, designed to optimize performance, privacy and usability.
https://atlasos.net
GNU General Public License v3.0
12.63k stars 493 forks source link

[BUG] - Cannot install AtlasOS because Windows Update fails #1017

Closed MertDalbudak closed 5 months ago

MertDalbudak commented 6 months ago

Description

With the latest Windows 10 update (KB5034441) which is not installing and resulting into an error (0x80070643) I am not able to install AtlasOS since it requires to install all available Updates first.

Steps to reproduce

Just run playbook with AME

Expected behavior

skipping windows update requirements when update couldn't be installed

Actual behavior

Playbook wants you to update even though update will always result in an error.

Atlas Edition

Atlas for Windows 10 22H2

Desktop information

None specific

Additional content

No response

wozzyi commented 6 months ago

read this, https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf

edited: wrong link, my clipboard is so messy

herocoder14 commented 6 months ago

I am pretty sure this is a problem due to the small size of WinRE partition as in newer updates of windows the size of partition should be greater than 750mb.

Original Problem: Here

Solution: Here

Full Explanation: The update KB5034441 failed with a fatal error when staging the WIM. This is due to a lack of free space in the WinRE partition.

KB5034441: Windows Recovery Environment update for Windows 10, version 21H2 and 22H2: January 9, 2024 - Microsoft Support

Resizing the Recovery partition to 750 MB resolves the issue. That applies if you use the Windows-default winre.wim.

For OEM-supplied winre.wim (which has additional drivers and packages), ensure the Recovery partition's size is atleast 100 MB more than the size of the custom wim.

KB5028997: Instructions to manually resize your partition to install the WinRE update - Microsoft Support: https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf

Note: The above MS article works only if your Recovery partition is situated next to (i.e., right side) the OS partition. You can check the disk layout by opening Disk Management.

(Based on what I've noticed on the forums, many users have decided to skip/hide the KB5034441 update and wait and see if Microsoft releases a fix.)

herocoder14 commented 6 months ago

I am pretty sure this is a problem due to the small size of WinRE partition as in newer updates of windows the size of partition should be greater than 750mb.

Original Problem: Here

Solution: Here

Full Explanation: The update KB5034441 failed with a fatal error when staging the WIM. This is due to a lack of free space in the WinRE partition.

KB5034441: Windows Recovery Environment update for Windows 10, version 21H2 and 22H2: January 9, 2024 - Microsoft Support

Resizing the Recovery partition to 750 MB resolves the issue. That applies if you use the Windows-default winre.wim.

For OEM-supplied winre.wim (which has additional drivers and packages), ensure the Recovery partition's size is atleast 100 MB more than the size of the custom wim.

KB5028997: Instructions to manually resize your partition to install the WinRE update - Microsoft Support: https://support.microsoft.com/en-us/topic/kb5028997-instructions-to-manually-resize-your-partition-to-install-the-winre-update-400faa27-9343-461c-ada9-24c8229763bf

Note: The above MS article works only if your Recovery partition is situated next to (i.e., right side) the OS partition. You can check the disk layout by opening Disk Management.

(Based on what I've noticed on the forums, many users have decided to skip/hide the KB5034441 update and wait and see if Microsoft releases a fix.)

Note: The explanation is from the official MS site

he3als commented 5 months ago

Alternatively, you could try reinstalling using a USB stick and deleting all partitions.

MertDalbudak commented 5 months ago

I've figured out that pausing Windows Updates enables you to perform the playbook.

wicked84 commented 3 months ago

thanks Author MertDalbudak