May the file be corrupted or it has some problems when running this. U may check that again.
It may be that Windows is recognizing the UNC path as an Internet zone instead of an Intranet zone. You may need to add you domain for the server to the Intranet zone for proper detection as an internal location. It is an issue I am familiar with for opening files on DFS shares without prompting.