We have a Windows Server 2008 using Terminal Services. When users login, an executable on a network share starts up which contains some hotkeys and macros for various tasks they do.
Whenever I update the executable, I have to close all copies of the program in Task Manager for every single user before the new version of the executable will get launched. If I don't, launching the executable will open the old version, not the new version.
Is there a more efficient way to get Windows to open the new version of the executable instead of the old one?
Going through Task Manager and hitting End Task on every single session is extremely tedious, and it stops everyone's macros from working until they figure out they need to manually restart the program.
Instead of using task manager you can use taskkill.exe to terminate all instances: