Prevents security threats and allows the system to display the exe extension forever

Source: Internet
Author: User

When we receive an email, we usually pay special attention to executable files to avoid viruses. But the current virus disseminators come up with a way to deal with this, that is, to disguise files. Sorry, many users think that this is just a common image, so they can open it with confidence. This is the trap of others and is infected with the upper body.

In fact, many friends will say that you can set the display file extension in "Folder Options". Can this problem be avoided. The reason is good, but the display extension is also inconvenient. For example, you must enter the extension when renaming, and many users are not used to displaying all the extensions. Therefore, we can only display the extensions of certain types of files, such as EXE.

Open the "run" window in the "Start" menu, enter "Regedit", Press enter to open the Registry Editor, select "HKEY_CLASSES_ROOTexefile" on the left, and right-click the blank window on the right, select "string value" in the "new" menu and set its name to "Alwaysshowext ". After modification, close the registry. Restart the computer so that we can see that no matter whether the extension is displayed in "Folder Options", the file extension of the EXE type will be displayed.

The virus exists in the form of EXE and COM and other script files. To ensure security, we can go to "HKEY_CLASSES_ROOT, add the "Alwaysshowext" string value to the following items: Prepare file, comfile, batfile, scrfile, JSFile, JSEFile, VBEFile, VBSFile, and WSFFile. No matter how disguised, they cannot escape our eyes.

Related Article

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.