[Walkthrough] Avoiding CTD´s - Community Troubleshooting Guide

I already had that turned off under Power Settings, but I was still getting a phantom USB disconnect that was crashing FS. Since I had already disconnected every USB device that I considered unnecessary and still found all those devices still listed in device manager, I decided to turn their power management off locally too.
I was definitely hearing the USB disconnect chime just before my system crashed, but the event viewer showed a loss of drive 8. I have 7 SSDs (3 PCIE NVME and 4 SATA) installed in the system, so I don’t know what #8 would be. I sent the event viewer files to ZenDesk. One of the recommendations they sent me (but they were all pretty generic like turning off XMP or CPU overclocking, which have nothing to do with USB disconnect) was to delete the rolling cache. I wondered if this could have been “drive 8” but still don’t know why I would have heard the USB disconnect chime. However, I’ve flown 3 flights now in excess of 4 hours each with no rolling cache (before the new patch), and I haven’t had a USB disconnect. So, whether that was the power settings in device manager–which admittedly should have been overridden by the Power Settings in Control Panel Advanced Settings–or if it was the rolling cache, *******wait a minute…I just heard the USB disconnect as I was typing this!!! Wow, what timing. The new patch is installed, and I’m in the middle of a flight, and the system did not crash or even pause. So, that’s good news, but the USB disconnect is still a mystery but at least it isn’t crashing FS anymore!

I went into event viewer, and I got the following Administrative Event that caused the same chime as a USB disconnect: “Event ID:65 - Failed with 0x57 retrieving AppModel Runtime status for package Windows.” It looks like I’m getting this same event very often according to the viewer. A half-dozen times an hour at least. I have no idea what that is, and it doesn’t cause the USB disconnect chime that often, so I’ll have to do some digging to try to find out what could be causing that “AppModel-Runtime” error.

Apparently, many people with Windows Update 2004 are having this issue. I’m reading the Microsoft Forum: https://answers.microsoft.com/en-us/windows/forum/all/event-65-appmodel-runtime/a2bfa9b8-f270-49e1-a20b-7ae513421743?auth=1&page=4

Some people in this Microsoft thread are also reporting stuttering in games using build 2004…

1 Like

Another update:

  • added Step 2.18: “Check your PSU / power socket”.

Also, MSFS2020 gave us some information about the upcoming patch. Unlucky, CTD´s are not the main focus of this patch, but maybe some bug fixes will help avoing them! The developers want to focus on the ingame experience on that one.

Check out the dev update here:

1 Like

Updating the guide again!

  • added Step 2.19: “Stop your explorer while playing”.

A big thumbs up for @Zixxstar, providing this solution for us!

https://forums.flightsimulator.com/t/ctds-temporary-fix-awaiting-patch/265544/3

Also, I want to say Thank you, to our Community Managers / Moderators for supporting this topic, implementing it in the guide section and all the work, they are doing for us!

Happy landings, stay healthy!

1 Like

I hope this works for you guys, it did me.

https://forums.flightsimulator.com/t/fixed-ctd-exception-code-0xc0000005-crash-to-desktop/266671?u=trevoc655

1 Like

Gonna check it out soon and add it to the guide. Thanks for your input!

Happy landings, stay healthy!

Let me know if it works for you. I pulled my hair out, but am really happy right now, couldn’t wait to share it.

1 Like

Changelog:

  • added Step 2.20: " Fix for “Exception code 0xc0000005” shown in Eventviewer "

A big thanks for @trevoC655 for having a solution for one of the most frequent crash reason! Follow him on YT and give him a Like!

  • added Step 2.21: " Add an exclusion within you Anti Virus "

Again thanks for the activity on this topic! Every post can help people in the MSFS2020 community!

it’s xvdd msft < virtual cd, what install microsoft, must be using for emulate msfs dvd via digital owner, my guess all msfs versions steam, store and dvd are exactly same, so why you see “give me a disk 1” when your inet unstable, and digital owner messing with system with on/off virtual cd, what can be one of ctd’s cause ---- in my case it’s disk 5, and i see in the event log, many yellow triangles with this error> disk5 was removed
p.s. i think you can hear ding not before crash, but after, then virtual disk with virtual dvd1 removed

1 Like

Since the last patch, I have not CTD because of this error, but I still get them from time to time. I have turned off rolling cache completely, so I do not know if that is why the frequency of my getting that error has gone way down, but at least my system no longer crashes to desktop when I do get that error.

1 Like

I am gonna to talk to you guys later, about the issues with different windows versions. We are already aware of this issue and I also reported that to Zendesk. Atm I am not at my computer, so I am gonna answer later!

1 Like

After doing all the actions in this topic my fps is dropping from 41 to 17 fps.
Yes, it results in No CTD’s, but the graphic speed is so low that the sim is not playable anymore.

I reversed it all back, but only set the virtual mem page manual and put VSync on with 30fps max.
Now i had no CTD’s yet and the fps are almost stable at 30 fps.

1 Like

Good Morning @ all,

@PliantWings5288, as written in the guide, task/settings with this icon " " can affect the performance on your computer. I think you downclocked your GPU too hard, this will result in a hard performance decrease. The strange thing is, that turning on VSYNC results in the hardest performance decrease for most people. However, every computer got his own behavior, regarding the installed hardware/software, etc. . So, I am just happy you found a capable solution for your CTD´s! :blush:

@Wheeldust329

As you already noticed, the “Event ID:65 - Failed with 0x57 retrieving AppModel Runtime status for package Windows” error is a common one for Windows 2004 users.

The problem can occur many times, check this Event Viewer Log:

Windows 2019 users don´t get this error. After some research in the WWW, I found different people complaining about it, cause it crashes also games like Warzone, etc. . Unlucky there´s no solution for this so far! I found two answers under a Microsoft Support topic, that recommend doing a clean GPU driver reinstall and reinstalling Visual Studio. This will not help at all. The good thing is, this error crashs your Simulator very rarely! If it happens more frequent to you, unlucky there is no other solution then waiting, until Microsoft fixed that.

Happy Landings!

1 Like

Yes, I saw the thread on the Microsoft forum where folks said that their only solution thus far was to roll back their OS to the 1909 edition and the faults went away. Now that the last update of FS solved most of my CTDs, I’m willing to wait before resorting to something that drastic. However, since FS is also a MS product, I sent Zendesk copies of my Event Viewer log files showing the fault in the hopes that they can get someone from the Windows OS team to fix the “Event ID: 65 - Failed with 0x57 retrieving Appmodel Runtime status for package Windows” error in an upcoming OS update sooner rather than later. It’s very annoying.

2 Likes

I could add some very good solutions to the guide again!

A big for @JamesxL. He brought us all of the new solutions!

Check out his post here and dont forget to like an upvote it:
https://forums.flightsimulator.com/t/how-i-solved-my-ctd-as-well-as-other-bugs-incountered/268318

Changelog:

  • added Step 2.22 “Perform a Clean Install of all VC++ Runtime Libraries.”
  • added Step 2.23 “Defrag your HDD (not capable for SSD´s).”
  • added Step 2.24 “Check your drives for corruption.”

Have a nice weekend!

2 Likes

it’s not so much you can’t defrag ssds, it’s just pointless as access is instant on ssds where as there’s seek time on an HDD to move their reading head. It also degrades the life of the ssd as they have a maximum write cycle

2 Likes

My issue on CTD was from a years ago old school tweak for 16GB ram. I found my Virtual Memory was Custom Sized at 200/200MB to “force RAM into the faster sticks”. I changed this to a total of 16384/16384 MB. 4096 MB on C: and 12288 MB on F:, both are Samsung SSD drives. No more CTD and still upping the MSFS settings gradually to find the sweet spot.

3 Likes

Another update! This time it was @FlavorFlav365, who helped out!
Special Thanks and

Check out his topic and don´t forget to like!

https://forums.flightsimulator.com/t/windows-updates-kb4571756-kb4576478-causing-sim-crashes-for-nvidia-gpus/269323

Changelog:

  • added Step 2.25 “Temporary fix for 0x57 retrieving AppModel Runtime status for package Windows:

Enjoy your weekend!

2 Likes

Hello out there :blush:

Changelog:

  • added a ticket system to submit solution or CTD´s.

Feel free to submit your stuff, so we can extend the guide!

Greetings!

1 Like

for me the ctd stopped after i removed all my liveries from the community folder.Today did 3 flights around 600+ nm and no more ctd.

Same thing fixed it for me @SmokierVessel23. Here is my report from another thread:

1 Like