Client start always triggers Antivirus Microsoft Defender which makes 100% usage of HDD every startup

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 34.0.2
  • Operating system and version (e.g., Ubuntu 24.04):
    • Windowsa 10
  • Web server and version (e.g, Apache 2.4.25):
    • Apache
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • replace me
  • PHP version (e.g, 8.3):
    • replace me
  • Is this the first time you’ve seen this error? (Yes / No):
    • No
  • When did this problem seem to first start?
    • NextCloud Client v34.0.0
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Debian install
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

I am a home user, with only 1 user, and every start of my Windows Client in my PC, triggers a Windows Defender check of every single file oof my NextCloud folder and take 5 mins to complete.

I notice this behavior because of the noise of HDD… Once is OK after the update of NC Client, but more? I think this could be a problem.

Steps to replicate it (hint: details matter!):

  1. Start WIndows

  2. Wait until Microsoft Defender antivirus do his job analizing every data file of the localfolder

I noticed this behavior every time Windows started, so I added the exclusion to process nextcloud.exe in Windows Defender and the problem was temporarily fixed.