Add the built-in Defender function of Windows8.1 to the context menu

Source: Internet
Author: User
Tags first string security essentials

As we all know, Microsoft has added anti-virus software to Defender since Windows 8. How can we enhance its functionality?

Although the built-in Windows Defender in Windows 8 uses the same core as Microsoft Security Essentials and has the same level of protection performance as Microsoft Security Essentials, it is still a little different in terms of functionality, for example, you cannot set a schedule scan on the Windows Defender interface.

In addition, after Microsoft Security Essentials is installed on Windows 7 or XP, right-click the file or folder to view Microsoft Security Essentials in the context menu ...] This option allows us to easily scan a single file or folder.

650) this. width = 650; "title =" clip_image001 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image001 "src =" http://www.bkjia.com/uploads/allimg/140112/205F02095-0.png "width =" 325 "height =" 291 "/>

However, this option is not found in Windows 8, so that you must enable Windows Defender for manual scanning every time you want to scan unknown files. This is always inconvenient to use.

So this article will explain how to add Windows Defender scanning to the right-click menu ...], You can directly right-click the file to scan unknown files.

Add right-click menu

650) this. width = 650; "title =" clip_image002 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image002 "src =" http://www.bkjia.com/uploads/allimg/140112/205F02F0-1.png "width =" 598 "height =" 23 "/>

To add options to the right-click menu, you must modify the logon code. Therefore, First Run regedit to open the logon code editor.

650) this. width = 650; "title =" clip_image003 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image003 "src =" http://www.bkjia.com/uploads/allimg/140112/205F02I6-2.png "width =" 576 "height =" 163 "/>

You can also use the start image search to execute regedit.

650) this. width = 650; "title =" clip_image004 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image004 "src =" http://www.bkjia.com/uploads/allimg/140112/205F03544-3.png "width =" 578 "height =" 245 "/>

If you see the following prompt, press Yes ].

650) this. width = 650; "title =" clip_image005 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image005 "src =" http://www.bkjia.com/uploads/allimg/140112/205F060Y-4.png "width =" 484 "height =" 257 "/>

After logging on to the editing program, switch to [HKEY_CLASSES_ROOT \ * \ shell] on the left.

Right-click [shell], select add, and select machine code ].

650) this. width = 650; "title =" clip_image006 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image006 "src =" http://www.bkjia.com/uploads/allimg/140112/205F02248-5.png "width =" 575 "height =" 401 "/>

Enter Defender

650) this. width = 650; "title =" clip_image007 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image007 "src =" http://www.bkjia.com/uploads/allimg/140112/205F0J47-6.png "width =" 361 "height =" 282 "/>

Click Defender created on the left, right-click the blank area in the right pane, select add, and select string ].

650) this. width = 650; "title =" clip_image008 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image008 "src =" http://www.bkjia.com/uploads/allimg/140112/205F02013-7.png "width =" 569 "height =" 247 "/>

Enter the icon and click it to edit the string.

650) this. width = 650; "title =" clip_image009 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image009 "src =" http://www.bkjia.com/uploads/allimg/140112/205F03S2-8.png "width =" 570 "height =" 181 "/>

In the edit string window, enter C: \ Program Files \ Windows Defender \ EppManifest. dll in the Value Field.

650) this. width = 650; "title =" clip_image010 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image010 "src =" http://www.bkjia.com/uploads/allimg/140112/205F04264-9.png "width =" 481 "height =" 219 "/>

Next, we will also add a new string named MUIVerb. Please enter the numeric value in the Windows Defender scanning ...]

650) this. width = 650; "title =" clip_image011 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image011 "src =" http://www.bkjia.com/uploads/allimg/140112/205F0J54-10.png "width =" 478 "height =" 216 "/>

After the creation is complete, it will be like the following.

650) this. width = 650; "title =" clip_image012 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image012 "src =" http://www.bkjia.com/uploads/allimg/140112/205F04E9-11.png "width =" 569 "height =" 146 "/>

Next, right-click [Defender] on the left, select add, and then select the server code ].

650) this. width = 650; "title =" clip_image013 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image013 "src =" http://www.bkjia.com/uploads/allimg/140112/205F05555-12.png "width =" 571 "height =" 400 "/>

Then name the machine code as Command.

650) this. width = 650; "title =" clip_image014 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image014 "src =" http://www.bkjia.com/uploads/allimg/140112/205F01248-13.png "width =" 291 "height =" 246 "/>

Next, in the right pane, click the default value and press twice to edit the project.

Enter the following string in the Value Field.

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

650) this. width = 650; "title =" clip_image015 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image015 "src =" http://www.bkjia.com/uploads/allimg/140112/205F0D44-14.png "width =" 570 "height =" 256 "/>

After modification, it will look like this.

650) this. width = 650; "title =" clip_image016 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image016 "src =" http://www.bkjia.com/uploads/allimg/140112/205F064L-15.png "width =" 571 "height =" 157 "/>

Next, switch to [HKEY_CLASSES_ROOT \ Folder \ shell] on the left.

650) this. width = 650; "title =" clip_image017 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image017 "src =" http://www.bkjia.com/uploads/allimg/140112/205F03L1-16.png "width =" 570 "height =" 356 "/>

Repeat the preceding action.

Add a machine code under [shell] and name it Defender.

Then, add two strings in the right pane of [Defender.

The first string is named icon and the value is filled in C: \ Program Files \ Windows Defender \ EppManifest. dll.

The second string is named MUIVerb, and the value is filled in with Windows Defender scanning ...]

For example.

650) this. width = 650; "title =" clip_image018 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image018 "src =" http://www.bkjia.com/uploads/allimg/140112/205F02020-17.png "width =" 571 "height =" 336 "/>

Then, create a machine code under [Defender] and name it "Command ".

In the right pane of [Command], edit the default value and enter the following string.

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

For example

650) this. width = 650; "title =" clip_image019 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image019 "src =" http://www.bkjia.com/uploads/allimg/140112/205F01135-18.png "width =" 571 "height =" 333 "/>

In this way, you can close the logon editor.

Cancel right-click menu

650) this. width = 650; "title =" clip_image002 [1] "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image002 [1] "src =" http://www.bkjia.com/uploads/allimg/140112/205F02T8-19.png "width =" 598 "height =" 23 "/>

If you want to cancel the context menu with Windows Defender scanning ...]

Similarly, Run regedit to open the logon editor ].

Then switch to the following two positions in the left pane of log on to the editing program.

[HKEY_CLASSES_ROOT \ * \ shell]

[HKEY_CLASSES_ROOT \ Folder \ shell]

Then delete all the [Defender] under it.

650) this. width = 650; "title =" clip_image020 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image020 "src =" http://www.bkjia.com/uploads/allimg/140112/205F0A33-20.png "width =" 573 "height =" 295 "/>

Test Functions

650) this. width = 650; "title =" clip_image002 [2] "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image002 [2] "src =" http://www.bkjia.com/uploads/allimg/140112/205F052Z-21.png "width =" 598 "height =" 23 "/>

Next, let's test whether this function can be used.

You only need to find a folder or file, and then right-click the folder or file to view an option in the context menu for Windows Defender scanning ...].

650) this. width = 650; "title =" clip_image021 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image021 "src =" http://www.bkjia.com/uploads/allimg/140112/205F05123-22.png "width =" 551 "height =" 464 "/>

Click to scan with Windows Defender ...] Then, you will find a black window.

This is a virus scanning window. Do not close this window. If you close this window, the virus scanning will be interrupted.

You can minimize it. When the scanning is completed, it will automatically disappear.

650) this. width = 650; "title =" clip_image022 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image022 "src =" http://www.bkjia.com/uploads/allimg/140112/205F04055-23.png "width =" 568 "height =" 377 "/>

Although it seems a little spring, you don't have to worry about it. This does not affect its functionality.

When you scan a problematic file, you will see this prompt in the lower right corner.

650) this. width = 650; "title =" clip_image023 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image023 "src =" http://www.bkjia.com/uploads/allimg/140112/205F03594-24.png "width =" 503 "height =" 156 "/>

Then you can press the prompt to enable Windows Defender for further processing.

Of course, you can also disable this prompt and enable Windows Defender when you are free.

650) this. width = 650; "title =" clip_image024 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image024 "src =" http://www.bkjia.com/uploads/allimg/140112/205F05Q3-25.png "width =" 569 "height =" 410 "/>

Automatically add right-click menu

650) this. width = 650; "title =" clip_image002 [3] "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image002 [3] "src =" http://www.bkjia.com/uploads/allimg/140112/205F03H7-26.png "width =" 598 "height =" 23 "/>

If you think the preceding logon modification is too complex, you can use the following method to add this function.

Open notepad first.

Copy the following strings and paste them in notepad.

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT \ * \ shell \ Defender]

"Icon" = "C :\\ Program Files \ Windows Defender \ EppManifest. dll"

"MUIVerb" = "scan with Windows Defender ..."

[HKEY_CLASSES_ROOT \ * \ shell \ Defender \ Command]

@ = "\" C :\\ Program Files \ Windows Defender \ MpCmdRun.exe \ "-scan-scantype 3-file \" % 1 \""

[HKEY_CLASSES_ROOT \ Folder \ shell \ Defender]

"Icon" = "C :\\ Program Files \ Windows Defender \ EppManifest. dll"

"MUIVerb" = "scan with Windows Defender ..."

[HKEY_CLASSES_ROOT \ Folder \ shell \ Defender \ Command]

@ = "\" C :\\ Program Files \ Windows Defender \ MpCmdRun.exe \ "-scan-scantype 3-file \" % 1 \""

650) this. width = 650; "title =" clip_image025 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image025 "src =" http://www.bkjia.com/uploads/allimg/140112/205F011K-27.png "width =" 552 "height =" 281 "/>

Save the new file, select all files for the archive type, and enter add. reg for the file name. Then press archive ].

650) this. width = 650; "title =" clip_image026 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image026 "src =" http://www.bkjia.com/uploads/allimg/140112/205F06261-28.png "width =" 570 "height =" 371 "/>

Then you will see the file in the archive location.

650) this. width = 650; "title =" clip_image027 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image027 "src =" http://www.bkjia.com/uploads/allimg/140112/205F0O52-29.png "width =" 109 "height =" 121 "/>

Click and execute the file twice, and then press Yes to add the file.

650) this. width = 650; "title =" clip_image028 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image028 "src =" http://www.bkjia.com/uploads/allimg/140112/205F05212-30.png "width =" 558 "height =" 180 "/>

This completes the addition.

Next, you can right-click any file or folder and choose Windows Defender for scanning ...] To scan the virus.

Automatically remove right-click menu

650) this. width = 650; "title =" clip_image002 [4] "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image002 [4] "src =" http://www.bkjia.com/uploads/allimg/140112/205F0D37-31.png "width =" 598 "height =" 23 "/>

You can create a new feature file. Of course, you can also create a file to remove this feature.

Open notepad, copy the following string, and paste it into notepad.

Windows Registry Editor Version 5.00

[-HKEY_CLASSES_ROOT \ * \ shell \ Defender]

[-HKEY_CLASSES_ROOT \ Folder \ shell \ Defender]

650) this. width = 650; "title =" clip_image029 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image029 "src =" http://www.bkjia.com/uploads/allimg/140112/205F05049-32.png "width =" 569 "height =" 155 "/>

Save the archive named Del. reg. 650) this. width = 650; "title =" clip_image030 "style =" border-right-width: 0px; border-bottom-width: 0px; float: none; border-top-width: 0px; margin-left: auto; margin-right: auto; "border =" 0 "alt =" clip_image030 "src =" http://www.bkjia.com/uploads/allimg/140112/205F03Q9-33.png "width =" 567 "height =" 370 "/>

To remove this feature, you only need to execute del. reg to remove it easily.

This article was posted on the "dongni IT learning" blog and declined to be reproduced!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.