Using a program like CCleaner I use gets rid of a lot of junk some of which can interfere with your connection or efficiency of your devices. I like Cleaner but there are others Cleaner is safe to clear out old registry entries I find on the rig I use. I also can put to sleep any resource eating programs like anti-logger which can interfere with downloads that may be necessary for msfs to run properly.
Not sure if any of the above will help but when I upgraded to win 11 I almost gave up on MSFS when it would crash each startup for over a week very frustrating but by getting rid of my 3rd party firewall I think I resolved the issue computer also runs much better.
for what it's worth that's my two cents
Regards
pt