Announcement

Collapse
No announcement yet.

Present Multiple DFS Shares In Network Folder

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Present Multiple DFS Shares In Network Folder

    Good Day,

    On our 2016 file servers we have a series of DFS shares, one for each department. We want to list these DFS shares in a networked drive so users can click on them as required. So when you open that network drive you will see something like:

    Accounts (Goes to \\domain\DFSshare1)
    Sales (Goes to \\domain\DFSshare2)
    IT (Goes to \\domain\DFSshare3)
    Marketing (Goes to \\domain\DFSshare4)
    etc.

    All shares at this level will be visible to all users, but security on each share will only allow authorized folks in. We have users who require access to multiple shares so mapping one share per department will not do. This lets us host the DFS shares over multiple servers with flexibility to move things around without changing what the user sees.

    I can't seem to find a way that will let me do this. Tried a shortcut which works on the server, but the W10 workstations do not see the UNC path.

    Any suggestions on how to accomplish this? Cheers.

  • #2
    How about mapping the DFS root? I've just tried it (Win 10 1803) and can see all the shares as shortcuts within it, and can access them.
    Of course I am assuming (ass-u-me) you have a single DFS root, and that you are very sure of your permissions!
    Tom Jones
    MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
    PhD, MSc, FIAP, MIITT
    IT Trainer / Consultant
    Ossian Ltd
    Scotland

    ** Remember to give credit where credit is due and leave reputation points where appropriate **

    Comment


    • #3
      This is actually pretty simple.

      Create your namespace, DFS Root Namespace, Create your namespace then add the folder target that you want.

      In your Example i would have the following

      \\YOURDOMAIN\Office as the Namespace

      Inside the DFS Name space you would then create the Accounts, Sales, IT, Marketing, etc. folders

      For each Namespace folder you create you then doubel click on it and add the reelvant target folder, \\SERVER\Accounts

      Comment


      • #4
        I use a shared folder on a server that lists batch files that map each DFS folder to a drive - Map-accounts.bat etc. Everyone gets the same drive letter for the same DFS folder, all paths to those folders are consistent - which means all linked content is always available.
        Our domain is named htlincs.local so, a DFS share named accounts will always be mapped to drive L:\ using the following:

        @echo off
        net use L: "\\htlincs.local\Accounts" /persistent:yes

        If you shouldn't have access to it, your (lack of) permissions prevent access. This works on all our clients - W7 and W10.
        A recent poll suggests that 6 out of 7 dwarfs are not happy

        Comment


        • #5
          How about mapping the DFS root? I've just tried it (Win 10 1803) and can see all the shares as shortcuts within it, and can access them.
          Of course I am assuming (ass-u-me) you have a single DFS root, and that you are very sure of your permissions!
          Hi Ossian.
          We have thirty other DFS folders and exposing the root will show them as well.
          I use a shared folder on a server that lists batch files that map each DFS folder to a drive - Map-accounts.bat etc. Everyone gets the same drive letter for the same DFS folder, all paths to those folders are consistent - which means all linked content is always available.
          Our domain is named htlincs.local so, a DFS share named accounts will always be mapped to drive L:\ using the following:
          Hi Blood. As I said in my OP, this will not work for me as we have multiple users who need access to multiple departments. It is what we have today and the files on that share are massive. We need to break it up into individual shares over multiple servers or we run out of space.
          Direction, from on high, has said they want all folders seen by all people with security restricting access.

          Comment


          • #6
            I don't understand - we have, for example, a DFS folder under the root named Accounts, but under accounts are DFS links to all the shared folders that the Accounts team requires access to. Staff simply double-click the .bat files that they need access to. Projects, Admin, Database etc. And under Projects, for example, there are many sub-folders all directing to individually shared project data folders distributed across a couple of servers.

            How many folders do you have under your DFS root? Admittedly, we are a small charity, with 2.25TB of live data + more archived data, so our first level folders are probably fewer than you have, but altogether they still provide access to 1.3 million files.

            [Edit]
            Have you tried suggesting a better way of presenting the data rather than providing access to a gazillion DFS shares?
            Last edited by Blood; 13th August 2018, 15:15.
            A recent poll suggests that 6 out of 7 dwarfs are not happy

            Comment


            • #7
              Originally posted by shadragon View Post
              Hi Ossian.
              We have thirty other DFS folders and exposing the root will show them as well.
              .
              OK, you didn't mention that in your original post, and clearly my psychic IT-Admin powers are on the blink.

              You can have multiple DFS roots if you want, allowing you to choose which you expose to the users

              Alternatively, have you looked at conditional targeting of Group Policy Preferences to expose the correct set of mapped drives?

              Tom Jones
              MCT, MCSE (2000:Security & 2003), MCSA:Security & Messaging, MCDBA, MCDST, MCITP(EA, EMA, SA, EDA, ES, CS), MCTS, MCP, Sec+
              PhD, MSc, FIAP, MIITT
              IT Trainer / Consultant
              Ossian Ltd
              Scotland

              ** Remember to give credit where credit is due and leave reputation points where appropriate **

              Comment


              • #8
                Hi Blood.

                This is for roughly 1.5TB of data spread over 20'ish folders locally with another 10'ish different folders overseas. We're a multi-national business with a lot of data shared back and forth between offices. Much of it automated. We want to amalgamate the DFS links for that departmental info into one directory for users to click onto the DFS share they need. One stop shopping with just one network drive for everyone.

                So if I use your example if you are are in the US and click on Accounts, you get the US based side of the DFS data. If in UK, you get the UK based DFS info.If in Japan, you get the local copy there, repeated for the 30'ish DFS shares we have. I mocked the attached image up as an example:

                From what you wrote, you have a series of BAT files that map specific folders to specific drive letters, correct? We'd run out of letters.

                Comment


                • #9
                  OK, I sorted it out. Was not as difficult as I thought, but I'd made a silly permissions error and that was causing me grief.

                  What you do is set up your shared drive as needed then in the folders create shortcuts to the DFS shares and call the shortcuts whatever you want. When someone clicks on them, it takes them to the \\Domain\share\directory automatically and puts that path in the Windows Explorer header. You can set up as many as you like in the folder and you're off to the races.

                  Thanks everyone.

                  Comment


                  • #10
                    Originally posted by shadragon View Post
                    OK, I sorted it out. Was not as difficult as I thought, but I'd made a silly permissions error and that was causing me grief.

                    What you do is set up your shared drive as needed then in the folders create shortcuts to the DFS shares and call the shortcuts whatever you want. When someone clicks on them, it takes them to the \\Domain\share\directory automatically and puts that path in the Windows Explorer header. You can set up as many as you like in the folder and you're off to the races.

                    Thanks everyone.
                    Isn't that pretty much what i said??

                    Comment

                    Working...
                    X