Win7 through the cmd command to prohibit the file pop-up warning window when the file starts

  
            Now there are a lot of anti-virus software installed in the computer to protect your computer, in case some files are maliciously damaged by the computer. This is a good thing for the system, it can effectively protect our computer, but open an unknown every time. When the file is filed, a security warning prompt window will pop up. In many cases, the file does not pose any threat to the computer, and each time it will pop up various prompts, which makes the user look annoyed. So how can we make the security warning prompt window no longer pop up? The following small series uses the win7 system as an example to teach you how to use Win7 to prevent the file from popping up when the file is started.
Win7 method for popping up warning window when prohibiting file startup
1. Use the combination shortcut key win key +r key to open the running window, input “cmd” Enter to confirm the open command window.
2. In the command window that opens, type “reg add HKCU\\Software\\Microsoft\\Windows\\CurrentVersion\\Policies\\Associations /v ModRiskFileTypes /t REG_SZ /d .exe;.bat;.vbs /f ” Confirm the car.
3. After the command window prompts the operation is successful, click on the command window and enter "ldp;gpupdate /force ” Enter to confirm.
4. In the command window, you can see that the computer policy update is successfully completed, you can close the command window to complete the operation.
When you are making the above settings, you should think twice before, because although the security warning window is very annoying, it is also a kind of protection for the computer, it is still necessary, so please think about it again!

Copyright © Windows knowledge All Rights Reserved