Cancel file security warning

Source: Internet
Author: User
1. After some optimization software of the Group Policy method is optimized, the security warning prompt is opened to improve security. Some may not want to use this function, which can be solved as follows. start --> Run --> gpedit. MSC --> User Configuration --> management template --> Windows Components --> attachment manager --> right-click "moderate-risk file type inclusion list" --> properties --> select "enabled" --> in the "moderate dangerous file type inclusion list", enter the extension of the warning to be disabled, for example: .batcmd.exe ;. reg ;. vbs --> OK. Separated by semicolons. Then, enter the command line gpupdate or gpupdate/force in cmd to refresh the Group Policy.
2. The Registry and the batch processing modification method save the following section as the reg file. Windows Registry Editor Version 5.00 [HKEY_CURRENT_USER \ Software \ Microsoft \ Windows \ CurrentVersion \ Policies \ associations] "modriskfiletypes" = ".batw..exe ;. reg ;. vbs "start -- run -- cmd --- gpupdate/force refresh Group Policy ~~ You can also create a registry project in batches and refresh the Group Policy. The following section is saved in bat format. Reg add hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ associies \ associations/V modriskfiletypes/T REG_SZ/d .batw..exe ;. reg ;. in vbs/fgpupdate/force, note that the "Automatic line feed" command is canceled. Reg add hkcu \ Software \ Microsoft \ Windows \ CurrentVersion \ associies \ associations/V modriskfiletypes/T REG_SZ/d .bat0000.exe;. reg;. vbs/F

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.