It was with the goal of eliminating problems when updating them that a tool was developed that, in theory, can help you with the difficulties that have arisen. Microsoft knows very well that when something is updated automatically, something can always go wrong. Your very first action when you receive error 0x80240034 should be to use the Windows Update Troubleshooter.
#Windows update error 0x80240034 how to
Windows 10 0x80240034 guide: how to fix error