03-13-2024, 11:29 AM
(03-13-2024, 03:58 AM)TerryRitchie Wrote: Starting with version 10 Windows treats "special" folders differently (Downloads, Pictures, Documents, etc..) with something called Controlled Folder Access. Basically only applications that are whitelisted by Microsoft are allowed to make changes to those folders. This could be the reason you are getting false positives, QB64PE is not on Microsoft's whitelist. Running a compiled QB64 EXE file within one of the special folders will also be seen as a non-whitelisted application. This is just a hunch on my part and I may be incorrect.
What I have always suggested to people wanting to install QB64 is to install it at the root of the C: drive ( C:\QB64PE ) or on the desktop ( C:\Users\UserName\Desktop ). Even in Windows 7 using just Microsoft Security Essentials I have had one or two false positives over the years, but never when I kept the installs on the root of the C: drive or the desktop.
Note that Windows 11 moves the user Desktop folder into a sub-folder called OneDrive if you are using OneDrive to store a copy of your files in the MS cloud. Windows 10 might do this as well but I'm not 100% sure.
This is correct. It is done for timely detection and prevention of ransomware. The Desktop and Downloads directories are also monitored closely. I am not a fan of whitelisting. For me, I just create a directory under the user directory (%UserProfile%) called source and keep everything under that. This works out well for VSCode, Visual Studio, QB64-PE and git.