We have an application hosted on a network drive that starts up whenever any user in our network logs in. Users can login from individual PCs, or from one of 4 terminal servers.
I'd like to update that application with a new .exe file, however can't because it is currently in use. It's locked even during hours we're closed because users typically lock their computers when they leave for the day instead of shutting them down.
Is there a way to force the application to be unlocked so I can replace it?
I've tried using Unlocker but it says no locking handle found. I've also tried simply renaming the file which has worked in the past for some files, but in this case it tells me the file is in use and cannot be renamed.
If you look at the active sessions on the server, you can see who has handles open to the share that it is on. If you kill those sessions, you can update the file.
You can also just unshare it (which will kill all remote handles on it immediately), do the update, and then share it out again.