I was building a powershell script that is supposed to update a software from a network share. The software is installed on a Windows 7 x64-bit machine and requires that a lot of updates are installed quickly and simply.
The script itself works fine but for every .msp executed you get the message “Open File – Security Warning” prompting you to press Open.
After researching a bit I learned that this is caused by the Internet Options treating the serverpath as an internet location.
After changing the setting to “Enable (not secure)” I was able to run the script and install all the updates without interaction.
Next step is to add this to the script to enable and disable this to prevent the client from being vulnerable against malicious software.