Windows Defender从我的pyinstaller exe警报用户 [英] Windows defender alert users from my pyinstaller exe

查看:487
本文介绍了Windows Defender从我的pyinstaller exe警报用户的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用pyinstaller创建exe文件并将其发送给一些朋友.它是无害的,但是因为它是--onefile Windows Defender关于它的警报.用户需要允许其激活才能激活它.但带来不便. 有什么解决方案可以确保Windows Defender从一开始就不会发出警报?

I used pyinstaller to create exe file and sent it to some friends. it is harmless, but because it's --onefile the windows defender alert about it. the user need to allow permission to activate it, and it works. but with inconvenience. Any solution how to make sure windows defender won't alert about it from the start?

推荐答案

有必要通过以下步骤从使用该程序的所有PC中排除检查.

It is necessary to exclude from check from all PC using that program by the following procedure.

添加Windows安全性的排除项

  1. 转到开始">设置">更新和升级";安全> Windows安全>病毒和安全性;威胁防护.
  2. 在病毒与侵害下威胁防护设置,选择管理设置",然后在排除项"下,选择添加或删除排除项".
  3. 选择添加排除项",然后从文件,文件夹,文件类型或进程中进行选择.排除也将应用于文件夹中的子文件夹.
  1. Go to Start > Settings > Update & Security > Windows Security > Virus & threat protection.
  2. Under Virus & threat protection settings, select Manage settings, and then under Exclusions, select Add or remove exclusions.
  3. Select Add an exclusion, and then select from files, folders, file types, or process. The exclusion will apply to subfolders within a folder as well.


此外:

例如,在StackOverflow中使用"pyinstaller病毒"进行搜索将发现许多文章.
pyinstaller病毒

For example, searching with "pyinstaller virus" in StackOverflow will find many articles.
pyinstaller virus

似乎最近有一篇类似的文章.
Windows Defender将Python EXE检测为木马

It seems that there is a similar article just recently.
Windows Defender detecting Python EXE as Trojan

如本文所述,已经将其报告给pyinstaller的开发人员.除了pyinstaller之外,还有各种替代方法的介绍.
尝试运行转换为.exe文件的.py程序后出现病毒警告

As mentioned in this article, it has already been reported to developers of pyinstaller. There are various introductions of alternative means other than pyinstaller.
Virus warnings after trying to run .py program converted to an .exe file

AVG(和其他防病毒软件)将exe文件报告为包含病毒#603
冻结代码
在下面的文章中对此进行了介绍. 什么是Nuitka

AVG (and other antiviruses) reports exe file as containing virus #603
Freezing Your Code
This is introduced in the article below. What is Nuitka

但是,似乎它们毕竟都不安全.
Py2Exe被检测为病毒.替代品?

However, it seems that none of them is safe after all.
Py2Exe detected as virus. Alternatives?

似乎有变通办法来重新编译PyInstaller的引导加载程序"runw.exe".
使用PyInstaller创建的程序现在被AVG视为特洛伊木马
如何重新编译Pyinstaller的引导程序

There seems to be workaround to recompile PyInstaller's bootloader "runw.exe".
Program made with PyInstaller now seen as a Trojan Horse by AVG
how to recompile the bootloader of Pyinstaller

这篇关于Windows Defender从我的pyinstaller exe警报用户的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆