[SOLVED] KiCAD 6.0.4: Automatic zip backup cause "error 5:access denied" on Windows 10 with Antivirus software

I upgraded KiCAD from version 5.1.10 to version 6.0.4.
When I use PCBNEW, intermittently popping up dialog message “Cannot open*/* -Backup/* - (date) .zip error: 5 access denied” was frustrating me.
At first, I checked the privileges of user account, the ownership of the folders, and the security of the folders. I couldn’t find anything suspicious.
I confirmed which execution file caused this error with Windows Sysinternals Process Monitor. It was kicad.exe.
I turned off installed Avast Security overall. The error has disappeared.
Next, I turned on Avast Security and added an exception rule that ransomware shield ignore kicad.exe. It also worked.
I reported kicad.exe to Avast quarantine analysis team and told them that it has valid digital signature.
A few days later, I deleted the private exception rule. It worked very well.
I hope this tips is useful and saves someone’s time.

Application: KiCad (64-bit)
Version: (6.0.4), release build
Libraries:
wxWidgets 3.1.5
libcurl/7.78.0-DEV Schannel zlib/1.2.11
Platform: Windows 10 (build 19044), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
Date: Mar 18 2022 03:04:44
wxWidgets: 3.1.5 (wchar_t,wx containers)
Boost: 1.76.0
OCC: 7.6.0
Curl: 7.78.0-DEV
ngspice: 36
Compiler: Visual C++ 1928 without C++ ABI
Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

Windows 10 Professional Ver 21H2 (build 19044.1682)

4 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.