+ Post New Thread
Results 1 to 2 of 2
Windows Thread, Script needed to Share Multiple Folders in Technical; Hi I've got a number of user folders (in one folder) and I need to share these out. Security permissions ...
  1. #1
    jgcracknell's Avatar
    Join Date
    Mar 2009
    Location
    Somewhere
    Posts
    93
    Thank Post
    5
    Thanked 1 Time in 1 Post
    Rep Power
    21

    Script needed to Share Multiple Folders

    Hi

    I've got a number of user folders (in one folder) and I need to share these out. Security permissions are set for only the owner to be able to access them.

    What I'd like to do is make sure the share is also hidden. Has anyone got a script that will do this for me please?


    Thanks in advance

    J.

    OS: Windows 2008 R2

  2. #2

    Join Date
    Nov 2007
    Location
    Rotherham
    Posts
    1,679
    Thank Post
    122
    Thanked 126 Times in 102 Posts
    Rep Power
    46
    Simply share the top level folder ending the share name with a $. That hides the share.
    Name the subfolders something usefull like the users username. For each user then simple add a line to their login script to map a drive to the folder.

    e.g.
    net use x: \\servername\sharename$\%username%



SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 26th October 2012, 03:15 PM
  2. Moving multiple folders
    By Haux in forum Windows
    Replies: 5
    Last Post: 9th August 2010, 10:12 AM
  3. Replies: 22
    Last Post: 15th June 2010, 09:16 AM
  4. Script to share multiple folders
    By originofsymmetry in forum Scripts
    Replies: 8
    Last Post: 26th August 2008, 12:11 AM
  5. Replies: 15
    Last Post: 19th September 2007, 11:46 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •