Hello,
Thank you for posting in Q&A forum.
There are several reasons why a Windows-based computer may have problems during startup. To troubleshoot boot problems, first determine in which of the following phases the computer gets stuck. Please refer to the following link: Windows boot issues troubleshooting - Windows Client | Microsoft Learn
The above link provides multiple repair solutions, you can repair the fault according to the cause of your fault.
I hope the information above is helpful.
Best Regards,
Yanhong Liu
============================================
If the Answer is helpful, please click "Accept Answer" and upvote it.