Batch create home directories

T

Tony

I need to create multiple users in AD . I can do this
using CSVDE , and setup profile and home folder
enviroments .

However , is there a way of creating home folders and
assigning permissions ? For example ; Novell's uimport
creates users and home directories and assigns
permissions . This will be an ongoing process throughout
the year .
 
J

Jerold Schulman

I need to create multiple users in AD . I can do this
using CSVDE , and setup profile and home folder
enviroments .

However , is there a way of creating home folders and
assigning permissions ? For example ; Novell's uimport
creates users and home directories and assigns
permissions . This will be an ongoing process throughout
the year .
Assuming you turned off inheritance on the parent folder (c:\uesers),
in a batch you could

md c:\users\%newuservariable%
echo y| cacls c:\users\%newuservariable% /g ......

See tip 1556 in the 'Tips & Tricks' at http://www.jsiinc.com

Jerold Schulman
Windows: General MVP
JSI, Inc.
http://www.jsiinc.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top