Hi Bilal_Ali,
Welcome to Microsoft Community.
We fully understand the inconvenience the issue has caused.
What you have appears to be a collection of plural problems.
A collection of multiple questions means that exploring related factors is difficult to advance.
Is the Windows 11 22H2 you installed upgraded from other versions of Windows*? Such as Windows10, Windows 11 21H2 or other Windows versions?*
- If these issues occur after a specific update, it may be worth trying to uninstall the specific update to further observe the status of the problem. How to uninstall a Windows update - Microsoft Support
Besides, it is also a direction to consider observing whether there will be errors in installing DirectX in safe mode.
- Safe mode starts Windows in a basic state, using a limited set of files and drivers. Observing Windows in safe mode enables you to narrow down the source of a problem, Start your PC in safe mode in Windows - Microsoft Support
For the abnormally long startup time problem, it may be related to the profile of the account, or it may be related to abnormal system components.
- For this issue, it's worth trying to create a new local account for test. An account's Profile is associated with many parameters and registry keys. New local accounts have new profiles. Create a local user or administrator account in Windows - Microsoft Support
If the problem exists in safe mode as well as under the new local account, there may be a deeper system component abnormality.
- For potential system component anomalies, consider System File Checker as a potential option. Using System File Checker in Windows - Microsoft Support
In addition, could you please provide the two log files pointed to in the picture, namely DXError.log and DirectX.log.
They may be located on the same drive letter as the system, the log files may probably be helpful for analysis.
Thanks for your patience and understanding!
If you have any other supplementary information on this issue, please feel free to let us know.
Best Regards,
Kyo - MSFT | Microsoft Community Support Specialist