I've been having trouble with an in-house application on one of our workstations. Every few weeks or months, it just stops running and I get this message: "this app can't run on your PC. To find a version for your PC, check with the software publisher." It's pretty frustrating! The executable icon disappears, and the file size shrinks too. We don't need to install the app, just copying it to the C drive is enough to run it. To fix the issue temporarily, I simply recopy the executable file and replace the old one on the C drive. I've checked Windows Defender to see if it's blocking it, but we don't use it and it's turned off. Any ideas on what could be causing this? The affected workstation is running Windows 11, and I've even added an exclusion for the folder in our antivirus software.
2 Answers
Is the executable code signed? That could be an issue. Sometimes, if there’s no digital signature, Windows might flag it as suspicious after a while. You can check the properties of the file and look under the Digital Signatures tab to see if there's anything there.
It sounds like your antivirus might be interfering with that file. Even if it's turned off, some features can still function, like detecting and disinfecting files. I recommend adding that executable to your antivirus exclusion list to see if that improves things.

Related Questions
How to Build a Custom GPT Journalist That Posts Directly to WordPress
Fix Not Being Able To Add New Categories With Intuitive Category Checklist For Wordpress
Get Real User IP Without Installing Cloudflare Apache Module
How to Get Total Line Count In Visual Studio 2013 Without Addons
Install and Configure PhpMyAdmin on Centos 7
How To Setup PostfixAdmin With Dovecot and Postfix Virtual Mailbox