Add Scan With Windows Defender To Context Menu In Windows 8

One thing missing in Windows Defender in Windows 8, is a right-click context menu that will allow a user to scan any folder. Recently we told you how you could add features of Windows Defender to the Desktop right-click context menu, that would help you quickly access Windows Defender.

Some of the users asked us, how one could add Scan with Windows Defender option for a file and folder. Thanks to a tip by a guest commenter on TWC, we have developed this tutorial. Read on to find out, how to go about adding this option to folder’s right click context menu.

Add Scan With Windows Defender To Context Menu

add scan with windows defender to context menu

First we’ll see the manual method, then we can go for the automatic fix..

Manual Method

1. Press Windows Key + R combination, type Regedt32.exe in Run dialog box and hit Enter to open the Registry Editor.

2. Navigate yo the following registry key:


3. Create a sub key in the left pane, name it WindowsDefender.

4. In the right pane of above created sub-key, create two DWORDS and use following data for them:

Icon – %ProgramFiles%\\Windows Defender\\EppManifest.dll



This adds the Windows Defender Icon.

MUI – Scan With Windows Defender

You can use any text here, that you want to show incontext menu.

5. Now we have to assign a command. So create the sub-key Command under the key WindowsDefender.

6. In the right pane of above created sub key, modify default DWORD value with following command:

“C:\Program Files\Windows Defender\MpCmdRun.exe” -scan -scantype 3 -SignatureUpdate -file %1

7. That’s it. Now pick any folder and right-click on it to get the Windows Defender’s scan option. It will scan and you’ll see a command prompt window for some seconds. Any infection will be reported via this command prompt window.

Automatic Fix

If you do not want to follow the manual method, then to help you more we have created direct registry file fix, which will let you add or remove the Scan with Windows defender to your context menu in Windows 8.

Update – 10th November 2012: The Registry file has been updated thanks to the comments made below. You can download it from HERE. You can also watch the video.

Hope this makes using Windows Defender in Windows 8 easier to you!

Microsoft has made available a PowerShell script that can help you add Scan With Windows Defender To Context Menu. Get it here.  You can also Add Scan With Windows Defender To Context Menu using our Ultimate Windows Tweaker 3.

Posted by on , in Category Windows with Tags
An Electrical Engineer by profession, Kapil is a Microsoft MVP in Windows Experience expertise and a Microsoft Content Creator. Please read the entire post & the comments first & create a system restore point before making any changes to your system.