Thursday, September 09, 2010
   
Text Size

Search

hits.

purpleender

Rep

Gamerscore34062

ZoneUnderground

Disable Security Warning For File Types

To Disable Security warnings in XP for specific file types:

Dim MyHomePage

ExtensionsToExclude = ".exe,.bat"

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

'To Re-enable the Security Warnings:

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

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