Win7 computer settings do not automatically prompt "security warning" method

  

1, use the key combination Win + R key to call up the run dialog box, then enter the CMD command in the run window, open the command prompt window;


2, then type reg add HKCUSoftwareMicrosoftWindowsCurrentVersionPoliciesAssociations /v ModRiskFileTypes /t REG_SZ /d .exe;.bat;.vbs /f command in the command prompt window, then press Enter;

3, according to the system prompts the operation is successful, then enter the command gpupdate /force;


4, then the system will pop up the prompt "User policy update completed successfully", and then Close the command prompt window.

Copyright © Windows knowledge All Rights Reserved