"Security Warning" comes up when I run via another program

Posted by Alexander Bird on Super User See other posts from Super User or by Alexander Bird
Published on 2013-06-26T17:46:40Z Indexed on 2013/06/27 4:24 UTC
Read the original article Hit count: 279

If I execute vmmap from the command line it works fine. However, if I call some other program and pass vmmap as a paramater for this other program to start the execution, then I get this "security error" popup -- which makes it hard to automate scripts.

Security Error

In other words, I want to wrap vmmap via another program. In my case, I want to wrap vmmap via another program because whenever vmmap runs, it will bring a window up momentarily and then disappear. So I try passing vmmap as an argument to another program which will start the program "headlessly". I tried this program and this program, and in both cases I get the same popup which defeats the purpose of automation.

Why does this happen when the program isn't run directly? Does anyone know the internals of what this warning is? And, utlimately, is there a way to stop this from happening, but only for this instance? I don't want to disable this warning-system on my whole computer.

EDIT: I am using Windows Server 2003, and I don't necessarily need solutions for other platforms, but I would like to know what they are if they are platform-dependent solutions.

© Super User or respective owner

Related posts about automation

Related posts about windows-server-2003