To close all open files on a server you can run this little batch file, I use it all the time. Copy the text below into a text editor and save it as a BAT file. ex( CloseAll.bat ) The file can be run from the command line or called by a scheduler. Good luck.
for /f "skip=4 tokens=1" %%a in ('net files') do net files %%a /close
F.