I noticed that comparing directories in Total Commander (Commands > Synchronize Dirs ..., select the "by content" checkbox, and press the "Compare" button) is slow if Microsoft Defender Antivirus is installed, because the antivirus uses most of the CPU to scan the files being compared:
Image: https://i.stack.imgur.com/AT89D.png
If I configure Microsoft Defender to not monitor Total Commander process i.e. if I set:
Windows Settings > Update & Security > Windows Security > Virus & threat protection > Manage settings > Add or remove exclusions > Add an exclusion > Process
to:
C:\Program Files\totalcmd\TOTALCMD64.EXE,
then the directory comparison is much faster:
Image: https://i.stack.imgur.com/9fPKY.png
Image: https://i.stack.imgur.com/jJJSb.png
Is it safe to add the C:\Program Files\totalcmd\TOTALCMD64.EXE process exclusion in Microsoft Defender?
Comparing files is slow because of Microsoft Defender Antivirus
Moderators: Hacker, petermad, Stefan2, white
Re: Comparing files is slow because of Microsoft Defender Antivirus
TC checks itself on start-up, so yes its safe to exclude it.
Windows 11 Home, Version 24H2 (OS Build 26100.3915)
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
TC 11.51 x64 / x86
Everything 1.5.0.1391a (x64), Everything Toolbar 1.5.2.0, Listary Pro 6.3.2.88
QAP 11.6.4.2.1 x64
- ghisler(Author)
- Site Admin
- Posts: 50421
- Joined: 2003-02-04, 09:46 UTC
- Location: Switzerland
- Contact:
Re: Comparing files is slow because of Microsoft Defender Antivirus
Not really, it could be replaced with malware where this self test is patched out.
To be on the safe side, install TC to a directory under "Program files" and then check the certificate via Alt+Enter. Then don't run any elevated programs which might modify the EXE.
To be on the safe side, install TC to a directory under "Program files" and then check the certificate via Alt+Enter. Then don't run any elevated programs which might modify the EXE.
Author of Total Commander
https://www.ghisler.com
https://www.ghisler.com