Created
April 9, 2014 06:56
-
-
Save SteveMcArthur/09d7b3f80116414ae482 to your computer and use it in GitHub Desktop.
Regedit - add right click context menu
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::in regedit navigate to following | |
HKEY_CLASSES_ROOT\Folder\shell | |
:: Right-click the shell key in the left pane, point to New, | |
::and create a new Key. Name it WindowsDefender. | |
::With the WindowsDefender key selected in the left pane, | |
::right-click in the right pane and create a new String value. | |
::Name it Icon, then double-click it and enter the following value: | |
%ProgramFiles%\\Windows Defender\\EppManifest.dll | |
::Right-click in the right pane again and create another | |
::new String value. Name it MUIVerb, then double-click it and enter the following value: | |
Scan with Windows Defender | |
::Right-click the WindowsDefender key in the left pane, | |
::point to new, and create a new key. Name it Command. | |
::Double-click the (Default) value in the right pane | |
::with the Command key selected and give it the following value: | |
"C:\Program Files\Windows Defender\MpCmdRun.exe" -scan -scantype 3 -SignatureUpdate -file %1 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
::Create the following batch file and put it in your SendTo folder. | |
::Will scan both folders or single files and wont close after running | |
@ECHO OFF | |
Echo %1 | |
"C:\Program Files\Windows Defender\MpCmdRun.exe" -Scan -ScanType 3 -File %1 | |
PAUSE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment