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

    Solved Best Practices: Drive Mapping

    IT Discussion
    best practices domain scripting active directory security security groups
    13
    35
    8.3k
    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.
    • gjacobseG
      gjacobse
      last edited by

      Drive mapping isn't difficult to do. But it should not be a chore to manage. I don't believe that there should be or even needs to be more than just a few scripts needed for log in. Using Net Use is pretty straight forward. But I am now searching for a better and practical way to manage both folder security and drive mapping. One that reduces human error (mine) and time needed to implement.

      Right now I have a few scripts at a clients, and I've sorted out the shares and drive assignments desired.

      :: Disconnect shares
      net use n: /delete
      net use m: /delete
      net use p: /delete
      net use q: /delete
      net use s: /delete
      net use x: /delete
      net use y: /delete
      net use z: /delete
      ::Connect required shares
      ::Uncomment as needed 
      net use n: \\dc1\share1
      net use x: \\dc1\share2
      net use z: \\dc1\share3
      ::net use y: \\dc1\share4
      net use s: \\dc1\share5
      ::net use q: \\dc1\share6
      
      J 1 Reply Last reply Reply Quote 1
      • hobbit666H
        hobbit666
        last edited by

        Will be keeping an eye on this, as we need to change our ways. Also i'm sure i've seen @scottalanmiller mention mapped drives is not the way to go any more. So will be nice to see what people suggest.

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

          @hobbit666 said:

          Will be keeping an eye on this, as we need to change our ways. Also i'm sure i've seen @scottalanmiller mention mapped drives is not the way to go any more. So will be nice to see what people suggest.

          It's true, I am very much of the opinion that while drive mapping is mostly a necessary evil at this point and can be widely eliminated with good planning and modern changes. No silver bullet to fix things overnight, most places need a long term migration and planning strategy to get off of them. But the time to evacuate them is now, before investing more and more in technical debt and exposing ourselves more and more to malware designed to leverage this architecture.

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

            Why not map those through the use of GPOs?

            As for permissions, if you use groups on the folders, then adding new people to those groups should work for that.

            1 Reply Last reply Reply Quote 2
            • J
              Jason Banned @gjacobse
              last edited by

              @gjacobse said:

              Drive mapping isn't difficult to do. But it should not be a chore to manage. I don't believe that there should be or even needs to be more than just a few scripts needed for log in. Using Net Use is pretty straight forward. But I am now searching for a better and practical way to manage both folder security and drive mapping. One that reduces human error (mine) and time needed to implement.

              Right now I have a few scripts at a clients, and I've sorted out the shares and drive assignments desired.

              :: Disconnect shares
              net use n: /delete
              net use m: /delete
              net use p: /delete
              net use q: /delete
              net use s: /delete
              net use x: /delete
              net use y: /delete
              net use z: /delete
              ::Connect required shares
              ::Uncomment as needed 
              net use n: \\dc1\share1
              net use x: \\dc1\share2
              net use z: \\dc1\share3
              ::net use y: \\dc1\share4
              net use s: \\dc1\share5
              ::net use q: \\dc1\share6
              

              Why are you using a Script when you can use GPP mapped drives? with item level targeted to apply it to the same group that gives them security access.. So it's one action.

              1 Reply Last reply Reply Quote 2
              • scottalanmillerS
                scottalanmiller
                last edited by

                Group Policy is definitely the way I'd go too, if it is available.

                gjacobseG 1 Reply Last reply Reply Quote 0
                • lhatsynotL
                  lhatsynot
                  last edited by

                  We just moved to group police for drive mappings. Took some trial and error to get it working the way we wanted but we got it.

                  I've never used SharePoint but I'm guessing that something like that could replace the need of mapped drives.

                  J 1 Reply Last reply Reply Quote 0
                  • brianlittlejohnB
                    brianlittlejohn
                    last edited by

                    I'm starting to test out sharepoint as well... Its taking a while to wrap my arms around it since it can do so many different things.

                    1 Reply Last reply Reply Quote 0
                    • J
                      Jason Banned @lhatsynot
                      last edited by

                      @lhatsynot said:

                      I've never used SharePoint but I'm guessing that something like that could replace the need of mapped drives.

                      We have sharepoint it kinda sucks.

                      1 Reply Last reply Reply Quote 0
                      • iroalI
                        iroal
                        last edited by

                        one of the main problem with Drive Mapping is Cryptowall.

                        Two months ago an user get this virus and encrypt all his 4 drives Mapping,fortunately I could recover all the files.

                        gjacobseG 1 Reply Last reply Reply Quote 1
                        • gjacobseG
                          gjacobse @iroal
                          last edited by

                          @iroal said:

                          one of the main problem with Drive Mapping is Cryptowall.

                          Two months ago an user get this virus and encrypt all his 4 drives Mapping,fortunately I could recover all the files.

                          Crypto-variants are a concern.. but if you need to have mapped drives,..

                          scottalanmillerS 1 Reply Last reply Reply Quote 1
                          • gjacobseG
                            gjacobse @scottalanmiller
                            last edited by

                            @scottalanmiller said:

                            Group Policy is definitely the way I'd go too, if it is available.

                            I can't say I dis/agree with you there. You set it up and deal out as needed.

                            But - and maybe inexperience here,.. but not have much success with enabling this. as I seemingly get the GPP incorrect.... which then causes issues with the client...

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jason Banned @gjacobse
                              last edited by Jason

                              @gjacobse said:

                              @scottalanmiller said:

                              But - and maybe inexperience here,.. but not have much success with enabling this. as I seemingly get the GPP incorrect.... which then causes issues with the client...

                              It's a pretty simple GPO it applies to users not computers.

                              gjacobseG 1 Reply Last reply Reply Quote 1
                              • scottalanmillerS
                                scottalanmiller @gjacobse
                                last edited by

                                @gjacobse said:

                                @iroal said:

                                one of the main problem with Drive Mapping is Cryptowall.

                                Two months ago an user get this virus and encrypt all his 4 drives Mapping,fortunately I could recover all the files.

                                Crypto-variants are a concern.. but if you need to have mapped drives,..

                                That's the question that needs to be asked. Do they need mapped drives?

                                dafyreD gjacobseG 3 Replies Last reply Reply Quote 0
                                • dafyreD
                                  dafyre @scottalanmiller
                                  last edited by

                                  @scottalanmiller said:

                                  @gjacobse said:

                                  @iroal said:

                                  one of the main problem with Drive Mapping is Cryptowall.

                                  Two months ago an user get this virus and encrypt all his 4 drives Mapping,fortunately I could recover all the files.

                                  Crypto-variants are a concern.. but if you need to have mapped drives,..

                                  That's the question that needs to be asked. Do they need mapped drives?

                                  I thought the newer crypto variants would actively scan the network?

                                  scottalanmillerS 1 Reply Last reply Reply Quote 1
                                  • gjacobseG
                                    gjacobse @scottalanmiller
                                    last edited by

                                    @scottalanmiller said:

                                    That's the question that needs to be asked. Do they need mapped drives?

                                    Yes, they have client files on the network ..

                                    \Server\share\clients\clientname~

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

                                      @dafyre said:

                                      @scottalanmiller said:

                                      @gjacobse said:

                                      @iroal said:

                                      one of the main problem with Drive Mapping is Cryptowall.

                                      Two months ago an user get this virus and encrypt all his 4 drives Mapping,fortunately I could recover all the files.

                                      Crypto-variants are a concern.. but if you need to have mapped drives,..

                                      That's the question that needs to be asked. Do they need mapped drives?

                                      I thought the newer crypto variants would actively scan the network?

                                      Not just mapped drives, but SMB shares themselves.

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

                                        @gjacobse said:

                                        @scottalanmiller said:

                                        That's the question that needs to be asked. Do they need mapped drives?

                                        Yes, they have client files on the network ..

                                        \Server\share\clients\clientname~

                                        You've answered that they have SMB shares, but not if they need them. Is it just there because "that's how it has always been done" or is there an actual functional reason for it?

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

                                          @scottalanmiller said:

                                          @gjacobse said:

                                          @scottalanmiller said:

                                          That's the question that needs to be asked. Do they need mapped drives?

                                          Yes, they have client files on the network ..

                                          \Server\share\clients\clientname~

                                          You've answered that they have SMB shares, but not if they need them. Is it just there because "that's how it has always been done" or is there an actual functional reason for it?

                                          This seems like an odd question. Not say it's not a good one - it just feels odd to me.

                                          And sadly I can't come up with a better way to perhaps ask it. But I'll try.

                                          As Scott mentioned, do you need SMB shares? Could you instead get away with SharePoint (free version) or OwnCloud, etc.

                                          For me, with our current Faxing solution, I need an SMB share for faxing, but I could set that share up as read only for users and read/write for a user I assign to the fax machine. Then as the admin, I can clean out the folder when needed.

                                          All other files of our could be saved in OwnCloud or Sharepoint.

                                          Question: Anyone using SP or OC - can you create links between documents in either/both of these solutions?

                                          1 Reply Last reply Reply Quote 0
                                          • gjacobseG
                                            gjacobse @scottalanmiller
                                            last edited by

                                            @scottalanmiller said:

                                            That's the question that needs to be asked. Do they need mapped drives?

                                            A resounding maybe

                                            They have files that could be on Sharepoint... Though they are likely to balk at the idea.

                                            They have files that (as far as I know) simply can't ... they are Quickbook client files.

                                            They owner refuses to use Outlook,.. and mail is via Google for all staff... so there is that issue too.

                                            Minion QueenM DashrenderD 2 Replies Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            • First post
                                              Last post