At my work for People & Planet, I was setting up a new PC running Windows XP (shock, horror).
One of things that the new machine has to do is to run a DOS batch file over the network to set a few things up when a user logs in. However Windows XP displays a warning dialogue box telling you The publisher could not be verified. Are you sure you want to run this software?.
I searched around the net and found some information about the page at http://windowsxp.mvps.org/networkfile.htm and had to adapt the instructions a tad. Here's what I needed to do to make the batch file run without the annoying warning:- Click Start, Run and type INETCPL.CPL
- Click the Security tab.
- Select Local intranet and click Sites.
- Click Advanced.
- In Add this website to the zone: enter \\mysmbservername\ and click Add.
- Make sure Require server verification... is unchecked.
- Click Close, then OK, then OK to close the Internet Properties dialogue.
Obviously you need to replace \\mysmbservername above with the name of the Samba (Windows networking, CIFS) share name that your script is running from. So for example if your script is \\scripts\startup\startup.bat then enter \\scripts above.