Visual Studio 2015 crashes randomly when closing it


  • My Visual Studio 2015 crashes randomly when I close the application. Here's the log from the event log.

    Faulting application name: devenv.exe, version: 14.0.25420.1, time stamp: 0x57685d85
    Faulting module name: ntdll.dll, version: 6.1.7601.23569, time stamp: 0x57f7bb79
    Exception code: 0xc0000374
    Fault offset: 0x000ce8fb
    Faulting process id: 0xcd8
    Faulting application start time: 0x01d23ee339947a35
    Faulting application path: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE\devenv.exe
    Faulting module path: C:\Windows\SysWOW64\ntdll.dll
    Report Id: 2866150d-aae8-11e6-b503-201a0610420a
    Wednesday, November 16, 2016 3:57 AM


  • Hi PapaDalvyk,

    Welcome to the MSDN forum.

    Do you mean when you close the VS, the crash issue randomly happens, right?

    There are some factors that may be lead to the VS crash issue, please have a try with the following to troubleshot this issue:

    1. Go to control Panel—Programs and Features, right click the VS 2015 and Change-Repair
    2. Go to Tools-Options-Environment-General, uncheck ‘Automatically adjust visual experience based on client performance’, check ‘Enable rich client visual experience’ and save.
    3. Run VS 2015 in safe mode with "Devenv.exe /SafeMode" command to prevents all third-party VSPackages from loading when Visual Studio starts, thus ensuring stable execution.
    1. Run the following commands in the elevated  command prompt:
    • Devenv /ResetSettings: Restores the IDE's default settings, optionally resets to the specified VSSettings file.
    • Devenv /ResetAddin: Removes commands and command UI associated with the specified Add-in.
    • Devenv /ResetSkipPkgs: it will make VS to load the skipped packages while launching VS.
    • Devenv /resetuserdata: clear up the old user data

    And then re-open your VS as the admin, test it again.

    Best regards,


    MSDN Community Support
    Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact

    • Marked as answer by PapaDalvyk Thursday, November 17, 2016 4:44 AM
    Thursday, November 17, 2016 2:45 AM