Quantcast
Channel: File Services and Storage forum
Viewing all articles
Browse latest Browse all 16038

Changing executable on network share

$
0
0

Hi.

Picture this:
- A Windows 2012 R2 Server (call him SRV1) with a network share called "File_Share$"
- Some application with a .exe on that share (call it test.exe)
- So the application can be reached under \\SRV1\File_share$\test.exe
- A Windows 2012 R2 Server (call him SRV2) Remote Desktop Services Host.

Users on SRV2 run \\SRV1\File_share$\test.exe.
Need to deploy new version of the test.exe.
I rename old test.exe to testold.exe and copy new version to \\SRV1\File_share$\.
I can't just delete old version because user work with it (it is locked).
If all users close test.exe everithing fine.
But if at least one user has open test.exe, all other user will run old version of test.exe.

Does this behavior determined by Oplocks in SMB protocol?
And is there some other way to deploy new version of exe on network share, without user interrupting?

P.S. This issue is very similar to issue discribed in 

https://social.technet.microsoft.com/Forums/windowsserver/en-US/645c770e-f02e-437e-9c5e-f56a2d08f09c/executables-on-network-share-windows-2008-r2

but I think post marked as answer isn't actual solution.


Viewing all articles
Browse latest Browse all 16038

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>