ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Trouble with open files/folders on Windows file server?

    IT Discussion
    9
    21
    957
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • 1
      1337 @1337
      last edited by

      @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/

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller @1337
        last edited by

        @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 🙂

        DustinB3403D DashrenderD 2 Replies Last reply Reply Quote -1
        • DustinB3403D
          DustinB3403 @scottalanmiller
          last edited by

          @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.

          1 Reply Last reply Reply Quote 1
          • DashrenderD
            Dashrender @scottalanmiller
            last edited by

            @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.

            pmonchoP JaredBuschJ 1 3 Replies Last reply Reply Quote 0
            • pmonchoP
              pmoncho @Dashrender
              last edited by

              @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.

              1 Reply Last reply Reply Quote 1
              • JaredBuschJ
                JaredBusch @Dashrender
                last edited by

                @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.

                1 Reply Last reply Reply Quote 1
                • 1
                  1337 @Dashrender
                  last edited by 1337

                  @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.

                  1 DashrenderD 2 Replies Last reply Reply Quote 0
                  • 1
                    1337 @1337
                    last edited by 1337

                    @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.

                    1 Reply Last reply Reply Quote 0
                    • DashrenderD
                      Dashrender @1337
                      last edited by

                      @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?

                      1 Reply Last reply Reply Quote 0
                      • dbeatoD
                        dbeato
                        last edited by

                        By any chance are there any DFS shares on this File Servers?

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 2 / 2
                        • First post
                          Last post