The publisher could not be verified. Are you sure you want to run this software?

Solution 1:
That is an IE7 bug that’s been reported often recently (but I doubt MS would classify it as a bug rather than a feature). When executable is not in local computer it runs in intranet context. Fixing it might not be desired (since MS thought of it as a security hole and they know much better than me) so I’d say do one of these solutions at your own risk (and hopefully helps – I haven’t installed IE7):

1) Add \servershare to your trusted sites.

2) Set security for intranet sites to low.

3) Add your exe to exceptions list (God help developers- can you imagine adding each and every test executable to exception list!).

Solution 2:
Run gpedit.msc

Go to User Configuration >> Administrative Templates >> Windows Components >> Attachment Manager

Add “*.exe” to the “Inclusion list for moderate risk file types” setting.

“This policy setting allows you to configure the list of moderate risk file types. If the attachment is in the list of moderate risk file types and is from the restricted or Internet zone, Windows prompts the user before accessing the file. …”

In other words, this allows you to run an .exe from the Intranet zone without a prompt, but it will warn before running one from the Internet.