title: How can we overwrite EXE files while users are running them?
body: <p><strong>Background:</strong></p>
  
  <p>Our companies internal user's run our .Net programs on 10-20 windows terminal servers. The 
  executables are all stored on a central file server running windows 2003. Some of the terminal servers are running windows 2003 and some are running 2008. </p>
  
  <p><strong>Issues:</strong></p>
  
  <p>When we release a new version of one of our programs we renamed the files that might be locked (EXE, DLL's, ect.), then we copy the newer version of the file to the proper location. This worked flawlessly until we started introducing windows 2008 terminal servers. Now if a user on one of the 2008 WTS is running the program, then the files are locked in such a way that they cannot even be renamed. </p>
  
  <p><strong>Questions</strong></p>
  
  <ul>
  <li><p>Is there a way to rename the locked
  file? </p></li>
  <li><p>Is there a way to disable this new feature of 2008 that is locking the EXE files while they are being run?</p></li>
  <li><p>Is there a better solution? </p></li>
  </ul>