Details
Description
When Microsoft Defender's Controlled Folder Access (CFA) is enabled on Windows 11, the Documents folder is protected by default. ComStudio uses the Documents folder as the default location for saving project files (e.g. C:\Users\<user>\Documents\CommunicationStudio).
Because of this, Microsoft Defender blocks ComStudio from creating or writing project files in the protected Documents folder. The user sees a warning popup and ComStudio closes unexpectedly — which appears to be an application error from the user's perspective.
Reproduction Steps
- Ensure Microsoft Defender Controlled Folder Access is enabled on Windows 11.
- Launch Communication Studio.
- Create a new project — the default save path points to the Documents folder.
- Attempt to save the project.
- A error depending on Microsoft Defender behavior appears, and ComStudio closes.
Verified Workarounds
Two workarounds have been confirmed:
- Choose a different project folder during project creation — ComStudio works properly when saving to a location outside the protected Documents folder.
- Add ComStudio as an allowed app in Windows Security:
- Open Windows Security → Virus & threat protection → Manage ransomware protection → Controlled folder access.
- Under Allowed apps, add CommunicationStudio.exe.
Affected Functionality
- Project creation and saving — all new projects that use the default Documents path.
Proposed Improvements
The following improvements were suggested for consideration:
- Improve the error message — provide a clearer, user-friendly warning that explains the cause (antivirus/tagged file) and suggests the workaround(s) at the point where the failure occurs, rather than letting the application close silently.
References
- Microsoft Documentation on Controlled Folder Access: Controlled Folder Access Overview