How to prevent Windows Defender from deleting an executable file in Windows 10

If the antivirus is blocking an executable that you need to open, in this post I will be showing you how you can prevent Windows Defender from deleting your file and you can download and run it.

Windows Defender scans the system when it is idle, on average twice a week. This ensures that nothing malicious is executed. But this does not mean that it is turned off or disabled beyond those scanning processes. Windows built-in antivirus proactively removes anything it deems malicious. An example of this is when it blocks an executable file that you download from the internet.

If you download an executable file that Windows Defender considers malicious, it will delete it before opening the download location. This protects us in most cases, but it can be a nuisance when it comes to a �false positive�. Especially if you need to use said executable. Therefore, here I will explain how to prevent Windows Defender from deleting an executable file.

Prevent Windows Defender from deleting file

All executable files that Windows Defender flags are quarantined and removed from the system. To allow a quarantined file to run, you must first open Windows Defender.

Now go to Threat and Antivirus Protection and click the Protection History link under Current Threats.

You will see a list of all the threats that Windows Defender has blocked. The list doesn’t reveal much except the date and time the threat was detected and blocked, and its severity.

For more information, you need to click on the Serious drop-down menu . At this point, you will need to authenticate with the administrator user to continue.

After authenticating with the administrator user, you will see more details about the threat that was blocked. You will be able to see what Windows Defender did to it, whether it quarantined it or deleted it. You will also see why it was flagged, what threat was detected and which file was the one that had the threat.

To allow the file to run, open the Actions drop-down menu and select the Allow option .

You may need to download the file again. From then on, Windows Defender will not automatically block or remove it.

Be cautious when adding exclusions

Remember to be very careful when deciding to ignore Windows Defender warnings. The antivirus marks the files that it considers dangerous and that should not be allowed to run on your system.

It is extremely rare for a false positive to occur, but it can happen. Therefore, you must be aware that you take a great risk when running an application that Windows Defender has marked. Consequently, you should do all the necessary checks before running the application. If it’s malicious, it may not be immediately obvious, and by the time you realize it, you may not be able to get rid of it.

Leave a Reply

Your email address will not be published.

Back to top button