将批处理文件转换为exe后,Windows Defender将该文件显示为木马,为什么? [英] after converting batch file to exe Windows Defender shows the file as trojan why?

查看:153
本文介绍了将批处理文件转换为exe后,Windows Defender将该文件显示为木马,为什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我编写了一个批处理脚本,以从USB驱动器中删除快捷方式病毒并显示隐藏的文件夹和文件.

i wrote a batch script to delete shortcut virus from a usb drive and to display the hidden folder and files.

@ECHO OFF
TITLE SHORTCUT VIRUS REMOVER
ECHO SHORTCUT VIRUS TEMPORARY REMOVER
ECHO THIS TOOL IS MADE BY BHARGAB(MAXYSPARK)
SET /P DRIVE=ENTER THE DRIVE LEETER 
CD /D %DRIVE%:
DEL *.LNK
ATTRIB -H -R -S /S /D /L %DRIVE%:\*.*
PAUSE

,但是使用 Bat To Exe Converter 将批处理(.bat)文件转换为.exe文件后,该.exe文件被检测为 Trojan 病毒为什么????

but after converting the batch(.bat) file to .exe file using Bat To Exe Converter the .exe file is detected as Trojan Virus Why????

我已允许Windows Defender中的文件.

I've allowed the file in Windows defender.

推荐答案

这是因为您尚未将它们转换为适合您计算机的正确体系结构.我在使用相同的防病毒软件时遇到了相同的问题,并且通过将其转换为x64而不是x32(默认值)来解决了该问题

It is because you haven't converted them to the correct architecture for your machine. I have had the same issue with the same antivirus and it was fixed by converting to x64 not x32 (default)

这篇关于将批处理文件转换为exe后,Windows Defender将该文件显示为木马,为什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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