Trouble with open files/folders on Windows file server?
-
@Pete-S said in Trouble with open files/folders on Windows file server?:
@dave247 said in Trouble with open files/folders on Windows file server?:
There are no other network issues and this problem just seems to occur every so often. Sometimes its multiple times a day for a few days, then its all good for a week. I just wanted to know if there is some good solution I'm not aware of.
Reboot the server every night. Or force a restart of the file server service on it (aka server). It will release all locks. And people can still save their work if they have something open.
The above is a bit hardcore. If you want a softer approach you can hack some powershell.
This looks like a good start:
https://sid-500.com/2017/09/11/powershell-find-open-files-smb-share/ -
@Pete-S said in Trouble with open files/folders on Windows file server?:
@dave247 said in Trouble with open files/folders on Windows file server?:
There are no other network issues and this problem just seems to occur every so often. Sometimes its multiple times a day for a few days, then its all good for a week. I just wanted to know if there is some good solution I'm not aware of.
Reboot the server every night. Or force a restart of the file server service on it (aka server). It will release all locks. And people can still save their work if they have something open.
Kind of a good idea anyway
-
@scottalanmiller said in Trouble with open files/folders on Windows file server?:
@Pete-S said in Trouble with open files/folders on Windows file server?:
@dave247 said in Trouble with open files/folders on Windows file server?:
There are no other network issues and this problem just seems to occur every so often. Sometimes its multiple times a day for a few days, then its all good for a week. I just wanted to know if there is some good solution I'm not aware of.
Reboot the server every night. Or force a restart of the file server service on it (aka server). It will release all locks. And people can still save their work if they have something open.
Kind of a good idea anyway
No it's really not, that's like rebooting a server because VSS Writers are getting hung daily, find and fix the problem rather than covering up the symptoms.
-
@scottalanmiller said in Trouble with open files/folders on Windows file server?:
@Pete-S said in Trouble with open files/folders on Windows file server?:
@dave247 said in Trouble with open files/folders on Windows file server?:
There are no other network issues and this problem just seems to occur every so often. Sometimes its multiple times a day for a few days, then its all good for a week. I just wanted to know if there is some good solution I'm not aware of.
Reboot the server every night. Or force a restart of the file server service on it (aka server). It will release all locks. And people can still save their work if they have something open.
Kind of a good idea anyway
Ug, it might be on the surface - but if you have users who leave things open all the time, this would wreak havoc on them.
I'd be highly against this unless you several things in place - a policy fully backed by top brass at your company that all files are closed at the end of the business day. Not just - yeah, that sounds like a good idea - but will actively slap down any complainers against this policy.
-
@Dashrender said in Trouble with open files/folders on Windows file server?:
@scottalanmiller said in Trouble with open files/folders on Windows file server?:
@Pete-S said in Trouble with open files/folders on Windows file server?:
@dave247 said in Trouble with open files/folders on Windows file server?:
There are no other network issues and this problem just seems to occur every so often. Sometimes its multiple times a day for a few days, then its all good for a week. I just wanted to know if there is some good solution I'm not aware of.
Reboot the server every night. Or force a restart of the file server service on it (aka server). It will release all locks. And people can still save their work if they have something open.
Kind of a good idea anyway
Ug, it might be on the surface - but if you have users who leave things open all the time, this would wreak havoc on them.
I'd be highly against this unless you several things in place - a policy fully backed by top brass at your company that all files are closed at the end of the business day. Not just - yeah, that sounds like a good idea - but will actively slap down any complainers against this policy.
I find top brass being the major part of the problem with open files.
-
@Dashrender said in Trouble with open files/folders on Windows file server?:
but if you have users who leave things open all the time
That is their own damned fault. Stop defending your old boss for her horrible user practices.
-
@Dashrender said in Trouble with open files/folders on Windows file server?:
Ug, it might be on the surface - but if you have users who leave things open all the time, this would wreak havoc on them.
What kind of havoc are you thinking about?
Because nothing happens, except that they will not have an exclusive lock on the file anymore.So the user opens a file on the computer, makes some changes and doesn't save and doesn't shut down. Then he takes a long vacation.
You restart the server because you had to apply some patches..
After a couple of weeks the user gets back and he can save the file as usual. No data loss, unless his computer is rebooted without him having saved the file first.Smart software, not Office at least not the older ones, remembers the timestamp when it opens the file and then detects if the timestamp has changed after it was opened. Then tells the user that someone has modified the file, do you wish to overwrite or save under another name.
-
@Pete-S said in Trouble with open files/folders on Windows file server?:
@Dashrender said in Trouble with open files/folders on Windows file server?:
Ug, it might be on the surface - but if you have users who leave things open all the time, this would wreak havoc on them.
What kind of havoc are you thinking about?
Because nothing happens, except that they will not have an exclusive lock on the file anymore.So the user opens a file on the computer, makes some changes and doesn't save and doesn't shut down. Then he takes a long vacation.
You restart the server because you had to apply some patches..
After a couple of weeks the user gets back and he can save the file as usual. No data loss, unless his computer is rebooted without him having saved the file first.Smart software, not Office at least not the older ones, remembers the timestamp when it opens the file and then detects if the timestamp has changed after it was opened. Then tells the user that someone has modified the file, do you wish to overwrite or save under another name.
The reason why nothing happens is because common software reads whatever document you open into memory (RAM). And every time you save, it writes the data back to disk.
-
@Pete-S said in Trouble with open files/folders on Windows file server?:
@Dashrender said in Trouble with open files/folders on Windows file server?:
Ug, it might be on the surface - but if you have users who leave things open all the time, this would wreak havoc on them.
What kind of havoc are you thinking about?
Because nothing happens, except that they will not have an exclusive lock on the file anymore.So the user opens a file on the computer, makes some changes and doesn't save and doesn't shut down. Then he takes a long vacation.
You restart the server because you had to apply some patches..
After a couple of weeks the user gets back and he can save the file as usual. No data loss, unless his computer is rebooted without him having saved the file first.Smart software, not Office at least not the older ones, remembers the timestamp when it opens the file and then detects if the timestamp has changed after it was opened. Then tells the user that someone has modified the file, do you wish to overwrite or save under another name.
it's really not that clean, at least in my experience with Office 2016. Perhaps 2019 would do it better?
-
By any chance are there any DFS shares on this File Servers?