Monday, May 21, 2012
   
Text Size

Run .EXE without getting security warning

To stop the XP Security warning when trying to run an .exe, use the following script to stop the prompting:

 '****Allow exe files to run without security warning           

WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\" , "Associations"           

WshShell.RegWrite "HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\Associations\LowRiskFileTypes" , ".exe" , "REG_SZ"            

Please Note: Append to Template.vbs to run this script.