Why is Windows closing my program?

Windows might close a program and then notify you if it determines that the program is either a security risk or incompatible with this version of Windows.

When Windows closes a program because of a security risk, it is because some programs might use your computer's random access memory (RAM) in a way that could be exploited by a virus and harm your computer. Data Execution Prevention (DEP), a security feature of Windows, tracks how programs use memory. If DEP finds memory being used incorrectly, DEP will close the program and let you know. If you trust the program, you can add it to an exceptions list so that DEP won't close it, but you should first check with the manufacturer of the program to see if there is an updated, DEP-compatible version available.

When Windows closes a program because of compatibility issues, it is because some programs could damage Windows if you try to run them. If Windows notices that an incompatible program might harm your computer (for example, by damaging important system files), Windows will close the program and notify you. Check with the manufacturer of the program to see if an update is available, or check Problem Reports and Solutions in Control Panel to see if a fix from Microsoft is available.

  • Open Problem Reports and Solutions by clicking the Start button Picture of the Start button, clicking Control Panel, clicking System and Maintenance, and then clicking Problem Reports and Solutions.