Windows updates fails on KB5034441: Windows Recovery Environment update for Windows 10, version 21H2 and 22H2: January 9, 2024

Open PowerShell with Administrator rights and first allow to run a PowerShell script:

set-executionpolicy remotesigned

Script:

Add an update to Windows RE | Microsoft Learn