im not sure what the registry key would be as im not sure what exactly that security window is called or whatever but there should be a registry key that will disable it and it will just be a case of disabling that in the registry first before you run the rest of your vbscript - assuming the user running / executing the script has administrator rights to the registry to be able to make the changes.
Main Topics
Browse All Topics





by: borgunitPosted on 2009-02-12 at 05:23:13ID: 23621608
It may depend on App. For example in Excel under TOOLS >> OPTIONS >> Security >> Macro Security you would need to change this option then the script can run without interruption.