Forums
New posts
Search forums
News
Security News
Technology News
Giveaways
Giveaways, Promotions and Contests
Discounts & Deals
Reviews
Users Reviews
Video Reviews
Support
Windows Malware Removal Help & Support
Mac Malware Removal Help & Support
Mobile Malware Removal Help & Support
Blog
Log in
Register
What's new
Search
Search titles only
By:
Search titles only
By:
Reply to thread
Menu
Install the app
Install
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Forums
Software
Security Apps
Microsoft Defender
How to prevent efficiently Defender from considering a given VBS script as containing a threat
Message
<blockquote data-quote="Andy Ful" data-source="post: 934788" data-attributes="member: 32260"><p>I have just run this code on my computer (Defender + advanced settings activated by ConfigureDefender).</p><p>[CODE]LocalFile = subDirPSP & nomPSP & ".jpg"</p><p>JHeadcmd = """C:\PortableApps\JHead\jhead.exe"" -mkexif "</p><p>Set WshShell = WScript.CreateObject("WScript.Shell")</p><p>WshShell.run JHeadcmd & LocalFile[/CODE]</p><p>The file C:\PortableApps\JHead\jhead.exe has been executed without any problem. I created the folder C:\PortableApps\JHead\ and used a renamed alternativestremview.exe --> jhead.exe .</p><p></p><p>Edit.</p><p>Also, no problem when using the original application jhead.exe.</p><p>[CODE]LocalFile = "C:\PortableApps\JHead\*.jpg"</p><p>JHeadcmd = """C:\PortableApps\JHead\jhead.exe"" -mkexif "</p><p>Set WshShell = WScript.CreateObject("WScript.Shell")</p><p>WshShell.run JHeadcmd & LocalFile[/CODE]</p><p></p><p>I had to change the path to JPG file.</p></blockquote><p></p>
[QUOTE="Andy Ful, post: 934788, member: 32260"] I have just run this code on my computer (Defender + advanced settings activated by ConfigureDefender). [CODE]LocalFile = subDirPSP & nomPSP & ".jpg" JHeadcmd = """C:\PortableApps\JHead\jhead.exe"" -mkexif " Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.run JHeadcmd & LocalFile[/CODE] The file C:\PortableApps\JHead\jhead.exe has been executed without any problem. I created the folder C:\PortableApps\JHead\ and used a renamed alternativestremview.exe --> jhead.exe . Edit. Also, no problem when using the original application jhead.exe. [CODE]LocalFile = "C:\PortableApps\JHead\*.jpg" JHeadcmd = """C:\PortableApps\JHead\jhead.exe"" -mkexif " Set WshShell = WScript.CreateObject("WScript.Shell") WshShell.run JHeadcmd & LocalFile[/CODE] I had to change the path to JPG file. [/QUOTE]
Insert quotes…
Verification
Post reply
Top