SMB Manage Open Files

F

Fishevpm

Hello, please help.

Windows Server 2016. Role File Server.

Smb Share, it contains apps.

Users runing apps by unc path.

\\server1\apps\1.exe

Apps inculde .exe and dll.

I need update apps 1.exe, but users did not close app.

Im runing powershell script

Get-SMBOpenFile | where {$_.Path –like "J:\apps"} | Close-SMBOpenFile -Force

script complete, but i dont complete update. "file opened another user"

If i Close open files in gui on server - sessions end normally.

is this some kind of feature? How can I end a session with a script? Thank You.

Continue reading...
 

Similar threads

B
Replies
0
Views
77
Brandon LeBlanc
B
D
  • Article
Replies
0
Views
5
David Weston, Vice President Enterprise and OS
D
B
Replies
0
Views
15
Brandon LeBlanc
B
A
Replies
0
Views
48
Amanda Langowski
A
B
Replies
0
Views
77
Brandon LeBlanc
B
Back
Top Bottom