+ Post New Thread
Results 1 to 5 of 5
Windows Thread, User shares on mass in Technical; After my sever problems last week (turns out it was all caused by the firmware on my scsii drives I'll ...
  1. #1
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    697
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    User shares on mass

    After my sever problems last week (turns out it was all caused by the firmware on my scsii drives I'll post details in my original post). I need to recreate my user home folder shares. My backup has restored all my data but not my shares so I was wondering if anyone has solution to this? some tool or script, free if at all possible.

  2. #2

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,610
    Thank Post
    746
    Thanked 1,706 Times in 1,519 Posts
    Rep Power
    437

    Re: User shares on mass

    Dump a text file of the usernames then open it in excel.

    In column B ass something like:

    ="net share "&A1&"$=d:\home\students\exams\2007\"&A1&" /grant:everyone,full"

    For username 05jbloggs this would create a home share called 05jbloggs$ on the folder d:\home\students\exams\2007\05jbloggs

    The alternative is to only share the root of the folder and change their home folders in active directory accordingly.

    \\server\homeshare$\05jbloggs

    This could be changed en masse using admodify or a similar tool.

    Ben

  3. #3

    GrumbleDook's Avatar
    Join Date
    Jul 2005
    Location
    Gosport, Hampshire
    Posts
    10,032
    Thank Post
    1,370
    Thanked 1,856 Times in 1,150 Posts
    Blog Entries
    19
    Rep Power
    609

    Re: User shares on mass

    I still like the old RMTSHARE command.

  4. #4
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    697
    Thank Post
    42
    Thanked 19 Times in 18 Posts
    Rep Power
    22

    Re: User shares on mass

    Thanks for the replies I have opted to use Net Share, one question when you have a folder that has two words ie New Folder where do you put the " " marks in the command

    Code:
    net share user$=d:\new folder\students\year2007\user /grant:everyone,full

  5. #5

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    13,610
    Thank Post
    746
    Thanked 1,706 Times in 1,519 Posts
    Rep Power
    437

    Re: User shares on mass

    "d:\new folder\students\year2007\user" I think.

    Ben



SHARE:
+ Post New Thread

Similar Threads

  1. How do you do user shares?
    By sidewinder in forum Windows
    Replies: 19
    Last Post: 9th February 2009, 03:56 PM
  2. Clear User accounts password attributes on mass.
    By tosca925 in forum How do you do....it?
    Replies: 2
    Last Post: 8th June 2007, 04:15 PM
  3. Moodle crashes on mass user upload
    By monkey_boy in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 24th April 2007, 06:41 PM
  4. Replies: 4
    Last Post: 12th December 2006, 06:33 PM
  5. User Areas - Shares!?!
    By wesleyw in forum How do you do....it?
    Replies: 7
    Last Post: 23rd August 2006, 02:07 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
  •