Hello,
There are many potential causes for slow boot/slow logon performance, this will likely require some investigation and tools to help determine the root cause or causes. There is no easy answer to this question.
Start by using the Windows Performance Analyzer(WPA) to capture and your boot process and use that to analyze why your machine is booting slowly.
WPA is Part of the Windows ADK. ( Assessment and Deployment Kit). The Performance Toolkit i included in the ADK whcih includes WPA. WPA allows you to capture the boot and logon processes.
Download link for the ADK:
Download and install the Windows ADK | Microsoft Learn
Some Documentation links to WPA, multiple pages.
https://learn.microsoft.com/en-us/windows-hardware/test/wpt/optimizing-performance-and-responsiveness-exercise-2
https://learn.microsoft.com/en-us/windows-hardware/test/wpt/
Darrell