windows 10 update stuck on getting things ready for hours on every reboot or before login screen appear?

Boot into safe mode and reset windows update components help.

Windows computer stuck at getting ready screen after windows update installation or Recent windows 10 22H2 update?

And reset windows update components probably a good solution to fix Windows 10 getting ready loop.

Disconnect all external devices and find out if this helps.

Startup repair is a good solution to fix startup bugs, which cause windows to start normally.

And follow the steps below to remove buggy update files that may be causing the problem.

Restart windows normally, I am sure there are no more Windows getting ready loop.

you could do this by the following below.

Run thesystem file checker utilitythat probably helps if corrupted, or missing system files cause the Windows update loop.

Then its the right time to utilize the Windows system Restore Features.

Which helps to revert your system to the previous working state where windows work smoothly.

CheckHow To perform System Restore on Windows 10 Computer.