-
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.
-
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
-
Re: User shares on mass
I still like the old RMTSHARE command.
-
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
-
Re: User shares on mass
"d:\new folder\students\year2007\user" I think.
Ben