Hey, thanks for sharing this tip. Excluding project folders from Windows Defender is a solid way to improve performance on Windows. Real-time scanning can slow things down, especially with large projects that have lots of files.
About notifications after running as administrator, this is probably a Windows behavior, not a Cursor bug. When you run an app as administrator and then switch back, Windows can sometimes reset notification permissions. Please check Windows Settings > System > Notifications and make sure Cursor is allowed to send notifications.
If it still happens, feel free to open a separate topic with more details and we can take a look.
Thank you for the feedback, it was really accurate.
For some reason, after I set the Windows Defender project folder to be deleted, the folder was marked as “read only”;
I realized that marking only node_modules is better;
For some reason, the “read only” marking by Windows doesn’t directly affect all files, nor did it affect anything noticeable to me;
But when I sent the project to Android Studio, using “npx cap sync android” (something normal for me), Android Studio started displaying several errors in the build;
I had to use icacls /reset /inheritance:e /T /C to be able to delete the build folder from the Android directory of my project, because Windows started demanding administrator permission even though I was the owner, something quite typical of it. Basically, the command reset the permissions, reactivated inheritance, and applied it recursively, finally allowing me to delete the folder without restrictions.