Jump to content

Recommended Posts

Posted

Does anyone know how I can setup lots of user area shares quickly?

 

 

For instance

 

Jo Bloggs - Year 7

 

 

\\datastorageserver\user data$\year 7\06j-bloggs

 

would be her user area UNC path to say the N drive.

 

Is there a way of bulk creating user UNCs I.E.

 

\\datastorageserver\06j-bloggs$

 

This is so that our Linux File System can know by default where the user areas are on that server? It gets complicated if you need to specify \\server\share\year folder\user name folder\

 

Wes

Posted

mkdir in a batch file to create the folder i.e

 

mkdir d:\user data\year 7\username

 

Run on the server that you are creating them on then

 

net share username$=d:\user data\year 7\username /grant:everyone,f

 

I use excel to take a list of usernames in one column then in the next create the commands to make the directories then past it into a batch file.

 

Ben

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