Found this on searching on google: http://www.sitepoint.com/web-foundations/force-windows-delete-file/
native command on windows:
del /f file
or another program
Another solution could be to close all the users' connections to the machine hosting the executable file, then change the file. The file should not be used anymore.