Jump to content

Restoring Files from quarantine


crackruckles
 Share

Recommended Posts

Hi guys,

 

Ive noticed a lot of people were having problems with windows defender quarantining their payloads.

Here's how i get around that with a simple batch file:

 

@echo off
chdir /d "%ProgramFiles%\Windows Defender"
MpCmdRun.exe /restore -name "Insert Threat Name Here, Remove quotes" -All

To find the threat name, let defender quarantine the file on your machine and run this command on your machine:

MpCmdRun.exe /restore -listall

Add that to your sd card and run it as an administrator and it will restore your file and add it to the allowed list to prevent future quarantining.

 

Hope this helps

Crackruckles

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...