When running packages that contain executable and batch files you may sometimes come across an issue where you need to confirm that you want to open the file. This can cause an issue if you run the package unattended.
Obviously, this is a security precaution that is built into the many of the newer versions of windows.You have to authenticate sessions, run as administrator, and confirm that you want to open and run a file that could possibly pose a security risk. We know that we want this file to run so we can tell Windows that we do not want to be warned about this any longer. Many times simply adding your local host to the trusted sites in Internet Explorer will solve this issue. If it is a file being run from another network machine, you can add that machine’s IP address as well.
To edit the group policy go to Start > Run > Type in gpedit.msc to open the group policy editor. From there expand User Configuration > Administrative Templates > Windows Components > Attachment Manager. Next set –Inclusion list for low file types- to Enabled and enter the file types you don’t want to be warned about in the box (for instance, .bat or .exe).
Next time you run your packages you won’t be asked if you want to run the file, it will do it automatically!