+ Post New Thread
Results 1 to 10 of 10
Wireless Networks Thread, Sharing Folders in Technical; HI All, Im having a moment!! Is there a way of bulk sharing folders. I want to share pupils home ...
  1. #1

    Join Date
    Dec 2005
    Posts
    453
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0

    Sharing Folders

    HI All,

    Im having a moment!!

    Is there a way of bulk sharing folders. I want to share pupils home directories is there away i can do the whole lot at once or do i need to do them individually.

    Faza

  2. #2
    tosh74's Avatar
    Join Date
    Dec 2006
    Location
    Scotland
    Posts
    136
    Thank Post
    27
    Thanked 43 Times in 27 Posts
    Rep Power
    22
    you want rmtshare (google for rmtshare download) to create the shares and cusrmgr to bulk change the home folder path for the accounts

    HTH

  3. #3

    Join Date
    Dec 2005
    Posts
    453
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    But the folder already exists as it automatically creates the home directory for the user when you set the user up.

  4. #4
    tosh74's Avatar
    Join Date
    Dec 2006
    Location
    Scotland
    Posts
    136
    Thank Post
    27
    Thanked 43 Times in 27 Posts
    Rep Power
    22
    Quote Originally Posted by faza View Post
    But the folder already exists as it automatically creates the home directory for the user when you set the user up.
    rmtshare will then take the existing folder and share it (ie existing folder is e:\Home\Students\Year1\Studentname and share it as \\servername\studentname$ )

    Is this what you are looking to do ?

  5. #5

    Join Date
    Dec 2005
    Posts
    453
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Yes please

  6. #6

    Join Date
    Dec 2005
    Posts
    453
    Thank Post
    4
    Thanked 1 Time in 1 Post
    Rep Power
    0
    How do get ther correct permissions for the share such as the pupil owner full control

  7. #7
    tosh74's Avatar
    Join Date
    Dec 2006
    Location
    Scotland
    Posts
    136
    Thank Post
    27
    Thanked 43 Times in 27 Posts
    Rep Power
    22
    I'm assuming the home folder is the same as the student's logon name ?

    If so re-direct a DIR to a text file. Import the text file to Excel (put header name in and remove the columns you don't need) You now have a basic data file to with which you can create a mail merge with.

    Basically you will create a big batch file that will create the share and set the share rights for each student

    rmtshare syntax is here

    http://www.ss64.com/nt/rmtshare.html

  8. #8

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    9,881
    Thank Post
    1,316
    Thanked 1,738 Times in 1,087 Posts
    Blog Entries
    19
    Rep Power
    563
    After you have worked on the share permissions you should also work on the NTFS permissions.

    XCALCS is good for this.

  9. #9
    tosh74's Avatar
    Join Date
    Dec 2006
    Location
    Scotland
    Posts
    136
    Thank Post
    27
    Thanked 43 Times in 27 Posts
    Rep Power
    22
    Quote Originally Posted by GrumbleDook View Post
    After you have worked on the share permissions you should also work on the NTFS permissions.

    XCALCS is good for this.
    Good point GD. A gotcha of using xcalcs is if the users rights are not put in alphabetical order (ie System:F Admin:f User:F) then you may need to go through each folder's properties and allow the system to sort them out. I would suggest using the xcacls.vbs instead.

    http://support.microsoft.com/kb/825751

  10. #10

    Join Date
    Jan 2007
    Location
    Enfield, London
    Posts
    159
    Thank Post
    7
    Thanked 3 Times in 3 Posts
    Rep Power
    16
    Quote Originally Posted by faza View Post
    But the folder already exists as it automatically creates the home directory for the user when you set the user up.
    I think the whole idea with Windows 2000/3 Server is that you should be able to create the user folder and share it in one fell swoop. You have to define a root share high up enough so it covers all the user folders. That way it is then possible to do a map under root to only expose the required folder.

    However if you've already created the folders then you may need to do something like this
    Code:
    cd e:\Home\Students\Year1
    for /f %d in ('dir /ad /b') do cacls %d /e /t /g %d:f && net share %d$=e:\Home\Students\Year1\%d /grant:Everyone,full

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 0
    Last Post: 31st July 2007, 09:24 AM
  2. Sharing VISTA files - or not
    By paullong in forum Windows Vista
    Replies: 1
    Last Post: 6th March 2007, 11:31 PM
  3. sharing ai packages
    By goodhead in forum Windows
    Replies: 5
    Last Post: 2nd March 2007, 04:41 PM
  4. P2P File Sharing
    By Craig_W in forum Wireless Networks
    Replies: 12
    Last Post: 28th January 2007, 03:17 PM
  5. Sharing Technicians
    By GrumbleDook in forum General Chat
    Replies: 13
    Last Post: 9th May 2006, 01:51 PM

Thread Information

Users Browsing this Thread

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

Posting Permissions

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