Jump to content
EduGeek EdSec 2026 is Go! 27th Oct in Derby! Join us for a day of EdTech security focused talks, networking, and an evening social ×

Recommended Posts

Posted
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.
Posted

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

Posted

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

 

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...